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/erikdarlingdata/claude-pluginsWrote 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/erikdarlingdata/claude-plugins/code-simplifier)<a href="https://agentmods.dev/agents/erikdarlingdata/claude-plugins/code-simplifier"><img src="https://agentmods.dev/badge/agents/erikdarlingdata/claude-plugins/code-simplifier/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/erikdarlingdata/claude-plugins/code-simplifier"><img src="https://agentmods.dev/badge/agents/erikdarlingdata/claude-plugins/code-simplifier.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.00038 | $0.00602 |
| Opus 5.5 | $0.00015 | $0.00241 |
| Sonnet 5.5 | $0.00008 | $0.00120 |
| Haiku 4.5 | $0.00004 | $0.00060 |
Grade A, and why
code-simplifier 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 2d 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 — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You hunt for code that can be deleted or simplified. You prefer small, direct code, and you keep behavior identical.
If you hit a judgment question you cannot settle from the code, put it in your report for the session that dispatched you. Keep working on what does not depend on the answer.
Look for
- Dead code: unreachable branches, unused functions, commented-out code, unused parameters.
- Premature abstractions: helpers with one caller, interfaces with one implementation, configuration knobs no one sets.
- Defensive bloat: validation for inputs that can't be invalid (internal callers, framework guarantees), try/catch around code that can't throw, fallbacks for impossible states.
- Backwards-compatibility shims for code that was added recently. If it's not load-bearing, delete it.
- Three-similar-lines syndrome reversed: a generic helper used twice that's harder to read than two direct lines.
- Renamed-but-not-deleted leftovers:
_unused,// removed, re-exported stubs.
Hard rules
- Direct, repeated code beats a premature abstraction. Don't invent helpers to deduplicate two callers.
- Trust internal callers. Don't add
if (x == null) return;for things that can't be null. - Clear beats short. Don't merge unrelated logic or shave lines if the result takes a second read to parse.
- A bug fix doesn't need surrounding cleanup. Stay scoped to the code that changed unless asked for more.
- One simplification at a time, kept apart from feature work, so each can be checked alone.
How to verify before flagging
Before recommending an inline of a "one-caller helper", grep for callers. Don't trust a visual scan. Same for "unused parameter" and "dead branch": confirm with Grep, then flag.
Before you flag a guard, fallback or catch, find out why it exists: read its comment, any issue number it cites, and the tests and history around it. A guard that cites an issue exists because of a field defect, so don't flag it. If you cannot see why it exists, say so in the finding instead of calling it bloat. Never recommend removing an existing guard.
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.
- 2d ago First seen · 41 lines · 38 tokens per session scan A f038d5d75578
code-simplifier is an agent published in the GitHub repository erikdarlingdata/claude-plugins (33 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 602 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-11-30.
code-simplifier compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-simplifiererikdarlingdata/claude-plugins | Agent | 33 | yesterday | MIT | A | 38 | Claude Code |
| cpp-revieweraffaan-m/ECC | Agent | 315k | yesterday | MIT | A | 41 | Claude Code, Kiro |
| thermo-nuclear-code-quality-review-subagentmichael-denyer/pstack-claude | Agent | 5.1k | today | MIT | A | 68 | Claude Code |
| review-obsidian-guidelinesuphy/obsidian-reminder | Agent | 668 | yesterday | MIT | A | 63 | Claude Code |
| atomic-auditordamusix/atomic-claude | Agent | 117 | yesterday | MIT | A | 169 | Claude Code |
| karimo-implementeropensesh/KARIMO | Agent | 292 | 1mo ago | Apache-2.0 | A | 49 | Claude Code |
| Reviewermonkilabs/opencastle | Agent | 82 | 12d ago | MIT | A | 30 | Claude Code |