CodeScope Codebase Graph Analysis
QwenLM/qwen-code
Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.
Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.
$ npx skills add CopilotKit/OpenGenerativeUI --skill svg-diagrams -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install CopilotKit/OpenGenerativeUI svg-diagrams --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/CopilotKit/OpenGenerativeUI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/apps/agent/skills/svg-diagrams .claude/skills/svg-diagrams && 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 "svg-diagrams" agent skill from https://github.com/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagrams into .claude/skills/svg-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "svg-diagrams", 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/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagramsType 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 CopilotKit/OpenGenerativeUI --skill svg-diagrams -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install CopilotKit/OpenGenerativeUI svg-diagrams --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUI.git skills-src && mkdir -p .agents/skills && cp -r skills-src/apps/agent/skills/svg-diagrams .agents/skills/svg-diagrams && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "svg-diagrams" agent skill from https://github.com/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagrams into .agents/skills/svg-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "svg-diagrams", 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 CopilotKit/OpenGenerativeUI --skill svg-diagrams -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install CopilotKit/OpenGenerativeUI svg-diagrams --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUI.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/apps/agent/skills/svg-diagrams .cursor/skills/svg-diagrams && 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 "svg-diagrams" agent skill from https://github.com/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagrams into .cursor/skills/svg-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "svg-diagrams", 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/CopilotKit/OpenGenerativeUI.git --path apps/agent/skills/svg-diagrams--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 CopilotKit/OpenGenerativeUI --skill svg-diagrams -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install CopilotKit/OpenGenerativeUI svg-diagrams --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUI.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/apps/agent/skills/svg-diagrams .gemini/skills/svg-diagrams && 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 "svg-diagrams" agent skill from https://github.com/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagrams into .gemini/skills/svg-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "svg-diagrams", 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 CopilotKit/OpenGenerativeUI svg-diagramsInstalls 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 CopilotKit/OpenGenerativeUI --skill svg-diagrams -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUI.git skills-src && mkdir -p .github/skills && cp -r skills-src/apps/agent/skills/svg-diagrams .github/skills/svg-diagrams && 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 "svg-diagrams" agent skill from https://github.com/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagrams into .github/skills/svg-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "svg-diagrams", 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 CopilotKit/OpenGenerativeUI --skill svg-diagrams -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install CopilotKit/OpenGenerativeUI svg-diagrams --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/CopilotKit/OpenGenerativeUI.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/apps/agent/skills/svg-diagrams .opencode/skills/svg-diagrams && 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 "svg-diagrams" agent skill from https://github.com/CopilotKit/OpenGenerativeUI/tree/main/apps/agent/skills/svg-diagrams into .opencode/skills/svg-diagrams/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "svg-diagrams", 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.
svg-diagramsGenerating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.
SVG Diagrams is an agent skill from CopilotKit/OpenGenerativeUI. Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Diagrams. It works with JavaScript and TypeScript. The repository describes itself as: Open-Source Generative UI Framework. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f6e4388. 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 (its code samples are svg).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
w3.orgFrom 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.
SVG Diagrams loads about 3k tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 923 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 CopilotKit/OpenGenerativeUI at commit f6e4388, republished under its MIT licence (© CopilotKit). 923 words, ~3,000 tokens.
.claude/skills/svg-diagrams/SKILL.md (or your agent's skills folder).You can generate rich, inline SVG diagrams to visually explain concepts. Use this skill whenever a visual would help the user understand a system, process, architecture, or mechanism better than text alone.
Diagrams ship through the generateSandboxedUi tool: the SVG markup goes in the html parameter, where it streams to the user element by element. SVG presentation attributes (fill, stroke, font-size) carry all styling here — if a diagram needs CSS animation classes, declare them in the css parameter, never in a <style> block inside html. Static diagrams need no jsFunctions or jsExpressions.
Use this template as a starting point; add an accessible title/description:
<svg width="100%" viewBox="0 0 680 H" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5"
markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M2 1L8 5L2 9" fill="none" stroke="context-stroke"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</marker>
</defs>
<!-- Content here -->
</svg>width="100%" so it scales responsively.<html>, <head>, <body>, or DOCTYPE.font-family="system-ui, -apple-system, sans-serif" or inherit from host.text-anchor="middle" and dominant-baseline="central" for centered text in boxes.At 14px, each character ~ 8px wide. At 12px, each character ~ 7px wide.
rect_width = max(title_chars x 8, subtitle_chars x 7) + 48px padding.Use these semantic color sets that work in both modes:
Teal: fill="#E1F5EE" stroke="#0F6E56" text="#085041" (dark: fill="#085041" stroke="#5DCAA5" text="#9FE1CB")
Purple: fill="#EEEDFE" stroke="#534AB7" text="#3C3489" (dark: fill="#3C3489" stroke="#AFA9EC" text="#CECBF6")
Coral: fill="#FAECE7" stroke="#993C1D" text="#712B13" (dark: fill="#712B13" stroke="#F0997B" text="#F5C4B3")
Amber: fill="#FAEEDA" stroke="#854F0B" text="#633806" (dark: fill="#633806" stroke="#EF9F27" text="#FAC775")
Blue: fill="#E6F1FB" stroke="#185FA5" text="#0C447C" (dark: fill="#0C447C" stroke="#85B7EB" text="#B5D4F4")
Gray: fill="#F1EFE8" stroke="#5F5E5A" text="#444441" (dark: fill="#444441" stroke="#B4B2A9" text="#D3D1C7")
Red: fill="#FCEBEB" stroke="#A32D2D" text="#791F1F" (dark: fill="#791F1F" stroke="#F09595" text="#F7C1C1")
Green: fill="#EAF3DE" stroke="#3B6D11" text="#27500A" (dark: fill="#27500A" stroke="#97C459" text="#C0DD97")
Pink: fill="#FBEAF0" stroke="#993556" text="#72243E" (dark: fill="#72243E" stroke="#ED93B1" text="#F4C0D1")Color meaning, not sequence: Don't rainbow-cycle. Use 2-3 colors per diagram. Map colors to categories or physical properties (warm = heat/energy, cool = calm/cold, gray = structural/neutral).
If you're rendering inside a system that supports CSS variables, prefer:
var(--color-text-primary) for primary textvar(--color-text-secondary) for muted textvar(--color-border-tertiary) for light bordersrx="4" for subtle rounding, rx="8" for emphasized. rx="20" for large containers.fill="none" — SVG defaults fill to black, which turns paths into black blobs.<g>
<rect x="100" y="20" width="180" height="44" rx="8"
fill="#EEEDFE" stroke="#534AB7" stroke-width="0.5"/>
<text x="190" y="42" text-anchor="middle" dominant-baseline="central"
font-size="14" font-weight="500" fill="#3C3489">Node title</text>
</g><g>
<rect x="100" y="20" width="200" height="56" rx="8"
fill="#E6F1FB" stroke="#185FA5" stroke-width="0.5"/>
<text x="200" y="38" text-anchor="middle" dominant-baseline="central"
font-size="14" font-weight="500" fill="#0C447C">Title</text>
<text x="200" y="56" text-anchor="middle" dominant-baseline="central"
font-size="12" fill="#185FA5">Short subtitle</text>
</g><line x1="200" y1="76" x2="200" y2="120"
stroke="#534AB7" stroke-width="1.5" marker-end="url(#arrow)"/><line x1="200" y1="76" x2="200" y2="120"
stroke="#534AB7" stroke-width="1.5" stroke-dasharray="4 3"/><line x1="440" y1="100" x2="500" y2="130"
stroke="currentColor" stroke-width="0.5" stroke-dasharray="4 4" opacity="0.5"/>
<circle cx="440" cy="100" r="2" fill="currentColor" opacity="0.5"/>
<text x="506" y="134" font-size="12" fill="currentColor" opacity="0.7">Annotation text</text><rect x="80" y="40" width="520" height="300" rx="20"
fill="#E1F5EE" stroke="#0F6E56" stroke-width="0.5"/>
<text x="340" y="68" text-anchor="middle"
font-size="14" font-weight="500" fill="#085041">Container name</text>When: Sequential processes, decision trees, pipelines. Layout: Top-to-bottom or left-to-right. Single direction only. Rules:
When: Containment matters — things inside other things (architecture, org charts, system components). Layout: Nested rectangles. Outer = container, inner = regions. Rules:
When: Building intuition. "How does X actually work?" Layout: Freeform — follows the subject's natural geometry. Rules:
(char_count x 8) + 48 < rect_width for 14px text.<path> connectors have fill="none".For complex topics, use multiple smaller SVGs instead of one dense one:
<svg width="100%" viewBox="0 0 680 288" xmlns="http://www.w3.org/2000/svg">
<defs>
<marker id="arrow" viewBox="0 0 10 10" refX="8" refY="5"
markerWidth="6" markerHeight="6" orient="auto-start-reverse">
<path d="M2 1L8 5L2 9" fill="none" stroke="context-stroke"
stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
</marker>
</defs>
<!-- Step 1 -->
<rect x="230" y="20" width="220" height="56" rx="8"
fill="#E1F5EE" stroke="#0F6E56" stroke-width="0.5"/>
<text x="340" y="38" text-anchor="middle" dominant-baseline="central"
font-size="14" font-weight="500" fill="#085041">User request</text>
<text x="340" y="56" text-anchor="middle" dominant-baseline="central"
font-size="12" fill="#0F6E56">HTTP POST /api/data</text>
<!-- Arrow 1->2 -->
<line x1="340" y1="76" x2="340" y2="100" stroke="#534AB7"
stroke-width="1.5" marker-end="url(#arrow)"/>
<!-- Step 2 -->
<rect x="230" y="106" width="220" height="56" rx="8"
fill="#EEEDFE" stroke="#534AB7" stroke-width="0.5"/>
<text x="340" y="124" text-anchor="middle" dominant-baseline="central"
font-size="14" font-weight="500" fill="#3C3489">Server processing</text>
<text x="340" y="142" text-anchor="middle" dominant-baseline="central"
font-size="12" fill="#534AB7">Validate and transform</text>
<!-- Arrow 2->3 -->
<line x1="340" y1="162" x2="340" y2="186" stroke="#854F0B"
stroke-width="1.5" marker-end="url(#arrow)"/>
<!-- Step 3 -->
<rect x="230" y="192" width="220" height="56" rx="8"
fill="#FAEEDA" stroke="#854F0B" stroke-width="0.5"/>
<text x="340" y="210" text-anchor="middle" dominant-baseline="central"
font-size="14" font-weight="500" fill="#633806">Database write</text>
<text x="340" y="228" text-anchor="middle" dominant-baseline="central"
font-size="12" fill="#854F0B">INSERT into table</text>
</svg>Use a diagram when it improves understanding; plain text and native components are also valid answers. No mandatory planning or narration sequence is required. Use headings and concise explanations inside multi-section answers when useful. Provide an SVG title/description or adjacent textual equivalent. Keep text readable at narrow widths; simplify or reflow dense diagrams instead of shrinking labels. Do not invent data. Label illustrative quantities and show units and sources. Use keyboard-operable HTML controls for interactions, and honor reduced motion.
© CopilotKit, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in apps/agent/skills/svg-diagrams of CopilotKit/OpenGenerativeUI.
Open the folder on GitHubat commit f6e4388
SVG Diagrams 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 |
|---|---|---|---|---|---|---|
| SVG Diagrams this skillCopilotKit/OpenGenerativeUI | 2.1k | — | ~3k | Automated safety check: Pass | MIT | |
| CodeScope Codebase Graph AnalysisQwenLM/qwen-code | 28k | 1 repos | ~9.3k | Automated safety check: Pass | Apache-2.0 | |
| Code To Chartrongxinzy/RongxinAI | 154 | — | ~596 | Automated safety check: Pass | MIT | |
| Code Flow Visualizerwentorai/research-plugins | 298 | 1 repos | ~1.9k | Automated safety check: Pass | MIT | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 4 repos | ~1.1k | Automated safety check: Pass | MIT | |
| Install Anti-Slop Oxlint Rulesdmmulroy/anti-slop | 5.4k | — | ~2.2k | Automated safety check: Pass | MIT |
QwenLM/qwen-code
Answers questions about code structure, history, bugs and PR risk using a CodeScope knowledge graph and semantic index built from the repository.
rongxinzy/RongxinAI
解析代码仓库的 import/依赖关系,自动生成架构图、流程图和组织架构图,输出 Mermaid 文本或 SVG 图片。支持 Python、JavaScript、TypeScript、Go 和 Java 项目。当用户需要可视化代码结构、分析模块依赖、生成架构文档,或提及“代码架构图”、“依赖关系图”、“流程图”、“组织架构图”、“Mermaid 图”等关键词时触发。
wentorai/research-plugins
Convert Python, JavaScript, and TypeScript functions into Mermaid flowcharts
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
dmmulroy/anti-slop
Installs, updates or migrates the vendored anti-slop Oxlint plugin in a repository, keeping local rule changes and the plugin's license and provenance files.
teambit/bit
Generate comprehensive release notes for Bit from git commits and pull requests.
CopilotKit/OpenGenerativeUI
Build responsive, accessible calculators, comparisons, charts, and simulations with the sandbox contract.
CopilotKit/OpenGenerativeUI
Choose text, native components, or a custom interactive answer for understanding, comparing, and making tools.
Works with
Categories
Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts. SVG Diagrams is an agent skill from CopilotKit/OpenGenerativeUI. Generating rich inline SVG diagrams to visually explain systems, processes, architectures, and abstract concepts.
SVG Diagrams fits situations like: tasks that involve Diagrams.
Run `npx skills add CopilotKit/OpenGenerativeUI --skill svg-diagrams -a claude-code`. Or copy the skill folder (apps/agent/skills/svg-diagrams in CopilotKit/OpenGenerativeUI) into .claude/skills/svg-diagrams in your project. Claude Code loads it when a task matches its description.
Run `npx skills add CopilotKit/OpenGenerativeUI --skill svg-diagrams -a codex`. Or copy the skill folder (apps/agent/skills/svg-diagrams in CopilotKit/OpenGenerativeUI) into .agents/skills/svg-diagrams 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 CopilotKit/OpenGenerativeUI --skill svg-diagrams -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/svg-diagrams, .gemini/skills/svg-diagrams, .github/skills/svg-diagrams and .opencode/skills/svg-diagrams in your project.
SKILL.md names no scripts, command-line tools or credentials: SVG Diagrams is instructions for the agent only.
SKILL.md names 1 domain. In commands or code: w3.org; the agent is likely to contact it when it follows the instructions. 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.
SVG Diagrams is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with SVG Diagrams: CodeScope Codebase Graph Analysis (QwenLM/qwen-code, 28k stars), Code To Chart (rongxinzy/RongxinAI, 154 stars), Code Flow Visualizer (wentorai/research-plugins, 298 stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
CopilotKit (a GitHub organization) maintains it in CopilotKit/OpenGenerativeUI, which has 2,099 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.
Source: CopilotKit/OpenGenerativeUI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.