/meta:ockhamfrom meta
The Razor. Invoke before creating ANY new entity — file, folder, module, class, function, component, hook, util, type, prop, variant, config key, abstraction layer, doc, or top-level category — in ANY language or stack. Not domain-specific. If you are about to bring a new thing into existence, OCKHAM speaks first.
Ships in meta. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Entia non sunt multiplicanda praeter necessitatem. "Entities must not be multiplied beyond necessity." — William of Ockham, c. 1320, who would have hated your
utils2.ts.
.-"""-.
/ \ A hooded friar steps out of the 14th century,
| o o | holding a single, very sharp razor.
| > | He looks at the file you are about to create.
\ ___ / He says nothing. He simply waits.
'-----'
||||| You already know the question.
The 30-second theory (why the razor exists — the entity-as-debt metaphor) → references/lore.md.
In: you are about to bring a NEW entity into existence — a file, folder, module, class, function, component, hook, util, type, prop, variant, config key, abstraction layer, doc, or top-level category, in any language or stack.
Out: the entity exists only when all three gates passed in order and a concrete trigger was named;
otherwise it was hosted inside an existing entity, and any dead or duplicate one nearby died in the
same change — the net entity count is flat or falling. The checkable expectations are in
evals/rubric.json.
The instant you are about to bring a new thing into existence:
touch newfile, mkdir, a new module/class/function/type/interfaceIf you are only editing existing things, the razor naps — but still nudges: could this edit delete an entity instead of adding one?
When OCKHAM activates you must:
"Philosophical debates used to be more civil…"
.-"""-. .-"""-.
/ > < \ / O O \
| ^ | | ~ |
\ vvv /‾\___ \ _._ /
_____\___/ '-._\______/____
/ OCKHAM \ (( headlock )) \ philosopher \
| |================| |──▭
\__________/ arms locked \_____________/ ↑ razor
Ockham ▶ "DON'T MULTIPLY ENTITIES, YOU KNAVE! DON'T MULTIPLY ENTITIES!"
philosopher ◀ "Fine, Ockham, just put the razor down!"
⚔️ OCKHAM: about to create
<thing>— do we actually need a new entity, or can something existing hold this?
DON'T MULTIPLY ENTITIES. DON'T MULTIPLY ENTITIES.
This is not theatre for its own sake — voicing it forces the choice into the
open where the user can veto it. A silent New File is how sprawl wins.
Default answer: no. Can an existing file / module / folder reasonably host this? Then put it there. A new entity earns life only when no existing one can absorb it without becoming a monster.
variant / param / case) before forking a copy.Copy-paste-and-rename is the razor's mortal enemy. Two near-identical entities are worse than one slightly-more-general entity.
Build for the cases that exist today. No props/layers/wrappers/options for imagined futures (YAGNI). Three real call-sites justify an abstraction; one hypothetical does not. An indirection that only forwards its arguments (a wrapper that adds no behavior, a "manager" with one method) is an entity that must not be born — prefer the native / direct thing.
The excuses you'll reach for under deadline — and what's actually true:
| Thought (the excuse) | Reality |
|---|---|
| "It's just one small file / helper" | One file breeds the next. Host it in something that already exists. |
| "I'll need it later / for the future" | YAGNI. Build for today's real call-sites; a maybe-later entity is pure interest. |
| "Cleaner to split this out now" | Cleaner ≠ more entities. One well-named unit beats five premature ones. |
| "Basically the same, I'll just copy + rename" | Two near-clones are worse than one general entity. Extend, don't fork. |
| "A wrapper / manager makes it tidy" | An indirection that only forwards its args is dead weight. Use the direct thing. |
| "The rule is obviously overkill here" | The razor exists for the cases that feel obvious. Pass the gates anyway. |
Creating is correct when you can name at least one trigger:
Name the trigger in your announcement. "OCKHAM sheathed: justified by real duplication across 3 call-sites." No nameable trigger → no new entity.
There is exactly one good reason to create an entity that this skill did not list: deleting two others. If your new file lets you remove two existing ones, the razor doesn't just allow it — it smiles. Net entities must go down.
Keep a private tally as you work. End-state rule of thumb: a good refactor's
git diff has more deletions than additions. If yours doesn't, the friar is
still standing behind you, tapping the razor.
Before any New File, walk the blade:
⚔️ OCKHAM: do we need this?).evals/rubric.json.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aquivalabs/bladeforge --plugin meta10 skills in this plugin
/lean-writingLean Writing — specs & brainstorming resultsUse this skill to WRITE terse technical documents. Trigger when asked to write, draft, summarize, present, or update a spec, design doc, RFC, brainstorming/exploration summary, or a decision log of options considered — e.g. "write the spec for…", "draft a design doc…", "write up the options we considered…", "present the brainstorming results…", "summarize the exploration we did…" — even if the user never says "concise". Produce short plain sentences, bullets over prose, no filler; caveman-simple but technically precise. NOT for normal conversation, code, or commit/jira messages, and NOT for reviewing or auditing an already-written doc for clarity or bloat (that's meta:wittgenstein)./model-routingModel Routing — the right model for every agentUse whenever the plan is to spawn, fan out, or parallelize agents — ANY multi-agent work, not just when models are mentioned. Triggers: "spawn/kick off subagents", "a bunch of agents in parallel", fleets that audit/comb/sweep/hunt across files, verify or skeptic stages, reviewer fan-outs, loop-until-done runs, authoring or editing a Workflow script (agent()/parallel()/pipeline()), or writing agent-definition frontmatter. Every spawned agent must get an EXPLICIT model tier assigned BEFORE it launches: reserve expensive head models for a small bounded set of final judges/synthesizers; mid-tier for judgment (review, verify, hunt); cheap tier for mechanical sweeps (grep, list, count, rename). Activate even when the user says nothing about models or cost — an omitted model silently inherits the pricey session model, and fan-out multiplies that waste by the agent count.Other plugins' skills for the same job