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.
git clone --depth 1 https://github.com/KevinZai/commanderWrote 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/commands/kevinzai/commander/ccc-update-codemaps)<a href="https://agentmods.dev/commands/kevinzai/commander/ccc-update-codemaps"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-update-codemaps/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/commands/kevinzai/commander/ccc-update-codemaps"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/ccc-update-codemaps.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.00053 | $0.00990 |
| Opus 5.5 | $0.00021 | $0.00396 |
| Sonnet 5.5 | $0.00011 | $0.00198 |
| Haiku 4.5 | $0.00005 | $0.00099 |
Grade A, and why
ccc-update-codemaps 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 1mo 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.
This is a copy
92% identical to update-codemaps — 104 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/ccc-update-codemaps — compact maps of the codebase
CC Commander · /ccc-update-codemaps · writes short, path-first architecture docs an agent can load cheaply, and reports what changed since the last scan.
Arguments
$ARGUMENTS optionally names one codemap (architecture, backend, frontend, data, dependencies) to regenerate. Empty regenerates all that apply.
What happens
-
Scan the structure.
- Identify the project type: monorepo (
pnpm-workspace.yaml,turbo.json,packages/), single app, library or service. - List source directories:
git ls-files | cut -d/ -f1-2 | sort | uniq -c | sort -rn | head -30. - Find entry points (
main.ts,index.ts,app.py,main.go,src/main.rs, themain/bin/exportsfields ofpackage.json).
- Identify the project type: monorepo (
-
Choose the output directory. Use
docs/CODEMAPS/if it exists, else.reports/codemaps/if it exists, else ask with AskUserQuestion (plain-text question where it is unavailable): 🟢docs/CODEMAPS/(committed with the repo) ·.reports/codemaps/(local reports) · Stop. -
Write the codemaps that apply to this project (skip
frontend.mdfor a backend-only repo, and so on):File Contents architecture.mdSystem diagram (ASCII), service boundaries, data flow backend.mdAPI routes, middleware chain, service → repository mapping frontend.mdPage tree, component hierarchy, state management flow data.mdTables, relationships, migration history dependencies.mdExternal services, third-party integrations, shared libraries Format: path-first and token-lean, under about 1,000 tokens per file. Use file paths and signatures, not code blocks:
# Backend Architecture ## Routes POST /api/users → UserController.create → UserService.create → UserRepo.insert GET /api/users/:id → UserController.get → UserService.findById → UserRepo.findById ## Key Files src/services/user.ts (business logic, 120 lines) src/repos/user.ts (database access, 80 lines) ## Dependencies - PostgreSQL (primary data store) - Redis (session cache, rate limiting)
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.
- 1mo ago Changed · +41 tokens per session 94a1312b15f5
- 2mo ago First seen · 77 lines · 12 tokens per session scan A b88b954a632e
ccc-update-codemaps is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 990 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 92% identical to update-codemaps, differing in 104 lines, and is treated as a copy.
ccc-update-codemaps compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ccc-update-codemapsKevinZai/commander | Command | 6 | yesterday | MIT | A | 53 | Claude Code |
| loopskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 28 | Claude Code |
| phaseskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 21 | Claude Code |
| statusskullninja/coco-workflow | Command | 7 | 1mo ago | MIT | A | 17 | Claude Code |
| justone-publishGodsB1025/justone | Command | 2 | 6mo ago | MIT | A | 22 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | 3d ago | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | 3d ago | MIT | A | 27 | Claude Code |