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 benrben/MPGA --skill simplifygit clone --depth 1 https://github.com/benrben/MPGAWrote 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/benrben/mpga/simplify)<a href="https://agentmods.dev/skills/benrben/mpga/simplify"><img src="https://agentmods.dev/badge/skills/benrben/mpga/simplify/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/benrben/mpga/simplify"><img src="https://agentmods.dev/badge/skills/benrben/mpga/simplify.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.00028 | $0.01399 |
| Opus 5.5 | $0.00011 | $0.00560 |
| Sonnet 5.5 | $0.00006 | $0.00280 |
| Haiku 4.5 | $0.00003 | $0.00140 |
Grade A, and why
mpga-simplify 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 2mo 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 — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
simplify
Simplify code using Kent Beck's 4 Rules of Simple Design and Sandi Metz rules.
Trigger: User wants to improve code elegance, reduce complexity, or simplify code. Also triggered by: "simplify this", "too complex", "clean this up", "reduce complexity", "make this simpler".
Protocol
-
Read target code — we need to see the MESS before we drain it:
- If user specifies files, use those
- If git diff has changes, examine the changed files
- If no target specified, use the current scope's implementation files
-
Apply Kent Beck's 4 Rules of Simple Design (in priority order — and the order MATTERS, folks, tremendous priority order):
- Passes all tests — NON-NEGOTIABLE. The code must remain correct after every change.
- Reveals intention — does the code clearly communicate what it does? If you can't read it and know what it does IMMEDIATELY, it's a DISASTER.
- Look for: unclear variable names, magic numbers, opaque boolean params
- Suggest: rename to reveal intent, extract explanatory variables, use named constants
- No duplication — DRY, but not at the cost of clarity.
- Look for: copy-pasted logic, similar functions that differ by one param, repeated conditionals
- Suggest: extract shared functions, use polymorphism, apply template method pattern
- Fewest elements — remove anything that doesn't serve the above three. If it doesn't EARN its place in the codebase, it's OUT. Less is MORE!
- Look for: unnecessary abstractions, premature generalization, dead code, unused imports
- Suggest: inline trivial wrappers, collapse unnecessary class hierarchies, delete dead code
-
Apply Sandi Metz Rules for method/class size — these are the RULES OF DISCIPLINE, folks, and we LOVE discipline:
- Classes should be no longer than 100 lines.
- Methods should be no longer than 5 lines — FIVE. That's it. Short, powerful, BEAUTIFUL. Less is MORE.
- Pass no more than 4 parameters to a method — four is PLENTY. If you need more, your design is a DISASTER.
- Controllers should instantiate only one object — ONE. We're keeping it SIMPLE, people.
- Flag violations with specific file:line references and severity
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.
- 2mo ago First seen · 119 lines · 28 tokens per session scan A 52b802b0e398
mpga-simplify is a skill published in the GitHub repository benrben/MPGA (5 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 1,399 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-09-03.
mpga-simplify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mpga-simplifybenrben/MPGA | Skill | 5 | 7mo ago | MIT | A | 28 | Claude Code |
| autoreviewopenclaw/clawhub | Skill | 9.6k | today | MIT | A | 17 | Claude Code, Codex |
| omh-code-reviewrlaope/oh-my-hermes | Skill | 5.5k | today | MIT | A | 49 | Claude Code, Codex |
| agent-teams-simplify-and-hardenLeoYeAI/openclaw-master-skills | Skill | 2.2k | 6d ago | MIT | A | 115 | Claude Code, Codex |
| revdiff-planumputun/revdiff | Skill | 953 | today | MIT | A | 84 | Claude Code |
| re0-mergeLilMGenius/paperthin | Skill | 1.4k | yesterday | MIT | A | 51 | Claude Code, Codex |
| explore-unknownsdzhng/skills | Skill | 1.5k | today | MIT | A | 162 | Claude Code, Codex |