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/queelius/claude-anvilWrote 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/queelius/claude-anvil/repo-audit)<a href="https://agentmods.dev/commands/queelius/claude-anvil/repo-audit"><img src="https://agentmods.dev/badge/commands/queelius/claude-anvil/repo-audit/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/queelius/claude-anvil/repo-audit"><img src="https://agentmods.dev/badge/commands/queelius/claude-anvil/repo-audit.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.00021 | $0.00920 |
| Opus 5.5 | $0.00008 | $0.00368 |
| Sonnet 5.5 | $0.00004 | $0.00184 |
| Haiku 4.5 | $0.00002 | $0.00092 |
Grade A, and why
repo-audit 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.
How it starts
The opening of the file, as written. The whole thing — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/repo-audit
Run repoindex ops audit with the given filters and summarize the results. Read-only: this command surfaces gaps, it does not fix them.
Arguments
Forward any arguments directly to the CLI. Common filters:
| Flag | Purpose |
|---|---|
--language python |
Only Python repos |
--tag work/active |
Only repos with a matching tag |
--recent 7d |
Only repos with commits in the last 7 days |
--dirty |
Only repos with uncommitted changes |
--category essentials |
Scope to one category: essentials, development, discoverability, or documentation |
--severity critical |
Minimum severity: critical, recommended (critical + recommended), or suggested (all) |
Output format of ops audit --json
JSONL. Every line but the last is one repo: {name, path, score, passed, total, categories, failed, fix_commands}, where each failed entry is {check_id, passed, fix_hint, fix_command?} and carries no severity. The last line is a summary record: {"type": "summary", total_repos, overall_score, checks, categories}, where checks maps each check_id to {label, category, severity, passed, total}. Severity comes only from the summary's checks.
Workflow
Step 1: Run the audit and project it
repoindex ops audit --json <forwarded args> | jq -c 'if .type == "summary" then {summary: (.checks | map_values({label, severity, failing: (.total - .passed)})), total_repos} else select(.failed | length > 0) | {name, failed: [.failed[].check_id]} end'
This keeps only repos with failures (name plus failing check_ids) and the per-check counts, which is far smaller than the raw output.
Step 2: Aggregate
From the projected output:
- Total repos audited:
total_repos. - Per check:
failingcount andseverityfrom the summary; repo names from the per-repo lines whosefailedcontains thatcheck_id. - Repos with no failures:
total_reposminus the number of per-repo lines. - Worst offenders: repos with the most failing checks, broken down by severity via the summary lookup.
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 · -2 lines · -4 tokens per session bebd8f570c89
- 1mo ago First seen · 84 lines · 25 tokens per session scan A 822e0367ccc9
repo-audit is a command published in the GitHub repository queelius/claude-anvil (3 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 920 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-10-19.
repo-audit compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| repo-auditqueelius/claude-anvil | Command | 3 | 1mo ago | MIT | A | 21 | Claude Code |
| ia-document-releaseiliaal/whetstone | Command | 37 | today | MIT | A | 51 | Claude Code |
| ia-reviewiliaal/whetstone | Command | 37 | today | MIT | A | 15 | Claude Code |
| prune-sync-logiliaal/whetstone | Command | 37 | today | MIT | A | 17 | Claude Code |
| ia-changelogiliaal/whetstone | Command | 37 | today | MIT | A | 11 | Claude Code |
| releaseiliaal/whetstone | Command | 37 | today | MIT | A | 20 | Claude Code |
| open-prcarloshpdoc/ios-workflow-claude | Command | 7 | 6mo ago | Apache-2.0 | A | 0 | Claude Code |