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.
npx skills add patrickdappollonio/claude-plugins --skill code-simplificationgit clone --depth 1 https://github.com/patrickdappollonio/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/skills/patrickdappollonio/claude-plugins/code-simplification)<a href="https://agentmods.dev/skills/patrickdappollonio/claude-plugins/code-simplification"><img src="https://agentmods.dev/badge/skills/patrickdappollonio/claude-plugins/code-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/skills/patrickdappollonio/claude-plugins/code-simplification"><img src="https://agentmods.dev/badge/skills/patrickdappollonio/claude-plugins/code-simplification.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 382 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 380 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
- medium Excessive Agency · line 387 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00092 | $0.07448 |
| Opus 5.5 | $0.00037 | $0.02979 |
| Sonnet 5.5 | $0.00018 | $0.01490 |
| Haiku 4.5 | $0.00009 | $0.00745 |
Grade A, and why
code-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 yesterday.
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 — 362 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Simplification
Overview
Simplify code by reducing complexity while preserving exact behavior. The goal is not fewer lines — it's code that is easier to read, understand, modify, and debug. Every simplification must pass one test: "Would a new team member understand this faster than the original?"
This skill is language-agnostic: it works on patterns (nesting, naming, duplication, dead code), not on any one language's idioms. Apply it using the idioms of whatever language and codebase you're in.
Read the Companion Files First
This skill ships in two layers. SKILL.md carries the rules and a short summary of each step; four files beside it carry the full procedures:
evidence-gathering.md— model-tier routing, handoff packets, verifying findingscyclomatic-complexity.md— counting, tools, the split procedureequivalent-functions.md— diff → callers → propose → mergecomments.md— the comment digest
The first time you use this skill in a session, read all four before doing anything else — before scoping, before reading the target code, before answering a question about it. The summaries in this file are reminders for a reader who has already seen the full text; they are not a substitute for it. Re-read the relevant file again at the step that names it. If the files are missing, say so — do not proceed as if the summaries were the whole skill.
When to Use
- After a feature is working and tests pass, but the implementation feels heavier than it needs to be
- During code review when readability or complexity issues are flagged
- When you encounter deeply nested logic, long functions, or unclear names
- When refactoring code written under time pressure
- After merging changes that introduced duplication or inconsistency
When NOT to use:
- Code is already clean and readable — don't simplify for the sake of it
- You don't understand what the code does yet — comprehend before you simplify
- The code is performance-critical and the "simpler" version would be measurably slower
- The module is about to be rewritten — simplifying throwaway code wastes effort
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday Changed · +17 lines b5298298d9ef
- 17d ago Changed · +4 lines e151691110b9
- 18d ago Changed 8907ab206ba4
- 24d ago Changed · +5 lines c7c5a65fa59e
- 28d ago Changed · +2 lines 3c0fde94732b
- 1mo ago Changed · +11 lines 15be5191ed6e
- 1mo ago Changed · -93 lines d1156cc203e8
- 1mo ago Changed · +3 lines 5e830b1142c2
- 1mo ago Changed · +3 lines c41228848db9
- 2mo ago First seen · 410 lines · 92 tokens per session scan A 825eb1b52817
code-simplification is a skill published in the GitHub repository patrickdappollonio/claude-plugins (9 stars, last pushed yesterday), licensed MIT. It adds 92 tokens to every session and 7,448 once invoked, about $0.0004 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.
code-simplification compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-simplificationpatrickdappollonio/claude-plugins | Skill | 9 | yesterday | MIT | A | 92 | Claude Code |
| sync-bridgechromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 109 | Claude Code, Codex |
| sync-model-processorchromium/chromium | Skill | 25k | yesterday | BSD-3-Clause | A | 98 | Claude Code, Codex |
| adversarial-revieweremdash-cms/emdash | Skill | 14k | yesterday | MIT | A | 72 | Claude Code, Codex |
| gsd-ns-reviewopen-gsd/gsd-core | Skill | 11k | yesterday | MIT | A | 16 | Claude Code |
| gitnexushashgraph-online/awesome-codex-plugins | Skill | 1.5k | yesterday | Apache-2.0 | A | 58 | Codex |
| issuejeremylongshore/tons-of-skills-marketplace | Skill | 2.9k | yesterday | MIT | A | 115 | Claude Code |