Architecture Map
almendili/skills
Build or update an interactive isometric map of a repository's architecture — buildings sized by real measurements, neighborhoods by subsystem, animated flows tracing actual call paths, and a drift…
Generate interactive, inline HTML/SVG widgets (charts, diagrams, forms, dashboards, illustrations) that render in sandboxed iframes inside Kocoro Desktop chat.
$ npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Kocoro-lab/Kocoro kocoro-generative-ui --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Kocoro-lab/Kocoro.git skills-src && mkdir -p .claude/skills && cp -r skills-src/internal/skills/bundled/skills/kocoro-generative-ui .claude/skills/kocoro-generative-ui && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "kocoro-generative-ui" agent skill from https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-ui into .claude/skills/kocoro-generative-ui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kocoro-generative-ui", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-uiType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Kocoro-lab/Kocoro kocoro-generative-ui --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kocoro-lab/Kocoro.git skills-src && mkdir -p .agents/skills && cp -r skills-src/internal/skills/bundled/skills/kocoro-generative-ui .agents/skills/kocoro-generative-ui && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "kocoro-generative-ui" agent skill from https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-ui into .agents/skills/kocoro-generative-ui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kocoro-generative-ui", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Kocoro-lab/Kocoro kocoro-generative-ui --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kocoro-lab/Kocoro.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/internal/skills/bundled/skills/kocoro-generative-ui .cursor/skills/kocoro-generative-ui && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "kocoro-generative-ui" agent skill from https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-ui into .cursor/skills/kocoro-generative-ui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kocoro-generative-ui", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Kocoro-lab/Kocoro.git --path internal/skills/bundled/skills/kocoro-generative-ui--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Kocoro-lab/Kocoro kocoro-generative-ui --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kocoro-lab/Kocoro.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/internal/skills/bundled/skills/kocoro-generative-ui .gemini/skills/kocoro-generative-ui && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "kocoro-generative-ui" agent skill from https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-ui into .gemini/skills/kocoro-generative-ui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kocoro-generative-ui", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Kocoro-lab/Kocoro kocoro-generative-uiInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Kocoro-lab/Kocoro.git skills-src && mkdir -p .github/skills && cp -r skills-src/internal/skills/bundled/skills/kocoro-generative-ui .github/skills/kocoro-generative-ui && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "kocoro-generative-ui" agent skill from https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-ui into .github/skills/kocoro-generative-ui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kocoro-generative-ui", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Kocoro-lab/Kocoro kocoro-generative-ui --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Kocoro-lab/Kocoro.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/internal/skills/bundled/skills/kocoro-generative-ui .opencode/skills/kocoro-generative-ui && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "kocoro-generative-ui" agent skill from https://github.com/Kocoro-lab/Kocoro/tree/main/internal/skills/bundled/skills/kocoro-generative-ui into .opencode/skills/kocoro-generative-ui/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "kocoro-generative-ui", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
kocoro-generative-uiGenerate interactive, inline HTML/SVG widgets (charts, diagrams, forms, dashboards, illustrations) that render in sandboxed iframes inside Kocoro Desktop chat.
Kocoro Generative UI is an agent skill from Kocoro-lab/Kocoro. 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.
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/charts.md`, `references/diagrams.md` and `references/maps.md`).
It sits in Frontend & Design, covering Diagrams. The repository describes itself as: A Mac-native AI agent with memory, local computer access, browser control, IM channels, and MCP-native integrations. Built on Shannon. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 2d5a221. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
cdnjs.cloudflare.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Kocoro Generative UI loads about 2.5k tokens when it runs, and up to ~17k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 1,159 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Kocoro-lab/Kocoro at commit 2d5a221, republished under its MIT licence (© Kocoro-lab). 1,159 words, ~2,535 tokens.
.claude/skills/kocoro-generative-ui/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.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).
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>
```title — required; shown to the user and used as export filename stemid — optional; if absent, host generates a UUIDmime — text/html (default) or image/svg+xmltheme — auto (default), light, or dark<!DOCTYPE>, <html>, <head>,
<body> — the host wraps them.<code>```html-artifact</code>. This prevents
your example from being captured as a real artifact.Output streams token-by-token. Structure code so useful content appears early and the script tag last:
<style> (short) → content HTML → <script> last. Scripts execute
after the fence closes, not during streaming.<defs> (markers) → visual elements.<!-- HTML comments --> or /* CSS comments */. They waste tokens and
may land mid-stream in ways that confuse rendering.External scripts, styles, fonts, images, and fetch / XMLHttpRequest / d3.json calls may reach ONLY these four hosts:
cdnjs.cloudflare.comesm.shcdn.jsdelivr.netunpkg.comAny other origin is blocked by CSP and the request silently fails. You cannot
call arbitrary external APIs, your own backend, raw.githubusercontent.com,
or anything else — only static assets from these four CDNs. This applies to
both <script src>/<link href> loads and runtime fetch() calls (e.g. D3
topology JSON from jsdelivr is fine; fetching a weather API is not).
color: #333.Use these, not hardcoded hex:
--color-background-primary (white/near-black),
--color-background-secondary (surfaces), --color-background-tertiary
(page bg), --color-background-info, --color-background-danger,
--color-background-success, --color-background-warning--color-text-primary, --color-text-secondary,
--color-text-tertiary, --color-text-info, --color-text-danger,
--color-text-success, --color-text-warning--color-border-tertiary (0.08α, default),
--color-border-secondary (0.16α, hover), --color-border-primary (0.24α),
semantic -info/-danger/-success/-warning--font-sans (SF Pro), --font-serif (New York, rare editorial
use), --font-mono (SF Mono)--border-radius-md (8px), --border-radius-lg (12px, preferred),
--border-radius-xl (16px)var(--font-sans). Headings: h1 22px, h2 18px, h3 16px —
all font-weight: 500. Body: 16px, weight 400, line-height 1.7.code style, not bold.0.5px solid var(--color-border-tertiary) (upgrade to -secondary
on hover).var(--border-radius-md) for most elements, -lg for cards.input, select, textarea, button, range input) are
pre-styled — write bare tags, override only when necessary.display: block; width: 100%. Start with your content
directly; no wrapper div needed. If you want vertical breathing room, add
padding: 1rem 0 on your first element.position: fixed — the host sizes the iframe to content height,
so fixed positioning collapses it. For modal mockups, wrap everything in a
normal-flow faux-viewport: <div style="min-height: 400px; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center;"> and put the modal inside.Classes: c-blue, c-teal, c-coral, c-pink, c-purple, c-green,
c-amber, c-red, c-gray. Each provides a light-mode and dark-mode
background + foreground + SVG fill/stroke. Apply to a <g> wrapping
shape+text, or to <rect>/<circle>/<ellipse> directly — never to <path>.
Assignment rules:
purple, teal, coral, pink for general diagram categories.
Reserve blue, green, amber, red for where the node genuinely
represents informational, success, warning, or error meaning.gray for neutral/structural nodes.Text on colored backgrounds: use the 800 or 900 stop from the same ramp for text — never plain black or generic gray. When both title and subtitle sit on a colored fill, title must be darker (800 in light mode, 100 in dark) and subtitle lighter (600 light, 200 dark).
When the user asks for specific output types, read the relevant reference
file via the file_read tool:
references/charts.md —
Chart.js patterns, legends, number formattingreferences/diagrams.md +
references/svg-setup.mdreferences/diagrams.mdreferences/ui-components.mdreferences/maps.mdThis skill is visualization-only. It does not search the web, call external APIs, or retrieve live data. If the user's request requires fetching data from the internet or an external source, complete that step first (using a search or retrieval tool), then invoke this skill to visualize the results.
position: fixed<!-- HTML comments --> / /* CSS comments */code style for identifiers)display: none sections during streaming (hidden content streams
invisibly; show all stacked)<h2 class="sr-only">…</h2>.<svg role="img"> with <title> and <desc> as the
first two children.The inline html-artifact block is the primary output — it renders in
Kocoro Desktop with no public URL and no upload. Use it whenever the user's
goal is just "show me".
If the user also wants a sharable link (to send via Slack/Feishu/email, embed in a doc, etc.), you may additionally:
file_write to save the same HTML body to a temp path
(e.g. /tmp/<short-id>.html).publish_to_web with a specific purpose describing the recipient and
channel (e.g. "send revenue chart link to user via Slack").Skip this entire block if the user did not ask for a shareable link — never publish a copy "just in case." Public URLs cannot be deleted.
© Kocoro-lab, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 5 other files (references) in internal/skills/bundled/skills/kocoro-generative-ui of Kocoro-lab/Kocoro.
Open the folder on GitHubat commit 2d5a221
Kocoro Generative UI next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Kocoro Generative UI this skillKocoro-lab/Kocoro | 414 | — | ~2.5k | Automated safety check: Pass | MIT | |
| Architecture Mapalmendili/skills | 382 | 1 repos | ~2.3k | Automated safety check: Pass | None | |
| Clay Sketchchadbyte/clay | 400 | — | ~2.5k | Automated safety check: Pass | AGPL-3.0 | |
| HTML Artifactsdogum/html-artifacts | 150 | — | ~2.1k | Automated safety check: Pass | Apache-2.0 | |
| Visualizedisplay-dev/visualize | 138 | — | ~7.4k | Automated safety check: Pass | MIT | |
| SVG UI Templatesxjtulyc/MedgeClaw | 617 | 1 repos | ~522 | Automated safety check: Pass | None |
almendili/skills
Build or update an interactive isometric map of a repository's architecture — buildings sized by real measurements, neighborhoods by subsystem, animated flows tracing actual call paths, and a drift…
chadbyte/clay
Draw and revise UI wireframes directly in Clay chat with the built-in clay-sketch renderer.
dogum/html-artifacts
Produce a self-contained HTML artifact instead of a markdown document when the content benefits from spatial layout, color, real diagrams, interactivity, or a round-trip editor.
display-dev/visualize
Generate beautiful, on-brand HTML artifacts — reports, diagrams, diff reviews, slide decks, plans, recaps, dashboards.
xjtulyc/MedgeClaw
Generate professional SVG UI panels for structured information display.
hanamizuki/solopreneur
Create an interactive HTML preview of any proposal, plan, idea, doc, brief, or spec and land it in the browsable local Preview Library by default (opens under file:// with a catalog sidebar and…
Kocoro-lab/Kocoro
Build apps with the Claude API or Anthropic SDK. An agent skill from Kocoro-lab/Kocoro.
Kocoro-lab/Kocoro
Inspect AND manage Kocoro platform state — agents, skills, MCP servers, schedules, permissions, config, rules.
Kocoro-lab/Kocoro
Analyze PDF files attached by the user. An agent skill from Kocoro-lab/Kocoro.
Categories
Generate interactive, inline HTML/SVG widgets (charts, diagrams, forms, dashboards, illustrations) that render in sandboxed iframes inside Kocoro Desktop chat. Kocoro Generative UI is an agent skill from Kocoro-lab/Kocoro. Generate interactive, inline HTML/SVG widgets (charts, diagrams, forms, dashboards, illustrations) that render in sandboxed iframes inside Kocoro Desktop chat.
Kocoro Generative UI fits situations like: the user asks to visualize; explain visually; data is denser than a paragraph of prose.
Run `npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a claude-code`. Or copy the skill folder (internal/skills/bundled/skills/kocoro-generative-ui in Kocoro-lab/Kocoro) into .claude/skills/kocoro-generative-ui in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a codex`. Or copy the skill folder (internal/skills/bundled/skills/kocoro-generative-ui in Kocoro-lab/Kocoro) into .agents/skills/kocoro-generative-ui in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Kocoro-lab/Kocoro --skill kocoro-generative-ui -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kocoro-generative-ui, .gemini/skills/kocoro-generative-ui, .github/skills/kocoro-generative-ui and .opencode/skills/kocoro-generative-ui in your project.
SKILL.md names no scripts, command-line tools or credentials: Kocoro Generative UI is instructions for the agent only.
SKILL.md names 1 domain. As links in the text: cdnjs.cloudflare.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Kocoro Generative UI is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 15k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Kocoro Generative UI: Architecture Map (almendili/skills, 382 stars), Clay Sketch (chadbyte/clay, 400 stars), HTML Artifacts (dogum/html-artifacts, 150 stars) and Visualize (display-dev/visualize, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Kocoro-lab (a GitHub organization) maintains it in Kocoro-lab/Kocoro, which has 414 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on September 5, 2026.
Source: Kocoro-lab/Kocoro on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.