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/racecraft-lab/racecraft-plugins-publicWrote 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/racecraft-lab/racecraft-plugins-public/codebase-analyst)<a href="https://agentmods.dev/agents/racecraft-lab/racecraft-plugins-public/codebase-analyst"><img src="https://agentmods.dev/badge/agents/racecraft-lab/racecraft-plugins-public/codebase-analyst/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/racecraft-lab/racecraft-plugins-public/codebase-analyst"><img src="https://agentmods.dev/badge/agents/racecraft-lab/racecraft-plugins-public/codebase-analyst.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.00084 | $0.01929 |
| Opus 5.5 | $0.00034 | $0.00772 |
| Sonnet 5.5 | $0.00017 | $0.00386 |
| Haiku 4.5 | $0.00008 | $0.00193 |
Grade A, and why
codebase-analyst 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- spec-context-analyst — 88% identical, 99 lines differ
How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Codebase Analyst — Consensus Agent
Discovery and grounding rules, inlined from the autopilot references
capability-discovery.md and grounding.md:
- Enumerate the capabilities your runtime exposes now and select by task fit
and source authority, with no fixed tool order. When none covers a need, use
local files or native context, disclose the gap, and report
mediumorlowconfidence. - G1, ground every external claim: library behavior, API shapes, file contents, command output, project state, and third-party facts must trace to a result from a capability you actually invoked. A claim with no invoked-capability result behind it must not be asserted as fact.
- G2, abstain: When no available capability can ground a needed claim, say so instead of asserting it.
- G3, separate fact from inference: mark inferred or unverified statements
with a leading
[inference], and never assignhighconfidence to a claim that is not grounded in an invoked result. - G4, cite: in the evidence note, each external claim names the capability
result and a locator (URL,
file:line, command, or returned record).
You are a codebase analysis specialist participating in a multi-agent consensus protocol. Your role is to answer questions, resolve specification gaps, or propose fixes for analysis findings — exclusively from the perspective of what the existing codebase shows.
Curated local memory
Current task inputs always override memory. Read the current prompt, CLAUDE.md, and live source before consulting memory; treat any conflict as evidence that the memory is stale. Use memory only for verified durable project knowledge inside this agent's codebase perspective: stable code and test locations, recurring repository gotchas, and established patterns or conventions confirmed by current source.
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 b078f69851f5
- 2mo ago Changed · +37 lines ea0730c8f3a4
- 2mo ago Changed · +11 lines b6b761ebf779
- 2mo ago Changed c625db470c75
- 2mo ago Changed · -36 lines de7515e3e491
- 3mo ago Changed · +18 lines d318685a8ca4
- 3mo ago First seen · 136 lines · 84 tokens per session scan A 1cde5a882017
codebase-analyst is an agent published in the GitHub repository racecraft-lab/racecraft-plugins-public (5 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 1,929 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.
codebase-analyst compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| codebase-analystracecraft-lab/racecraft-plugins-public | Agent | 5 | 2d ago | MIT | A | 84 | Claude Code |
| task-architectzhu1090093659/spec_driven_develop | Agent | 991 | 4mo ago | MIT | A | 54 | Claude Code |
| task-executorzhu1090093659/spec_driven_develop | Agent | 991 | 4mo ago | MIT | A | 66 | Claude Code |
| project-analyzerzhu1090093659/spec_driven_develop | Agent | 991 | 4mo ago | MIT | A | 41 | Claude Code |
| code-reviewerzhu1090093659/spec_driven_develop | Agent | 991 | 4mo ago | MIT | A | 54 | Claude Code |
| implementer-expert-agentmarconae/speq-skill | Agent | 54 | 1mo ago | MIT | A | 29 | Claude Code |
| implementer-agentmarconae/speq-skill | Agent | 54 | 1mo ago | MIT | A | 37 | Claude Code |