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.
mdr add kocoro-lab/kocoro/kocoro-generative-ui@v1.0.3Pins 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
mdr add kocoro-lab/kocoro/kocoro-generative-ui@sha256:c9558557f97f6300The 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0.3 latest | 2026-07-20 | fe6581a | 10,205 B | B | view · diff |
| v1.0.3 | 2026-07-20 | 4caac8e | 9,863 B | B | view · diff |
| v1.0.3 | 2026-06-29 | 39fee8f | 9,804 B | B | view · diff |
| v1.0.3 | 2026-05-26 | cd80084 | 9,861 B | B | view |
Audit of the latest version
- 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
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.