Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add bengous/claude-code-plugins/plugin install architecture-mapWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/bengous/claude-code-plugins/architecture-map)<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/architecture-map"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/architecture-map/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/architecture-map"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/architecture-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00036 | $0.01529 |
| Opus 5.5 | $0.00014 | $0.00612 |
| Sonnet 5.5 | $0.00007 | $0.00306 |
| Haiku 4.5 | $0.00004 | $0.00153 |
Grade A, and why
architecture-map scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Architecture map
The map is a site plan of a codebase: each file is a bar drawn to scale, each folder a frame, each dependency a line. It exists to answer one question about the structure. It stays trustworthy because everything on it is either measured (the graph) or declared (the config); nothing is drawn by hand.
Four words carry the tool:
- graph: what was measured. Files, sizes, file-to-file links. A script writes it.
- view: one arrangement of those same files: the tree as it is, or a proposed tree. Switching views moves each file.
- band: a horizontal layer of a view. Band order is the direction dependencies may run.
- verdict: what a view's rules say of each link: ok, warn (ochre pencil), bad (red pencil).
The architecture style lives entirely in the config: bands express layers or rings, columns express modules or features, overrides express any "A must not depend on B". The same base draws a layered monolith, ports and adapters, feature slices, or a tree with no stated rule at all.
To calibrate, build the demo and open it before writing anything:
bun ${CLAUDE_PLUGIN_ROOT}/skills/architecture-map/scripts/build.ts \
--graph ${CLAUDE_PLUGIN_ROOT}/skills/architecture-map/examples/demo.graph.json \
--config ${CLAUDE_PLUGIN_ROOT}/skills/architecture-map/examples/demo.config.json \
--out /tmp/map-demo/map.html --preview /tmp/map-demo/preview.html
examples/demo.config.json is a complete config to copy from: two views, layers, a
contract, an override, moves, files to create, files to split, shared opinions.
1. Frame the question
Write the question the map answers in one sentence, then the views that answer it:
| The reader asks | Views |
|---|---|
| What depends on what? | the tree as it is, no rules |
| Where do we break our own rules? | the tree as it is, with the rules the project already claims |
| What would this reorganisation fix, and cost? | the tree as it is, plus one view per proposal |
What ships with it
18 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/template.html 37 KB
- examples/demo.config.json 2.7 KB
- examples/demo.graph.json 5.1 KB
- references/config.md 6.2 KB
- scripts/build.integration.test.ts 1.7 KB runs code
- scripts/build.ts 3.4 KB runs code
- scripts/extract-js.test.ts 3.1 KB runs code
- scripts/extract-js.ts 8.4 KB runs code
- scripts/extract-python.test.ts 3.5 KB runs code
- scripts/extract-python.ts 6.8 KB runs code
- scripts/files.integration.test.ts 1.4 KB runs code
- scripts/files.ts 1.9 KB runs code
- scripts/from-pairs.test.ts 1.7 KB runs code
- scripts/from-pairs.ts 4.5 KB runs code
- scripts/glob.test.ts 1.5 KB runs code
- scripts/glob.ts 1.8 KB runs code
- scripts/map.test.ts 9.2 KB runs code
- scripts/map.ts 20 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 7d ago First seen · 128 lines · 36 tokens per session scan A d8b01855ad7c
architecture-map is a skill published in the GitHub repository bengous/claude-code-plugins (6 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 1,529 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.
architecture-map compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| architecture-mapbengous/claude-code-plugins | Skill | 6 | today | MIT | A | 36 | Claude Code |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| tao-run-inference-serviceNVIDIA/skills | Skill | 4.2k | today | Apache-2.0 | A | 92 | Claude Code |
| developmentfengshao1227/ccg-workflow | Skill | 6.0k | 12d ago | MIT | A | 41 | Claude Code |
| debugging-executionsn8n-io/n8n | Skill | 213k | today | none | A | 86 | Claude Code, Codex |
| workflow-buildern8n-io/n8n | Skill | 213k | today | none | A | 152 | Claude Code, Codex |
| tencent-docsUnicomAI/wanwu | Skill | 2.4k | 6d ago | Apache-2.0 | A | 209 | Claude Code, Codex |