kocoro-generative-ui SKILL.md skillB

kocoro-generative-ui from kocoro-lab/kocoro is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kocoro-lab/kocoro/kocoro-generative-ui@v1.0.3

Pins v1.0.3 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
kocoro-lab/kocoro
Path
internal/skills/bundled/skills/kocoro-generative-ui/SKILL.md
Versions recorded
4
Latest version
v1.0.3, committed Jul 20, 2026
First version recorded
May 26, 2026
Size
10,205 bytes
Repository stars
415
License
MIT

Generate interactive, inline HTML/SVG widgets (charts, diagrams, forms, dashboards, illustrations) that render in sandboxed iframes inside Kocoro Desktop chat. Use when the user asks to "visualize", "chart", "diagram", "explain visually", "show me", or when data is denser than a paragraph of prose.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Kocoro Generative UI

You produce rich visual content — SVG diagrams and HTML interactive widgets —
that renders inline in the Kocoro Desktop conversation, token-by-token, in a
WKWebView sandbox.

> **Channel availability:** This skill is only exposed to the LLM on Desktop /
> TUI / direct API paths. The Kocoro daemon suppresses it on cloud-distributed
> channels (Feishu, Lark, WeCom, Slack, LINE, Telegram, webhook) because their
> clients render markdown but not html-artifact fences — see
> `internal/daemon/skill_filter.go` (`desktopOnlySkills`).

## Output Contract

Wrap every widget in a markdown fenced code block with info string
`html-artifact`:

    ```html-artifact title="Q1 revenue" id=art_a1 mime=text/html
    <style>.bar{background:var(--color-background-info)}</style>
    <h2 class="sr-only">Bar chart of Q1 revenue across three regions</h2>
    <div style="position:relative;height:240px"><canvas id="c1"></canvas></div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.js"></script>
    <script>
      new Chart(document.getElementById('c1'), { /* ... */ });
    </script>
    ```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kocoro-lab/kocoro/kocoro-generative-ui@sha256:c9558557f97f6300

The line at the top of this page pins the label v1.0.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_aa62hiiq2qs452ak.svg)](https://markdownregistry.com/a/art_aa62hiiq2qs452ak)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 4 versions of this file, between May 26, 2026 and Jul 20, 2026, about one every 18 days.

versioncommittedcommitsizeaudit
v1.0.3 latest2026-07-20 fe6581a 10,205 BB view · diff
v1.0.32026-07-20 4caac8e 9,863 BB view · diff
v1.0.32026-06-29 39fee8f 9,804 BB view · diff
v1.0.32026-05-26 cd80084 9,861 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No script tag (matched: <script)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10205 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

kocoro-lab/kocoro · 415 stars · license MIT · pushed 2026-10-14 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_aa62hiiq2qs452ak
GET https://markdownregistry.com/api/v1/resolve?ref=kocoro-lab/kocoro/kocoro-generative-ui
GET https://markdownregistry.com/api/v1/blob/c9558557f97f63005f58d8ed1f6aebdf8f968526afd15792f28883e212f3dd95

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kocoro-lab/kocoro

AGENTS.md AGENTS.md file
kocoro-lab/kocoro · AGENTS.md
git:20260902.8ff9919 · audit A · 415 stars
CLAUDE.md CLAUDE.md file
kocoro-lab/kocoro · CLAUDE.md
git:20261014.9afd864 · audit A · 415 stars
CLAUDE.md@internal/migrate/claudecode/testdata/claude_home_basic CLAUDE.md file
kocoro-lab/kocoro · internal/migrate/claudecode/testdata/claude_home_basic/CLAUDE.md
git:20260514.57e7468 · audit B · 415 stars
dir-style SKILL.md skill
kocoro-lab/kocoro · internal/migrate/claudecode/testdata/claude_home_basic/skills/dir-style/SKILL.md · dir layout
git:20260514.57e7468 · audit B · 415 stars
algorithmic-art SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/algorithmic-art/SKILL.md · Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users…
git:20260313.0cda0f4 · audit B · 415 stars
brand-guidelines SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/brand-guidelines/SKILL.md · Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having…
git:20260313.0cda0f4 · audit A · 415 stars
canvas-design SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/canvas-design/SKILL.md · Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user…
git:20260313.0cda0f4 · audit A · 415 stars
claude-api SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/claude-api/SKILL.md · Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports…
git:20260313.0cda0f4 · audit A · 415 stars
doc-coauthoring SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/doc-coauthoring/SKILL.md · Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation…
git:20260313.0cda0f4 · audit A · 415 stars
frontend-design SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/frontend-design/SKILL.md · Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to…
git:20260313.0cda0f4 · audit A · 415 stars
internal-comms SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/internal-comms/SKILL.md · A set of resources to help me write all kinds of internal communications, using the formats that my company likes to…
git:20260313.0cda0f4 · audit A · 415 stars
kocoro SKILL.md skill
kocoro-lab/kocoro · internal/skills/bundled/skills/kocoro/SKILL.md · Inspect AND manage Kocoro platform state — agents, skills, MCP servers, schedules, permissions, config, rules…
git:20260804.119712d · audit A · 415 stars

Every file in kocoro-lab/kocoro

Browse by kind, by grade B, or by owner.