minimal-change

minimal-change is a skill for Claude Code from yoeld-wix/quiet-bash. It costs 74 tokens per session (528 once invoked), scanned A, original, MIT.

A coding guide for making the smallest change that correctly solves a feature request or bug. It encourages reusing existing code and tools before adding new structure or dependencies.

In plain words
What is it for?
Use it before implementing a feature or fix in an existing codebase. It helps choose between an existing helper, the standard library, an installed dependency or new code.
Why use it?
It helps prevent unnecessary rewrites, extra files and avoidable dependencies. The focus remains on understanding the code path first so a shorter change does not introduce a second bug.

Skill for Claude Code

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

Part of the quiet-bash plugin — 3 skills, 3 hooks shipped together

Good fit Use it before implementing a feature or fix in an existing codebase. It helps choose between an existing helper, the standard library, an installed dependency or new code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yoeld-wix/quiet-bash/minimal-change
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 yoeld-wix/quiet-bash --skill minimal-change
Clone the repo
git clone --depth 1 https://github.com/yoeld-wix/quiet-bash

Made for: Claude Code.

Or install quiet-bash, the plugin that ships this one along with the rest of its 3 skills, 3 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 minimal-change

README.md
[![agentmods](https://agentmods.dev/badge/skills/yoeld-wix/quiet-bash/minimal-change/github.svg)](https://agentmods.dev/skills/yoeld-wix/quiet-bash/minimal-change)
Your own site
<a href="https://agentmods.dev/skills/yoeld-wix/quiet-bash/minimal-change"><img src="https://agentmods.dev/badge/skills/yoeld-wix/quiet-bash/minimal-change/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 minimal-change

Your own site · 80×15
<a href="https://agentmods.dev/skills/yoeld-wix/quiet-bash/minimal-change"><img src="https://agentmods.dev/badge/skills/yoeld-wix/quiet-bash/minimal-change.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 528 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.00074 $0.00528
Opus 5 $0.00037 $0.00264
Sonnet 5 $0.00015 $0.00106
Haiku 4.5 $0.00007 $0.00053

Measured 9d ago against content hash 0721d6768648, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

minimal-change 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 9d 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/minimal-change/SKILL.md · 45 lines

How it starts

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

Write the Smallest Correct Change

quiet-bash's hooks cut the input you re-send every turn. This is the other half: the output the model generates — billed ~3–5× input and produced one token at a time, so it drives both cost and latency. Less code generated means a cheaper, faster turn — and less to read, test, and maintain afterward.

The target is the smallest change that fully solves the problem you actually understand. Small is not the goal by itself: a tiny diff in the wrong place, or a tiny diff that's subtly broken, costs far more than it saves.

Understand before you shrink

Read the request and the code it touches, and follow the real flow, before picking an approach. Minimizing a change you haven't understood is how the second bug ships.

Reach for the least first

Go down this list only until something fully solves it:

  • Don't build it if it isn't needed yet — skip speculative structure and abstractions nobody asked for.
  • Reuse a helper or pattern already in this repo before writing a new one.
  • Use the standard library or platform before reaching for a dependency.
  • Use a dependency that's already installed before adding another.
  • Then write the fewest lines that work — prefer deleting to adding, boring to clever, fewer files to more.

For a bug, fix the shared root cause once rather than patching each caller.

The no-regression floor (never shrink these)

Cutting code must never cut correctness. Always keep: input validation at trust boundaries, error handling that prevents data loss, security, accessibility, and anything explicitly requested. Leave one small runnable check behind for non-trivial logic. If you knowingly take a shortcut, name its limit in a one-line comment.


Inspired by the open-source ponytail project (MIT), which delivers this idea as a dedicated cross-agent tool. If you want it always-on across every agent, install ponytail; this skill is quiet-bash's lightweight, in-repo take.

Read the full file on GitHub · 45 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. 9d ago First seen · 45 lines · 74 tokens per session scan A 0721d6768648

Subscribe to this mod's changes

minimal-change is a skill published in the GitHub repository yoeld-wix/quiet-bash (5 stars, last pushed 2mo ago), licensed MIT. It adds 74 tokens to every session and 528 once invoked, about $0.0004 per session on Opus 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.