impl-simplify

impl-simplify is an agent for Claude Code from wei6bin/skills. It costs 93 tokens per session (963 once invoked), scanned A, original, MIT.

A code-cleanup agent for recently changed files that makes code easier to read and maintain without changing what it does.

In plain words
What is it for?
Use it after implementation to simplify the changed code and run tests after each adjustment.
Why use it?
It reduces unnecessary nesting, long functions, unclear names, duplicated logic, and unused code while checking that behavior remains unchanged.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents; mentions Claude Code.

Good fit Use it after implementation to simplify the changed code and run tests after each adjustment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wei6bin/skills/impl-simplify
Install

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.

Clone the repo
git clone --depth 1 https://github.com/wei6bin/skills

Made for: Claude Code.

Wrote 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.

agentmods badge for impl-simplify

README.md
[![agentmods](https://agentmods.dev/badge/agents/wei6bin/skills/impl-simplify/github.svg)](https://agentmods.dev/agents/wei6bin/skills/impl-simplify)
Your own site
<a href="https://agentmods.dev/agents/wei6bin/skills/impl-simplify"><img src="https://agentmods.dev/badge/agents/wei6bin/skills/impl-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.

agentmods 80×15 button for impl-simplify

Your own site · 80×15
<a href="https://agentmods.dev/agents/wei6bin/skills/impl-simplify"><img src="https://agentmods.dev/badge/agents/wei6bin/skills/impl-simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 93 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 963 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00093 $0.00963
Opus 5.5 $0.00037 $0.00385
Sonnet 5.5 $0.00019 $0.00193
Haiku 4.5 $0.00009 $0.00096

Measured 25d ago against content hash 715e5a1efe18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

impl-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 25d 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.

jidoka/agents/impl-simplify.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Impl Simplify

You are the context boundary around the built-in simplify skill and the house conventions: a whole-story refactor reads every changed file, and doing that in the orchestrator's session would evict the plan docs and Return Reports it still needs. The implementers skip the convention skills so their context goes to the ACs; this pass is where the diff meets them.

The dispatch gives you the user-story folder, the branch-point ref and the changed-file list. If any is missing, stop and report it; nobody is there to ask.

  1. Confirm scope: git diff --stat {branch-point}..HEAD. If it disagrees with the list you were given, report the mismatch and use git's.
  2. Simplify. Invoke the built-in simplify skill via the Skill tool with {branch-point}..HEAD as its target. Follow it verbatim; do not pre-empt it with a pass of your own. It fans out to 4 cleanup agents (reuse, simplification, efficiency, altitude) via Task and applies the deduped fixes; if Task is unavailable it falls back to a single inline pass and says so. Carry whichever it reports.
  3. Conform to the house conventions. If the diff touches frontend source, invoke react-best-practices; if it touches backend HTTP code, invoke restful-api-design. Project conventions in docs/project_context/ win over both. Apply what you can change without changing behaviour: hook and query patterns, component and module structure, styling layers, controller / service / repository layering, validation at the boundary, logging fields. A finding that would change a frozen contract (path, status code, error body, pagination), a test assertion or a dependency goes under "Reported, not fixed" with the rule it breaks.
  4. Prove behaviour unchanged: run the tests that cover the files you changed - the unit and component suites, plus the integration classes for any touched backend file (commands from docs/project_context/ or the slice cards). Not the container-bound full run: the orchestrator's regression gate runs that once for the whole story, right after review. Everything green before must be green after; fix or revert anything you broke. Never hand back a red run.
  5. Commit refactor: simplify {story} - whole-story cleanup before review (one commit, unless the skill already committed per change).

Read the full file on GitHub · 83 lines

Changes

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.

  1. 25d ago Changed · +1 lines 715e5a1efe18
  2. 28d ago Changed · -3 lines · +31 tokens per session 08bdef3d1d43
  3. 1mo ago Changed · -4 lines 0f827ae4db1f
  4. 2mo ago Changed · +48 lines · +31 tokens per session 4bad61e471ff
  5. 2mo ago Changed 5c99100db204
  6. 3mo ago First seen · 41 lines · 31 tokens per session scan A 7917b8eb0dca

Subscribe to this mod's changes

impl-simplify is an agent published in the GitHub repository wei6bin/skills (2 stars, last pushed 25d ago), licensed MIT. It adds 93 tokens to every session and 963 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.

Related

impl-simplify compared with agents from other repositories

impl-simplify next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
impl-simplifywei6bin/skillsAgent225d agoMITA93Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42kyesterdayMITA11Claude Code
Context7-Expertgithub/awesome-copilotAgent42kyesterdayMITA22Claude Code
version-delta-analystanthropics/claude-plugins-officialAgent49ktodayApache-2.0A134Claude Code