Plugin distribution for archflow
npx claudepluginhub rafaelolsr/archflowAnalyzes a codebase and generates animated HTML architecture reports — diagrams, data flows, component directories, metrics, and insights.
Share bugs, ideas, or general feedback.
A Claude Code plugin that turns any codebase into an animated HTML architecture diagram.
Ask Claude to explain a system architecture. Instead of a wall of text or ASCII art, it reads your codebase, identifies the real components and flows, and generates a self-contained animated HTML file you open in any browser.
/archflow:archflow
A single architecture-diagram.html file — no server, no dependencies, just open in a browser.
The diagram animates through the key phases of a typical request flowing through your system, lighting up components and arrows at each step. Real names from your code — actual class names, module paths, method names, and external service names — not generic placeholder boxes.
| System type | Layout |
|---|---|
| API / RAG / request-response | Horizontal pipeline |
| Multi-agent / ReAct loops | Multi-agent hub with parallel workers |
| ETL / Databricks / Delta Live Tables | Medallion pipeline |
Every coding agent defaults to text when you ask for an architecture explanation. Bullet points, nested lists, prose paragraphs. It works for trivial cases but anything beyond a 3-component system becomes hard to follow.
Diagrams are better. But asking an agent to "draw a diagram" usually gets you Mermaid syntax that doesn't render, ASCII art that breaks on resize, or a generic boxes-and-arrows template with no real names from your code.
archflow fixes that. It reads the actual code first, builds a mental model of the system, then generates a polished animated HTML diagram using real component names, real service names, and real data flows.
Option 1 — Marketplace install (recommended):
In Claude Code, run:
/plugin marketplace add rafaelolsr/archflow
/plugin install archflow@archflow
Option 2 — Local development / testing:
git clone https://github.com/rafaelolsr/archflow.git
claude --plugin-dir ./archflow
Run /reload-plugins to pick up the plugin.
Navigate to any project in Claude Code and run:
/archflow:archflow
Or trigger it with natural language — any of these work:
"visualize the codebase"
"generate an architecture diagram"
"explain how this repo works as a diagram"
"show me the data flow as an animation"
"create an architecture diagram of this system"
Claude Code will:
architecture-diagram.html in your project rootarchflow/
├── .claude-plugin/
│ ├── plugin.json ← marketplace identity
│ └── marketplace.json ← plugin catalog
├── plugins/
│ └── archflow/
│ ├── .claude-plugin/
│ │ └── plugin.json ← plugin manifest
│ ├── skills/
│ │ └── archflow/
│ │ ├── SKILL.md ← workflow orchestrator (model-invoked)
│ │ ├── references/
│ │ │ ├── analysis.md ← how to read and model a codebase
│ │ │ ├── layouts.md ← layout decision guide + HTML skeletons
│ │ │ ├── design-system.md ← colors, typography, base CSS
│ │ │ └── animation.md ← JS phase engine and animation patterns
│ │ └── templates/
│ │ ├── horizontal-pipeline.html ← API / RAG systems
│ │ ├── multi-agent-hub.html ← orchestrator + parallel agents
│ │ └── medallion-pipeline.html ← ETL / Delta Live Tables
│ └── commands/
│ └── archflow.md ← /archflow:archflow slash command
├── README.md
└── .gitignore
The repo is structured as a marketplace containing the archflow plugin. The skill routes to the right layout automatically. It reads only the files it needs — entry points, orchestration files, config — then generates a bespoke diagram with real names and flows from your code.
Dark and light themes with a toggle button in the top-right corner of every diagram. Theme preference persists across page reloads via localStorage.
Semantic accent colors (same in both themes):