Interactive Architecture Diagrams
Agent Skill for Claude Code · Gemini CLI · GitHub Copilot CLI · OpenCode · Cursor
Build click-through, animated system architecture diagrams as a single HTML file.
No build step. No dependencies. One file you can email, host, or open locally.
▶ Open the live gallery ·
Install ·
Try It ·
Examples ·
Skill Spec
Build click-through, animated system architecture diagrams as a single HTML file. Drop it into a workshop, design review, or onboarding doc and let people watch the data flow instead of reading static boxes-and-arrows.

Open the live gallery → five real diagrams (RAG, OAuth2, event-driven, CI/CD, multi-agent) you can click through before installing anything.
This is an Agent Skill — a folder of instructions any compatible AI coding agent loads on demand. When you ask for an architecture diagram, this skill takes over and produces a self-contained architecture.html plus a companion architecture.md description. Works with Claude Code, Gemini CLI, GitHub Copilot CLI, OpenCode, Cursor, and any tool supporting the SKILL.md standard.
What you get
Each generated diagram includes:
- Named flows — pick a scenario tab (
RAG Query, Login, Ingest, …) and watch it play out step by step
- Animated data packets glowing along quadratic-curve wires between services
- Side panel showing the current step's payload, description, and metadata chips (latency, auth headers, ports)
- Mode toggles — switch between
offline/online, dev/prod, v1/v2 (any keys; colors follow button order) to swap node labels, ports, and payloads in place
- Drag-and-drop nodes — reposition any tile by dragging (or Shift+Arrows on a focused node); snaps to grid, wires redraw live, moved nodes saved to localStorage
- Player controls — play/pause/step, keyboard shortcuts, visual progress bar, screen-reader announcements
- Dark/light theme toggle — follows your OS preference, switch with one click or press
T (saved in localStorage)
- Fullscreen mode — press
F to expand the canvas for presentations with the controls, flow tabs and step panel still at hand (below ~1140px wide the panel gives way to a one-line step summary); Escape to exit
- Grounded in your code — when drawn from a repo, every component and step cites its
file:lines at a pinned commit (clickable in the side panel); anything the agent only inferred is marked assumed (dashed node with a label, dashed wire with a ? on its step number, and the reason in the side panel), never passed off as fact
- Shareable views — the URL tracks flow, mode and step (
#flow=checkout&mode=prod&step=3), so you can link a reviewer straight to one step
- Lint, extract & diff without a browser —
references/spec.js lint checks a diagram (rule codes + fix hints, so the agent fixes its own output), extract prints it as deterministic JSON, diff shows what changed in the architecture between two versions as Markdown for a PR
- Static copies —
spec.js export turns a diagram into Mermaid sequence diagrams (render inline on GitHub, in wikis and PRs) or a .drawio file for diagrams.net / Confluence, evidence links included
- Inline in chat — an optional zero-dependency MCP server opens the diagram interactively inside Claude Desktop, VS Code Copilot, ChatGPT, Goose or Cursor (setup)
- Self-linting — the page warns in the console about unknown node ids, flows without tabs, and leftover placeholders;
references/screenshot.js prints the same list and exits non-zero on JavaScript errors (1) or lint warnings (2)
No build step. No dependencies. One HTML file you can email, host, or open locally.