simplify

simplify is a skill for Claude Code, Codex from baleen37/bstack. It costs 63 tokens per session (943 once invoked), scanned A, a copy of simplify, MIT.

A code-cleanup skill that reviews the current Git changes for repeated code, unnecessary complexity, efficiency issues, and inconsistent abstraction level, then applies fixes. It is not intended to find correctness bugs.

In plain words
What is it for?
Use it to simplify a diff, clean up a branch, or review a specified pull request, branch, or path.
Why use it?
It separates code tidying from bug hunting, helping improve changed code without changing its behavior.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Part of the me plugin — 10 skills, 1 agent, 7 hooks shipped together

Good fit Use it to simplify a diff, clean up a branch, or review a specified pull request, branch, or path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/baleen37/bstack/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 baleen37/bstack --skill simplify
Clone the repo
git clone --depth 1 https://github.com/baleen37/bstack

Made for: Claude Code, Codex.

Or install me, the plugin that ships this one along with the rest of its 10 skills, 1 agent, 7 hooks.

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/baleen37/bstack/simplify/github.svg)](https://agentmods.dev/skills/baleen37/bstack/simplify)
Your own site
<a href="https://agentmods.dev/skills/baleen37/bstack/simplify"><img src="https://agentmods.dev/badge/skills/baleen37/bstack/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/baleen37/bstack/simplify"><img src="https://agentmods.dev/badge/skills/baleen37/bstack/simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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 86% copy Near-identical to another mod 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.00063 $0.00943
Opus 5.5 $0.00025 $0.00377
Sonnet 5.5 $0.00013 $0.00189
Haiku 4.5 $0.00006 $0.00094

Measured 19d ago against content hash ad52fbc127e0, 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 19d 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.

Origin

This is a copy

86% identical to simplify — 45 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/me/skills/simplify/SKILL.md · 91 lines

How it starts

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

Simplify

simplify → 4 cleanup agents in parallel → apply the fixes

You are improving the quality of the changed code, not hunting for bugs. Review it for reuse, simplification, efficiency, and altitude issues, then fix what you find. Do not look for correctness bugs — that is what me:code-review is for.

If the invocation carries a target (a PR number, branch name, or path), state Review target: <target> and review that instead of the default diff.

Tool mapping

This skill runs on Claude Code and Codex. The subagent tool is the Agent tool on Claude Code, and spawned subagents (for example spawn_agent) on Codex when multi-agent is enabled. If no subagent tool is available, follow the Single-pass fallback instead of erroring.

Phase 0 — Gather the diff

Run git diff @{upstream}...HEAD (or git diff main...HEAD / git diff HEAD~1 if there's no upstream) to get the unified diff under review. If there are uncommitted changes, or the range diff is empty, also run git diff HEAD and include the working-tree changes in scope — the review often runs before the commit. If a PR number, branch name, or file path was passed as an argument, review that target instead (gh pr diff <n> for a PR). Treat this diff as the review scope.

Phase 1 — Review (4 cleanup agents in parallel)

Launch 4 independent review agents via the subagent tool, all in a single message so they run concurrently. Pass each agent the diff and one of the four angles below, verbatim. Each returns its findings with file, line, a one-line summary, and the concrete cost (what is duplicated, wasted, or harder to maintain).

Reuse

Flag new code that re-implements something the codebase already has — grep shared/utility modules and files adjacent to the change, and name the existing helper to call instead.

Simplification

Flag unnecessary complexity the diff adds: redundant or derivable state, copy-paste with slight variation, deep nesting, dead code left behind. Name the simpler form that does the same job.

Read the full file on GitHub · 91 lines

Files

What ships with it

1 file 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.

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. 19d ago First seen · 91 lines · 63 tokens per session scan A ad52fbc127e0

Subscribe to this mod's changes

simplify is a skill published in the GitHub repository baleen37/bstack (4 stars, last pushed 18d ago), licensed MIT. It adds 63 tokens to every session and 943 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to simplify, differing in 45 lines, and is treated as a copy.

Related

Other skills, from other repositories

review-implement-phase

Implements triaged review actions, commits focused fixes, and posts Done plus resolves threads. Use when the user wants only the implementation phase of the review-framework workflow.

prisma/orm · 38 tokens

pr

Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.

Yeachan-Heo/oh-my-claudecode · 47 tokens

merge-batch

Prepare and merge an owner-selected PR batch with contributor credit and exact-candidate admission. Use for a pasted PR list; combined focused validation is diagnostic, and every actual landing still requires its applicable checks and authorization.

diegosouzapw/OmniRoute · 46 tokens

otto-pr-review-loop

Run Polly and OCR on a PR until all findings settle.

omnigent-ai/omnigent · 17 tokens

engram-branch-pr

PR creation workflow for Engram following the issue-first enforcement system. Trigger: When creating a pull request, opening a PR, or preparing changes for review.

Gentleman-Programming/engram · 37 tokens

verify-behavior

Verify or reproduce visible product behavior by driving the real UI with pi-computer-use's checked tools, requiring verified expect postconditions and durable state evidence for meaningful UI flows. Use when triage needs visual reproduction, implementation needs behavioral proof, review needs interactive confirmation…

nicknisi/dotfiles · 68 tokens