simplify

simplify is a command for Claude Code from azrtydxb/procoder. It costs 39 tokens per session (501 once invoked), scanned A, original, Apache-2.0.

A focused code review looks for code that should not exist, such as dead code, unnecessary abstractions, or features already provided by the language or platform.

In plain words
What is it for?
Use it to review a working-tree diff before a pull request, or sweep a repository before creating a release tag, with a required replacement for every finding.
Why use it?
It helps reduce needless code without mixing this review with checks for bugs, security, or speed.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the procoder plugin — 1 skill, 34 commands shipped together

Good fit Use it to review a working-tree diff before a pull request, or sweep a repository before creating a release tag, with a required replacement for every finding.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/azrtydxb/procoder/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/azrtydxb/procoder

Made for: Claude Code.

Or install procoder, the plugin that ships this one along with the rest of its 1 skill, 34 commands.

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/commands/azrtydxb/procoder/simplify/github.svg)](https://agentmods.dev/commands/azrtydxb/procoder/simplify)
Your own site
<a href="https://agentmods.dev/commands/azrtydxb/procoder/simplify"><img src="https://agentmods.dev/badge/commands/azrtydxb/procoder/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/commands/azrtydxb/procoder/simplify"><img src="https://agentmods.dev/badge/commands/azrtydxb/procoder/simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 501 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.00039 $0.00501
Opus 5.5 $0.00016 $0.00200
Sonnet 5.5 $0.00008 $0.00100
Haiku 4.5 $0.00004 $0.00050

Measured 1mo ago against content hash 78eb0d52a63b, 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 1mo 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.

.kilo/commands/simplify.md · 50 lines

What it actually says

The user invoked /procoder:simplify with arguments:

The command below is the procoder binary on PATH.

This review hunts one thing only: code that should not exist. Correctness bugs, security, performance — out of scope here; those belong to procoder check, security, and /procoder:debug.

Scope: with no arguments, review the working-tree diff (git diff plus staged). With repo (or a path) in the arguments, sweep that whole scope — use procoder index unused and procoder maintain as starting evidence, then read.

The diff pass runs before every pull request; the repo sweep before a tag.

Every finding is one line, with a mandatory replacement — a finding without a replacement is hedging, not reviewing:

<file>:L<line>: <tag> <what>. <replacement>.

The five tags:

  • delete: dead code, unused flexibility, speculative feature. Replacement: nothing.
  • stdlib: hand-rolled code the standard library ships. Name the function.
  • native: a dependency or code doing what the platform already does (CSS over JS, a DB constraint over app code). Name the feature.
  • yagni: an abstraction with one implementation, config nobody sets, a layer with one caller.
  • shrink: same logic, fewer lines. Show the shorter form.

End with the score line: net: -<N> lines possible. — and when there is genuinely nothing to cut, say exactly Lean already. Ship. and stop; never invent findings to look thorough.

Rules:

  • Never flag a lone smoke test or assert-based self-check as bloat — the minimum check is part of the code, not decoration (see /procoder:tdd).
  • A deliberate simplification marked with the debt marker (see procoder debt) is a recorded decision, not a finding — unless its revisit trigger has arrived.
  • List the cuts; do not apply them. The user (or the task at hand) decides — P-CONTROL applies to reviews too.
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. 1mo ago First seen · 50 lines · 39 tokens per session scan A 78eb0d52a63b

Subscribe to this mod's changes

simplify is a command published in the GitHub repository azrtydxb/procoder (211 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 501 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-08-30.