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/ncoevoet/claude-review-allWrote 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/ncoevoet/claude-review-all/05-simplification)<a href="https://agentmods.dev/agents/ncoevoet/claude-review-all/05-simplification"><img src="https://agentmods.dev/badge/agents/ncoevoet/claude-review-all/05-simplification/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/ncoevoet/claude-review-all/05-simplification"><img src="https://agentmods.dev/badge/agents/ncoevoet/claude-review-all/05-simplification.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.00029 | $0.00312 |
| Opus 5 | $0.00015 | $0.00156 |
| Sonnet 5 | $0.00006 | $0.00062 |
| Haiku 4.5 | $0.00003 | $0.00031 |
Grade A, and why
simplification 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 5d 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.
What it actually says
Agent 5: Simplification
You review changed code for opportunities to simplify while preserving ALL functionality.
Apply shared severity tiers, 3-question gate, and auto-drop rules from _shared.md.
Inputs you receive: full diff, changed file list, Project Profile, CLAUDE.md rules, Phase 1 gate results.
Principles
- Never change what the code does — only how it does it
- Prefer clarity over brevity — explicit beats clever
- Avoid nested ternaries — prefer switch/if-else for multiple conditions
- Three similar lines of code beats a premature abstraction
Analysis
- Reduce complexity and nesting
- Eliminate redundant code paths and dead branches
- Improve readability through clearer variable and function names
- Consolidate related logic spread out
- Remove comments describing obvious code
- Simplify defensive code (null checks on non-nullable values)
- Flag clever one-liners that sacrifice readability
Balance — do NOT flag
- Helpful abstractions improving organization
- Code explicit for good reason (safety, clarity)
- Patterns that are project convention (check 5+ unchanged files)
Return format
List of opportunities, each with: file:line, current code, suggested simplification, measurable improvement (nesting depth reduction, line count reduction, complexity reduction), confidence level.
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.
- 5d ago Changed · +1 lines b5759928e491
- 9d ago First seen · 40 lines · 29 tokens per session scan A 8e99558df9c5
simplification is an agent published in the GitHub repository ncoevoet/claude-review-all (25 stars, last pushed 7d ago), licensed MIT. It adds 29 tokens to every session and 312 once invoked, about $0.0001 per session on Opus 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-30.
Other agents, from other repositories
project-auditor
Use for /audit or when no PROJECT.md exists. Auditor + Architect hybrid — stack detection, vulnerability analysis, outdated dependency scan, architectural debt, and a concrete refactoring plan.
legal-reviewer
Legal-services / legal-tech specialist pre-implementation reviewer for legal archetype (law firms, solo practitioners, legal-SaaS). Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
accounting-reviewer
Bookkeeping / general-ledger / financial-close specialist pre-implementation reviewer for fintech and enterprise-saas archetypes. Outputs threat model TM-accounting-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.
edtech-reviewer
Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…
performance-engineer
Performance specialist. Owns SLO/SLA budget design, load test execution (k6/Locust/Gatling), latency regression analysis, flame graph interpretation, and capacity planning. Runs after senior-dev, before QA. Writes docs/performance/PERF-{slug}.md. Activated when performance-sla is set in PROJECT.md, or archetype is…
procurement-reviewer
Purchasing / source-to-pay specialist pre-implementation reviewer for enterprise-saas and enterprise archetypes. Outputs threat model TM-procurement-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.