Not in the top 1,000 by GitHub stars
bassnova42/arch-diagram-skill
RokoAI arch-diagram: a Claude Code & Codex skill that turns any repo or article into an animated architecture diagram (HTML / PNG / MP4 / GIF / Mermaid) with a live trace log
History
Review weekly changes to SKILL.md before updating. Dates mark the weeks in which we observed each version; checks apply to the recorded commits.
View weekly changes
skills/arch-diagram/SKILL.md
Week of Nov 2, 2026 · +0 / −0 lines
Before Not checked yet → After Network or broad shell
770de813ff54 → 879ca7fa503a
Diff text is unavailable under the recorded licenses. Line counts and the GitHub link remain available.
Week of Oct 26, 2026 · Line counts unavailable
Before Not checked yet → After Not checked yet
First observation → 770de813ff54
No earlier version was observed for comparison.
Verified commit 879ca7fa503a64ab46b5bc77d2062ded32fadc84
git clone --filter=blob:none --no-checkout https://github.com/bassnova42/arch-diagram-skill.git .hotskills/bassnova42-arch-diagram-skill && git -C .hotskills/bassnova42-arch-diagram-skill checkout --detach 879ca7fa503a64ab46b5bc77d2062ded32fadc84
# Copy each selected skill directory from .hotskills/bassnova42-arch-diagram-skill into .claude/skills/<skill-name>/Heat
7.0- Star growth, last 7 daysNot available
- Star growth, last 24 hoursNot available
- Rank movement, last 7 daysNot available
- Commits, last 30 daysNot available
- Accounts asking about it through MCP, last 7 daysNot available
- Hot votes this weekNot available
Heat never changes the order by stars, and sponsorship never touches it. How heat works
Stars over time
30-day change not yet available: not enough history.
Individual skills in this repository
- arch-diagram
skills/arch-diagram
How it works
arch-diagram
When your agent uses it
Turn any source — a GitHub repo, a technical article or blog URL, a PDF, a local project folder, or pasted notes — into a dense dark "terminal blueprint" architecture diagram with a structure fitted to the content, colors by element kind and typed animated wires. Outputs an interactive HTML page plus, on request, a PNG image, an MP4 video of any length, an animated GIF, or an editable Mermaid flowchart. Use when the user says 架构图 / 画架构 / 系统架构 / 流程图 / 画一下这个仓库 / 这篇文章画成图 / 输出成图片 / 输出成视频 / 动图 / mermaid / architecture diagram / system diagram / draw how X works, gives a repo or article and wants it visualized, asks to turn an existing diagram into an image, video, GIF or Mermaid, or runs /arch-diagram.
What it loads into context
Frontmatter
195 tokensAlways available to the agent
SKILL.md
3,335 tokensWhen the skill is activated
Reference documents
2,369 tokensLoaded on request
Token counts are estimates. Scripts run separately; they are not counted as reference context.
The playbook
- 1. Get the source
- 2. Choose the structure from the content
- 3. Lay out
- 4. Build → check → look → fix
- 5. Deliver
- 6. Output formats
- Editing an existing diagram
Scripts executed separately
assets/engine.jsscripts/build.mjsscripts/check.mjsscripts/export.mjsscripts/lib.mjs
Files
../../.claude-plugin/marketplace.jsonasset375 bytes../../.claude-plugin/plugin.jsonasset535 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesSKILL.mdcore13,045 bytesassets/engine.jsruns29,180 bytesassets/style.cssasset6,601 bytesassets/template.htmlasset311 bytesexamples/elephant-goldfish.jsonasset9,267 bytesexamples/plausible.jsonasset8,672 bytesexamples/rea.jsonasset9,421 bytesreferences/spec.mddoc6,907 bytesreferences/style.mddoc1,344 bytesscripts/build.mjsruns2,578 bytesscripts/check.mjsruns1,357 bytesscripts/export.mjsruns12,025 bytesscripts/lib.mjsruns2,909 bytes
Read SKILL.md
# arch-diagram
This skill reads a source, models its architecture as a JSON spec, and renders the spec with a fixed engine. The engine guarantees the look; your job is to get the content right and lay it out cleanly.
This skill works in Claude Code, Codex and other agents that load `SKILL.md` skills. Paths below use `$SK` for this skill's base directory: the folder this `SKILL.md` is in, e.g. `~/.claude/skills/arch-diagram`, `~/.codex/skills/arch-diagram`, or the `skills/arch-diagram` folder of an installed plugin. Write the full path in commands.
Requirements: Node ≥ 18 and Chrome, Chromium or Edge (set `CHROME=/path` when it is somewhere unusual). `ffmpeg` is needed only for MP4 and GIF output.
- `scripts/build.mjs <spec.json> <out.html>`: validates ids and anchors, then inlines everything into one HTML file
- `scripts/export.mjs <out.html> <out.png|.mp4|.gif|.mmd|.md> … [--seconds N] [--scale K]`: exports a built diagram to other formats. See §6
- `scripts/check.mjs <out.html> [shot.png]`: headless Chrome self-check plus a screenshot. Exit code 1 means there are layout issues
- `references/spec.md`: the complete spec schema. **Read it before writing a spec.**
- `references/style.md`: the visual style, for reference only. The engine already implements it
- `examples/`: `rea.json` (layered system read from a repo: caller → entry → core group → providers → shared base, typed `flows`, a `log.live` trace), `plausible.json` (dual pipeline read from a repo: write and read lanes as groups meeting at a shared store, an in-memory state band between them, a background band, width 1180, typed `flows`), `elephant-goldfish.json` (process with loops from an article: phase columns, containment groups, a central artifact band, typed `flows`, a `log.live` trace with per-edge `log` text). They show engine features (rail, rows, pipelines, fan-outs, edge rails, log), not a layout to copyView the complete source on GitHubSkills included
- arch-diagram
Repository facts
- License
- MIT
- Created
- Oct 28, 2026
- Last pushed
- Oct 30, 2026
- Forks
- 13
- Open issues
- 0
- Project activity
- Active
Before you install
Network or broad shellAutomated signals, not a guarantee
Checked Nov 6, 2026
Not fully analyzed: some files were too long, unreadable or missing. This never lowers the level.
Show 13 notes
skills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzedskills/arch-diagram/SKILL.md:1Analysis incomplete: Referenced executable target unavailable; not analyzed
- No broad tool permissions
- No dangerous shell commands
- 10 network referencesin 3 files: .claude-plugin/plugin.json:6 arch-diagram/assets/engine.js:10 arch-diagram/scripts/export.mjs:90
- No hidden or obfuscated text
- No instruction overrides
- 5 executable scriptsin 5 files: arch-diagram/assets/engine.js:1 arch-diagram/scripts/build.mjs:1 arch-diagram/scripts/check.mjs:1 and 2 more
- No access to secrets
- No requests to vote in Hot
Show all 15 signals by file
.claude-plugin/plugin.json
- Network accessline 6
"name": "bassnova42" }, "homepage": "https://github.com/bassnova42/arch-diagram-skill", - Network accessline 7
}, "homepage": "https://github.com/bassnova42/arch-diagram-skill", "repository": "https://github.com/bassnova42/arch-diagram-skill", - Network accessline 8
"homepage": "https://github.com/bassnova42/arch-diagram-skill", - Network accessline 9
"repository": "https://github.com/bassnova42/arch-diagram-skill",
skills/arch-diagram/assets/engine.js
- Executable scriptline 1
Executable file - Network accessline 10
if (LOOP) document.documentElement.classList.add('loop'); const W = S.width || 1080; const NS = 'http://www.w3.org/2000/svg'; - Network accessline 11
const W = S.width || 1080; const NS = 'http://www.w3.org/2000/svg'; const SHORT = { bl: 'blue', cy: 'cyan', gr: 'green', am: 'amber', pu: 'purple', rd: 'red', or: 'orange' }; - Network accessline 12
const NS = 'http://www.w3.org/2000/svg';
skills/arch-diagram/scripts/build.mjs
- Executable scriptline 1
#!/usr/bin/env node
skills/arch-diagram/scripts/check.mjs
- Executable scriptline 1
#!/usr/bin/env node
skills/arch-diagram/scripts/export.mjs
- Executable scriptline 1
#!/usr/bin/env node - Network accessline 90
let target; for (let i = 0; i < 50 && !target; i++) { try { target = (await (await fetch(`http://127.0.0.1:${port}/json/list`)).json()).find(t => t.type === 'page'); } - Network accessline 91
for (let i = 0; i < 50 && !target; i++) { try { target = (await (await fetch(`http://127.0.0.1:${port}/json/list`)).json()).find(t => t.type === 'page'); } catch { await sleep(200); } - Network accessline 92
try { target = (await (await fetch(`http://127.0.0.1:${port}/json/list`)).json()).find(t => t.type === 'page'); }
skills/arch-diagram/scripts/lib.mjs
- Executable scriptline 1
Executable file
How the signals fit together
Facts from a static read of the files at the pinned commit. They describe what the code does, not why.
Some files could not be read; the facts below still hold.
Declared and executed: 1 fact
- Contacts www.w3.org, which SKILL.md, the README and the plugin manifest do not mentionarch-diagram/assets/engine.js:12High confidence
Signal confidence: 11 facts
- Executable script in a comment of a file that runsarch-diagram/assets/engine.js:1Low confidence
- Network access in code of a file that runsarch-diagram/assets/engine.js:10High confidence
- Network access in code of a file that runsarch-diagram/assets/engine.js:11High confidence
- Network access in code of a file that runsarch-diagram/assets/engine.js:12High confidence
- Executable script in code of a file that runsarch-diagram/scripts/build.mjs:1High confidence
- Executable script in code of a file that runsarch-diagram/scripts/check.mjs:1High confidence
- Executable script in code of a file that runsarch-diagram/scripts/export.mjs:1High confidence
- Network access in code of a file that runsarch-diagram/scripts/export.mjs:90High confidence
- Network access in code of a file that runsarch-diagram/scripts/export.mjs:91High confidence
- Network access in code of a file that runsarch-diagram/scripts/export.mjs:92High confidence
- Executable script in a comment of a file that runsarch-diagram/scripts/lib.mjs:1Low confidence
Works with
| Agent | Status | Evidence | Install to |
|---|---|---|---|
| Claude Code | Native | Manifest .claude-plugin/marketplace.json | .claude/skills/<skill-name>/ |
| Codex | Compatible | Standard SKILL.md skills/arch-diagram/SKILL.md | .agents/skills/<skill-name>/ |
| Cursor | Compatible | Standard SKILL.md skills/arch-diagram/SKILL.md | .cursor/skills/<skill-name>/ |
| Gemini CLI | Compatible | Standard SKILL.md skills/arch-diagram/SKILL.md | .gemini/skills/<skill-name>/ |
| GitHub Copilot | Compatible | Standard SKILL.md skills/arch-diagram/SKILL.md | .github/skills/<skill-name>/ |
| OpenCode | Compatible | Standard SKILL.md skills/arch-diagram/SKILL.md | .opencode/skills/<skill-name>/ |
- Native The repository ships a manifest, folder or frontmatter field for this agent.
- Compatible A standard SKILL.md that this agent can read.
- Unknown No evidence either way.
Derived automatically from paths, manifests and frontmatter. Not tested on each agent.