batch-simplify

batch-simplify is a skill for Claude Code from melodic-software/claude-code-plugins. It costs 81 tokens per session (7,990 once invoked), scanned A, original, MIT.

An automated way to run code-simplification checks across recently changed files or an entire repository, grouped by programming language and dependency order.

In plain words
What is it for?
Use it to simplify recent changes or all project code, optionally limited to documentation or selected paths.
Why use it?
It prevents simplification work from being forgotten after other tasks and keeps large cleanup jobs organized.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the code-tidying plugin — 5 skills shipped together

Good fit Use it to simplify recent changes or all project code, optionally limited to documentation or selected paths.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add melodic-software/claude-code-plugins
Claude Code
/plugin install code-tidying

Made for: Claude Code.

Or install code-tidying, the plugin that ships this one along with the rest of its 5 skills.

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 batch-simplify

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/melodic-software/claude-code-plugins/batch-simplify"><img src="https://agentmods.dev/badge/skills/melodic-software/claude-code-plugins/batch-simplify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,990 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00081 $0.07990
Opus 5.5 $0.00032 $0.03196
Sonnet 5.5 $0.00016 $0.01598
Haiku 4.5 $0.00008 $0.00799

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

Security

Grade A, and why

batch-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 3d 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.

plugins/code-tidying/skills/batch-simplify/SKILL.md · 328 lines

How it starts

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

Native step: simplify (bundled skill)

When the bundled simplify skill resolves in this session, Phase 6 step 2 invokes it with each group's file list as its target, in place of spawning the simplifier agent. This skill keeps the discovery, filtering, grouping, ordering, verification, and report around it. One mutating pass runs per group, never both. docs mode keeps the simplifier agent, since simplify has no factual-staleness pass, and records State: skipped (docs mode). The skill body enters context once and stays there.

Identity check. The name is in the skill listing; the description is advisory. A description that reads as a different surface is a likely user or project shadow: skip with a warning and spawn the agent. A name listed with no description is invoked with the warning "identity confirmed by name alone". Pointer for when the listing drops a description: Skill descriptions are cut short. As of: 2026-10-11. Recheck trigger: that section changes when a description is dropped.

Mutation. Groups the step runs over go one at a time, never in a parallel wave. Before each invocation, fingerprint the tracked files outside that group; any change there right after it is mutation detected after a scoped invocation, and the run exits degraded.

Skip report. When the step does not run, the state names why: did not resolve in this session, invocation refused (the reason, never retried), or identity mismatch; those three name the axis line: settings or environment, plan, platform or provider, host surface; and the enable path, read live from Bundled skills. As of: 2026-10-11. Recheck trigger: that section changes the settings that turn a bundled skill off. The matching row is in context/bundled-simplify.md (relay as of 2026-10-11; recheck when that table is renamed or moved). When simplify runs but says it ran a weaker procedure, the state is resolved but degraded, and the report relays its disclosure instead of calling the group fully simplified.

Result block. The Phase 8 report opens with this block, whichever state the step ended in:

Native step: simplify
State: ran | resolved but degraded (<disclosure>) | did not resolve in this session (<axis>) | invocation refused (<reason>) | identity mismatch | skipped (docs mode | unattended) | mutation detected after a scoped invocation
Scope: <file groups the step ran over, or none>
Outside-scope changes: none | <paths>

unattended: never invoke simplify; the simplifier agent runs every group, and the result block records State: skipped (unattended) without asking.

Arguments. [unattended] [time-window|branch|repo] [path...] [docs] [override] [in-place[=commit]]. e.g., /batch-simplify 72h, /batch-simplify branch docs, /batch-simplify repo plugins/foo. Default: 48h

Read the full file on GitHub · 328 lines

Files

What ships with it

5 files 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. 3d ago Changed · +9 lines 1f716d52ec9b
  2. 5d ago Changed · +6 lines eeaad7be1173
  3. 8d ago Changed · -15 tokens per session 214603e96e64
  4. 13d ago Changed 0a9167fc936b
  5. 15d ago Changed dec0208d78d7
  6. 16d ago Changed · +48 lines · +24 tokens per session c514065b93b5
  7. 17d ago Changed · -81 tokens per session bd31d5de9a7c
  8. 22d ago Changed · +1 lines 0c01d2d868bf
  9. 1mo ago Changed · +23 lines ee0a61274784
  10. 1mo ago First seen · 241 lines · 153 tokens per session scan A 74007b4fddf1

Subscribe to this mod's changes

batch-simplify is a skill published in the GitHub repository melodic-software/claude-code-plugins (25 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 7,990 once invoked, about $0.0003 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.