simplify

simplify is a skill for Claude Code, Codex from EzraApple/skills-init. It costs 24 tokens per session (309 once invoked), scanned A, original, MIT.

A code-cleanup guide for making recently written or changed code smaller, clearer, and easier to maintain without changing what it does.

In plain words
What is it for?
Use it during refactoring, diff review, or a cleanup pass to simplify implementation while preserving needed compatibility, safety checks, and domain complexity.
Why use it?
It helps identify unnecessary wrappers, duplicate concepts, dead code, and indirection that make future changes harder to understand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it during refactoring, diff review, or a cleanup pass to simplify implementation while preserving needed compatibility, safety checks, and domain complexity.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ezraapple/skills-init/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.

Any agent
npx skills add EzraApple/skills-init --skill simplify
Clone the repo
git clone --depth 1 https://github.com/EzraApple/skills-init

Made for: Claude Code, Codex.

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 simplify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ezraapple/skills-init/simplify"><img src="https://agentmods.dev/badge/skills/ezraapple/skills-init/simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 309 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.00024 $0.00309
Opus 5.5 $0.00010 $0.00124
Sonnet 5.5 $0.00005 $0.00062
Haiku 4.5 $0.00002 $0.00031

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

Security

Grade A, and why

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 18d 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.

skills/simplify/SKILL.md · 33 lines

What it actually says

Simplify

Reduce the work needed to understand and safely change the code. Line count is only a clue: fewer layers with more hidden state can be harder to maintain.

Trace the behavior and real callers before deleting a boundary. Find decisions that are duplicated, values renamed across layers, state kept in sync with derivable values, and wrappers that only forward arguments.

Prefer the direct version when it stays clear. Consolidate ownership and remove unneeded paths before adding an abstraction. A helper earns its place by naming a coherent operation, hiding a real boundary, or removing meaningful repetition. Single use alone is not a reason to inline it.

Pass an existing domain value through unchanged when it already represents what the next operation needs. Keep translation where it protects a real wire, storage, or public contract. Merge paths only when their invariants and failure behavior match; shared syntax is not enough.

Keep mutable state in the smallest useful scope. Derive values instead of maintaining parallel copies. Replace scattered conditionals with a domain model only when it removes invalid states or repeated rules.

For a requested implementation, make the smallest behavior-preserving change and check the affected contract. For review, report the concrete simplification, its benefit, and any compatibility cost. Leave complexity that represents a real domain constraint; a forced abstraction or rewrite is not a simplification.

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. 18d ago Changed · -195 lines · -23 tokens per session 41e07c431594
  2. 2mo ago First seen · 228 lines · 47 tokens per session scan A f148330af721

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository EzraApple/skills-init (2 stars, last pushed 19d ago), licensed MIT. It adds 24 tokens to every session and 309 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-08-31.

Related

Other skills, from other repositories

go-testing

Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.

Gentleman-Programming/gentle-ai · 26 tokens

design-review

Five-dimension design audit (frontend UI/UX · server data-model & flow · endpoint spec · daemon-runtime/SDK & local-cache-first · built-in skill/agent-role), executed by a NON-implementing agent. Every dimension gets a verdict; N/A only with a stated reason. A dimension the design silently skipped must be surfaced as…

Prismer-AI/PrismerCloud · 84 tokens

codebase-design

Design maintainable module interfaces, review scoped code changes, and simplify implementations with behavioral verification. Use for code review, cleanup, testability, and module design work.

Prismer-AI/PrismerCloud · 37 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/oh-my-openagent · 63 tokens

tech-lead/code-review

A checklist-based method for examining code for correctness, security, performance, clarity, and ease of maintenance.

echoVic/boss-skill · 52 tokens

pr-blocker-summarizer

Summarizes open pull requests into a blockers-first standup digest. Activates when the user asks to summarize open PRs, find blocked pull requests, generate a PR standup, or triage review backlog from a PR export.

FrancyJGLisboa/agent-skill-creator · 54 tokens