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.

Compare on GitHub

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.

Compare on GitHub

View on GitHubAdd to my skills

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>/
73GitHub stars
15stars in 7 days
1skill in this repository
14commits in 30 days

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

Oct 28, 2026Nov 6, 202673

30-day change not yet available: not enough history.

Individual skills in this repository

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 tokens

Always available to the agent

SKILL.md

3,335 tokens

When the skill is activated

Reference documents

2,369 tokens

Loaded on request

Token counts are estimates. Scripts run separately; they are not counted as reference context.

The playbook

  1. 1. Get the source
  2. 2. Choose the structure from the content
  3. 3. Lay out
  4. 4. Build → check → look → fix
  5. 5. Deliver
  6. 6. Output formats
  7. Editing an existing diagram

Scripts executed separately

  • assets/engine.js
  • scripts/build.mjs
  • scripts/check.mjs
  • scripts/export.mjs
  • scripts/lib.mjs

Files

  • ../../.claude-plugin/marketplace.jsonasset375 bytes
  • ../../.claude-plugin/plugin.jsonasset535 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • SKILL.mdcore13,045 bytes
  • assets/engine.jsruns29,180 bytes
  • assets/style.cssasset6,601 bytes
  • assets/template.htmlasset311 bytes
  • examples/elephant-goldfish.jsonasset9,267 bytes
  • examples/plausible.jsonasset8,672 bytes
  • examples/rea.jsonasset9,421 bytes
  • references/spec.mddoc6,907 bytes
  • references/style.mddoc1,344 bytes
  • scripts/build.mjsruns2,578 bytes
  • scripts/check.mjsruns1,357 bytes
  • scripts/export.mjsruns12,025 bytes
  • scripts/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 copy
View the complete source on GitHub

Skills 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 shell

Automated 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:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
  • skills/arch-diagram/SKILL.md:1 Analysis incomplete: Referenced executable target unavailable; not analyzed
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
Signal confidence: 11 facts

Works with

Agent compatibility, from the files in this repository
AgentStatusEvidenceInstall to
Claude CodeNativeManifest .claude-plugin/marketplace.json.claude/skills/<skill-name>/
CodexCompatibleStandard SKILL.md skills/arch-diagram/SKILL.md.agents/skills/<skill-name>/
CursorCompatibleStandard SKILL.md skills/arch-diagram/SKILL.md.cursor/skills/<skill-name>/
Gemini CLICompatibleStandard SKILL.md skills/arch-diagram/SKILL.md.gemini/skills/<skill-name>/
GitHub CopilotCompatibleStandard SKILL.md skills/arch-diagram/SKILL.md.github/skills/<skill-name>/
OpenCodeCompatibleStandard 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.