Turn any codebase into an interactive architecture map.
Analyze modules, dependencies, and data flow in seconds with a polished canvas UI.
archmap-plugin is a Claude Code plugin that generates:
docs/architecture.html- interactive architecture graphdocs/architecture-map.md- versionable architecture documentation
It is built for real code navigation, not static diagrams. You can pan, zoom, inspect modules, trace edges, switch themes, and export docs directly from the UI.
claude plugin install /path/to/archmap-plugin --scope userLocal test mode:
claude --plugin-dir /path/to/archmap-plugin/archmap
/archmap <path>
/archmap --refresh- Deep project exploration with a dedicated plugin subagent (
archmap:archmap-explorer) - Module nodes with file size, role, key types, key functions, and internal imports
- Dependency edge graph with layer/tier-aware layout
- Data flow pipeline sidebar for input-to-output reasoning
- Built-in theme switcher: Dark, Light, Claude, OpenAI
- Self-contained HTML output (no CDN, no runtime dependencies)
- Automatic Markdown export for documentation and PR reviews
| File | Purpose |
|---|---|
docs/architecture.html |
Interactive map for visual exploration |
docs/architecture-map.md |
Structured architecture report for version control |
- Run
/archmapat repo root. - Review
docs/architecture.htmland inspect hotspots. - Commit
docs/architecture-map.mdalongside code changes to keep architecture docs current.
archmap-plugin/
|- .claude-plugin/plugin.json
|- commands/archmap.md
|- agents/archmap-explorer.md
|- templates/archmap-template.html
- Faster onboarding for new contributors
- Clearer system-level reviews in pull requests
- Better visibility into coupling and dependency spread
- Living architecture docs that stay close to code