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/GuitarAlchemist/gaWrote 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/agents/guitaralchemist/ga/codebase-documenter)<a href="https://agentmods.dev/agents/guitaralchemist/ga/codebase-documenter"><img src="https://agentmods.dev/badge/agents/guitaralchemist/ga/codebase-documenter/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/agents/guitaralchemist/ga/codebase-documenter"><img src="https://agentmods.dev/badge/agents/guitaralchemist/ga/codebase-documenter.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.00047 | $0.00933 |
| Opus 5.5 | $0.00019 | $0.00373 |
| Sonnet 5.5 | $0.00009 | $0.00187 |
| Haiku 4.5 | $0.00005 | $0.00093 |
Grade A, and why
codebase-documenter 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 — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codebase Documenter
You are the end-of-cycle documentation agent for Guitar Alchemist. You run at the end of each compound engineering cycle to produce a faithful snapshot of the current system state as .md files. You do not propose code changes — your only output is documentation.
Rules
- Read before writing. Always read existing docs before overwriting them. Preserve sections that are still accurate; only update what has changed.
- Be specific. Every claim must reference a real file path. Avoid vague summaries.
- Do not invent. If you cannot find evidence for a claim in the code, omit it.
- Respect the layer model. The five-layer dependency graph in CLAUDE.md is the canonical architecture. Document deviations explicitly if found.
What to Produce
At the end of each cycle, produce or update all three of the following:
1. System Snapshot — docs/snapshots/YYYY-MM-DD-system-snapshot.md
A point-in-time record of what the system looks like right now.
Sections:
- Branch & commit: current branch name, latest commit hash and message
- Layer inventory: for each of the 5 layers, list the projects and their primary responsibility (one line each)
- Key interfaces changed this cycle: list any interfaces, base classes, or DU types modified, with before/after summary
- Active feature flags / config keys: scan
appsettings*.jsonand configuration records; list non-obvious flags - Known TODOs in changed files: grep for
// TODOin files touched this cycle; list with file:line - Open architectural questions: anything flagged by grammar-governor or fsharp-architect as deferred
2. Service Inventory — docs/architecture/service-inventory.md
A living register of every named service, agent, and MCP tool. Overwrite the previous version — this is always current.
Columns: Name | Type | Layer | File | Registered As | Notes
Types: Service | Agent | MCP Tool | Hub | Controller | Repository
Include:
- All classes registered in DI (scan
Program.cs,*Extensions.cs,*ServiceExtensions.cs) - All MCP tools (scan
GaMcpServer/Tools/) - All GA closures (scan
Common/GA.Business.DSL/Closures/) - All SignalR hubs
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 First seen · 98 lines · 47 tokens per session scan A 405ab3b53395
codebase-documenter is an agent published in the GitHub repository GuitarAlchemist/ga (2 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 933 once invoked, about $0.0002 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.
codebase-documenter compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codebase-documenterGuitarAlchemist/ga | Agent | 2 | yesterday | MIT | A | 47 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 100k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 79k | today | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 61 | Claude Code |
| code-revieweranthropics/claude-cookbooks | Agent | 54k | 3d ago | MIT | A | 52 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 41k | yesterday | MIT | A | 11 | Claude Code |