Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add HuginnIndustries/CodeCartographer --skill codecartographergit clone --depth 1 https://github.com/HuginnIndustries/CodeCartographerWrote 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/huginnindustries/codecartographer/codecartographer)<a href="https://agentmods.dev/skills/huginnindustries/codecartographer/codecartographer"><img src="https://agentmods.dev/badge/skills/huginnindustries/codecartographer/codecartographer/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/huginnindustries/codecartographer/codecartographer"><img src="https://agentmods.dev/badge/skills/huginnindustries/codecartographer/codecartographer.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.00072 | $0.02382 |
| Opus 5.5 | $0.00029 | $0.00953 |
| Sonnet 5.5 | $0.00014 | $0.00476 |
| Haiku 4.5 | $0.00007 | $0.00238 |
Grade A, and why
codecartographer 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 2mo 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Driving CodeCartographer
CodeCartographer is a pipeline state machine, not an agent. It hands you a phase prompt, checks the artifact you produce against that phase's criteria, and gates completion. It never reads your repository and never writes your findings — you do that.
Three roles, and you hold two of them:
| Role | Who | Does |
|---|---|---|
| State machine | the MCP server | phase order, prompts, validation parsing, completion gate, canonical state |
| Orchestrator | you | pick the pipeline, drive the loop, choose an executor, verify, and hold the cross-phase duties (references/orchestration.md) |
| Executor | you, or a model you delegate to | read the repo, write the phase artifact |
Being the orchestrator does not preclude executing phases yourself — a single chat driving these tools inline is the normal case, and it holds both the Orchestrator and Executor rows. What makes a run orchestrated is performing the phase-boundary duties (convention promotion, open-question re-triage, contradiction sweeps, gap routing), not delegating the work. If the workspace GUIDE.md predates this contract and says the orchestrator must not execute phases, trust this guide.
The drive loop
codecarto_status → codecarto_init (first time only)
↓
┌──────── codecarto_next ────────┐
│ ↓ │
│ execute the phase │
│ (write primary output) │
│ ↓ │
│ write the phase handoff │
│ ↓ │
│ codecarto_validate │
│ ↓ │
│ codecarto_complete │
└───────── repeat until ──────────┘
status reports "complete"
codecarto_broadside— optional, and only worth it on a repository too large to read directly. A cheap batch reconnaissance sweep that produces unverified leads telling the pipeline where to look, before you commit to a pipeline choice. Costs real money and is priced before it fires —references/broadside.md.codecarto_status— always start here. It reports the active pipeline, progress, next action, and any scaffold-staleness warning. Every tool takes an absolutecwdpointing at the target repository.codecarto_init— only when no.codecarto/exists. Choose the pipeline deliberately (seereferences/pipeline-selection.md). Never passforce: truewithout the user's explicit approval; it moves an existing workspace, findings and all, to a backup directory.codecarto_next— returns the prompt for the next eligible phase. It returns text; it does not execute anything. Usecodecarto_phaseonly to force a specific phase out of order, and only when the user asked for that.- Execute — see "Executing a phase" below.
- Write the handoff — see "The handoff contract" below. This is the step integrations most often miss, and completion now refuses without it.
codecarto_validate— parses the validation block you appended to the primary output. ReturnsPASS,PASS WITH GAPS,FAIL, orMISSING.codecarto_complete— marks the phase done, applies your handoff to canonical state, and writes the closeout andTHREAD_LOG.mdentry. It refuses anything worse thanPASS WITH GAPS.
What ships with it
10 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.
- references/broadside.md 7.1 KB
- references/carrying-results-forward.md 3.3 KB
- references/deep-audit-synthesis.md 4.3 KB
- references/executors.md 4.8 KB
- references/handoff-contract.md 8.2 KB
- references/kernel-first-rewrite.md 4.0 KB
- references/library.md 4.1 KB
- references/orchestration.md 6.4 KB
- references/phase-recovery.md 3.4 KB
- references/pipeline-selection.md 3.9 KB
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.
- 2mo ago Changed 0f5b569cc861
- 2mo ago Changed · +2 lines e5cb3d321168
- 3mo ago First seen · 150 lines · 72 tokens per session scan A 65a1a95e4ebd
codecartographer is a skill published in the GitHub repository HuginnIndustries/CodeCartographer (7 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 2,382 once invoked, about $0.0003 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-08-31.
codecartographer compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codecartographerHuginnIndustries/CodeCartographer | Skill | 7 | 1mo ago | MIT | A | 72 | Claude Code, Codex |
| repomixyamadashy/repomix | Skill | 30k | today | MIT | A | 58 | Claude Code, Codex |
| ixix-infrastructure/Ix | Skill | 1.3k | yesterday | Apache-2.0 | A | 44 | Claude Code, Codex |
| ctf-pwncyberkaida/reverse-engineering-assistant | Skill | 997 | 3d ago | Apache-2.0 | A | 46 | Claude Code |
| ctf-revcyberkaida/reverse-engineering-assistant | Skill | 997 | 3d ago | Apache-2.0 | A | 52 | Claude Code |
| pyghidra-scriptingcyberkaida/reverse-engineering-assistant | Skill | 997 | 3d ago | Apache-2.0 | A | 209 | Claude Code |
| ctf-cryptocyberkaida/reverse-engineering-assistant | Skill | 997 | 3d ago | Apache-2.0 | A | 46 | Claude Code |