minimalism

minimalism is a skill for Claude Code, Codex from tmj-90/gaffer. It costs 94 tokens per session (1,164 once invoked), scanned A, original, Apache-2.0.

A quality rule focused on making the smallest correct code change. It is described as a fixture for an always-applied quality lens.

In plain words
What is it for?
Use it to judge whether a proposed change is minimal and sufficient.
Why use it?
It encourages avoiding unnecessary edits when solving a task.

Skill for Claude CodeCodex

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

Good fit Use it to judge whether a proposed change is minimal and sufficient.

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

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 minimalism

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tmj-90/gaffer/minimalism"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/minimalism.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,164 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.00094 $0.01164
Opus 5.5 $0.00038 $0.00466
Sonnet 5.5 $0.00019 $0.00233
Haiku 4.5 $0.00009 $0.00116

Measured 2mo ago against content hash 68ab55fc3ee5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

minimalism 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 2mo 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.

runner/skills/minimalism/SKILL.md · 82 lines

How it starts

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

Minimalism — least code that fully works

Deliver the smallest correct change: fewer files, fewer lines, fewer moving parts, fewer tokens spent — never fewer guarantees. Every acceptance criterion is still met in full; you only refuse the scope, layers and abstractions the ticket did not ask for. Small diffs are also easier to review, so defects are more likely to be caught.

This is a lens, not a stage: apply it while you implement (alongside the plan-change skill and the build skill for the ticket) and confirm it in the self-review skill.

The four questions (ask in order; stop at the first that resolves it)

  1. YAGNI — does this need to exist at all? Delete speculative code paths, options, config knobs and "future-proofing" nobody asked for. If a file, class, flag or public symbol is not required by an AC, it is out of scope.
  2. Standard library before custom code. Use what the language ships (collections, string/date/JSON utilities, iterators, itertools, Array/Map) before hand-rolling.
  3. Native platform features before a new dependency. Prefer what the runtime, framework or browser provides. A new dependency is supply-chain risk and build weight, and in this factory it needs human approval: raise it with request_decision (or mark_ticket_blocked if the ticket cannot proceed without it) instead of adding it.
  4. One line before fifty. Prefer the direct expression: a function over a framework, composition over a class hierarchy, a literal over a config system. Clarity first — a clear short solution beats a cryptic shorter one.

Intensity levels

Default is full. Choose by the ticket's risk.

  • lite — avoid obvious over-engineering and dead options; otherwise follow the repo's prevailing style even when verbose. For high-risk or unfamiliar code.
  • full (default) — apply all four questions; drop every layer, option and abstraction no AC demands. The standard delivery posture.
  • ultra — justify every file, dependency and public symbol you add; collapse anything that can be collapsed without losing correctness or clarity. When the ticket asks for the most minimal change possible.

Read the full file on GitHub · 82 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. 2mo ago Changed · +16 lines 68ab55fc3ee5
  2. 2mo ago Changed · +55 lines · +81 tokens per session 42d011c72730
  3. 3mo ago First seen · 11 lines · 13 tokens per session scan A cd7e2b1a6be9

Subscribe to this mod's changes

minimalism is a skill published in the GitHub repository tmj-90/gaffer (1 stars, last pushed yesterday), licensed Apache-2.0. It adds 94 tokens to every session and 1,164 once invoked, about $0.0004 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

minimalism compared with skills from other repositories

minimalism next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
minimalismtmj-90/gafferSkill1yesterdayApache-2.0A94Claude Code, Codex
bulwark-brainstormQBall-Inc/the-bulwarkSkill9yesterdayMITA50Claude Code
plan-creationQBall-Inc/the-bulwarkSkill9yesterdayMITA38Claude Code
anthropic-validatorQBall-Inc/the-bulwarkSkill9yesterdayMITA40Claude Code
code-reviewQBall-Inc/the-bulwarkSkill9yesterdayMITA61Claude Code
create-subagentQBall-Inc/the-bulwarkSkill9yesterdayMITA42Claude Code
mock-detectionQBall-Inc/the-bulwarkSkill9yesterdayMITA13Claude Code