/meta:model-routingfrom meta
Use 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.
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.
One rule above all: never leave model implicit on a spawned agent. An omitted model inherits
the session model (usually the most expensive tier), and fan-out multiplies that mistake by the
agent count. This skill exists because a real workflow once spawned 240 verifier agents on the
session's Opus — ~2.5× the cost of the same work on Sonnet — purely from omitted model: options.
In: you are about to spawn, fan out, or parallelize agents — any multi-agent work: a Workflow script, an eval loop, a reviewer fan-out, or writing agent-definition frontmatter.
Out: every spawned agent has an EXPLICIT model tier assigned before it launches — head reserved
for a small bounded set of final judges/synthesizers, mid-tier for judgment, cheap for mechanical
sweeps — and the fan-out's spend was priced before launch. The checkable expectations are in
evals/rubric.json.
| Tier | Model | Who runs here | Why |
|---|---|---|---|
| Head | opus / session model | Final judges, synthesis, architecture verdicts. Bounded set: fixed reviewer agents (one instance each) and at most ~3 head agents per workflow | High cost of error, low count |
| Work | sonnet | Reviewers, verifiers/skeptics, bug hunters, code-reading with judgment, doc/architecture hunters | Reads code and reasons; ~40% of head price |
| Sweep | haiku | Greps, file sweeps, renames, counting, format checks, Explore-style searches | No judgment needed; ~20% of head price |
Rule of thumb: if the agent's prompt says decide / judge / verify / trace / place → Work tier. If it says find / list / count / rename / collect → Sweep tier. Head tier is never the default — each head agent needs a one-line justification.
Every agent(...) call carries an explicit model: (and effort: 'low' on mechanical stages).
Head-tier cap: at most 3 head-model agents per workflow script. Fixed agent definitions with
their own model: frontmatter (e.g. a reviewer set) are exempt — they are bounded by design.
Hard agent budget: every loop has a round cap or agent ceiling. "Loop until no new findings" does NOT converge with creative models — they always invent something.
Dedup by location, not by title. Agents rephrase the same finding every round; title-string dedup lets the fan-out snowball.
Measure one, then announce scale — as a table, BEFORE launch. For any multi-instance run
(workflow fan-out, eval probes, agent fleets): run ONE representative unit capturing real usage
(--output-format json → usage + total_cost_usd, or the task-notification total_tokens),
never estimate from gut feeling. Then show the user this table and wait for the go-ahead when
the spend is non-trivial:
Metrics as ROWS, one row per token class; the share column is the CURRENT 5-hour session window (the quota that actually gates right-now work):
| Metric | Per 1 unit | × N units | ≈ % of 5h session window |
|---|---|---|---|
| input | measured | multiplied | price-weighted share |
| cache-write | measured | multiplied | price-weighted share |
| cache-read | measured | multiplied | price-weighted share |
| output | measured | multiplied | price-weighted share |
| Total | sum | sum | the headline number |
NO raw dollar figures in the user-facing table — window percentages only (dollars stay an
internal conversion step). Calibrate window capacity from the user's /usage panel
(approximate and machine-local — mark shares with ≈; refresh the calibration pair in memory
whenever the user shows a fresh panel). If the window is already saturated, say so and
propose waiting for the reset instead of launching into throttling.
Progress beacon — always. Every multi-item background queue writes its position to
~/.claude/progress/current.json after EACH item:
{"task", "step", "total", "item", "eta", "updated_epoch"}. The user's status line renders it
live (⚙ task 7/15 · item · ETA hh:mm); stale beacons (>15 min) auto-hide. A queue without a
beacon leaves the user staring at a silent shell — that is a defect, not a style choice.
.claude/agents/*.md)Persistent agents get their tier pinned in frontmatter (model: sonnet / model: haiku) so every
launch is cheap by construction. Only head-tier agents may omit it (inherit).
| Thought | Reality |
|---|---|
| "It's just a few agents, the default model is fine" | Fan-out multiplies. 5 finders × rounds × 2 verifiers = hundreds. Set the model. |
| "This verify task is subtle, it needs the big model" | Refuting a claim by reading code is Work tier. If the synthesis is subtle, put ONE head agent at the end. |
| "Haiku everywhere, cheapest wins" | Judgment tasks on Sweep tier return confident garbage — you pay twice: once for the run, once for the rework. |
| "The loop will stop when findings dry up" | It won't. Creative models never run dry. Cap rounds or budget. |
| "I'll remember to set models next time" | Memory is advisory. The PreToolUse guard hook blocks what discipline forgets. |
agent() / spawn carries an explicit model tier — none silently inherits the session model.model: sonnet/haiku); only head-tier
agents omit it.evals/rubric.json.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 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)./new-skillCreate a New SkillUse this skill to author a brand-new skill FROM SCRATCH — deciding its plugin/domain, folder name, file placement, and writing its SKILL.md, frontmatter, and initial metadata.yaml sidecar. Triggers for "create/add/write a new skill for X", "where does the SKILL.md go", "what's the naming convention or folder structure for a new skill", or "what goes in the description frontmatter" — including standing up a NEW domain plugin with its plugin.json, and choosing between a marketplace skill and one local to a single repo. This is about scaffolding a NOT-YET-EXISTING skill's structure and location, NOT about tuning, evaluating, or fixing an EXISTING skill's trigger behavior (skill-creator), and NOT about refreshing an EXISTING skill's metadata.yaml after its body/tools/scripts/hooks changed — that is the separate `meta:update-skill` skill. Also NOT for ordinary code, components, or config in a project. If the skill already exists, use `meta:update-skill` or `skill-creator` instead./ockham⚔️ OCKHAM — The RazorThe 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./reuse-firstReuse firstUse before implementing any non-trivial piece of functionality in any stack — a drag-and-drop list, a tooltip or popover, a dialog, a date formatter, a form with validation, a debounce, a virtual list, a data table, a fetch cache, an animation, a parser — when the question is whether to write it or take it from somewhere: the codebase, the platform, a composable/hook library, or a mature package. Also use when reviewing a change that added a hand-written version of a well-known thing, or when asked "is there a library for this" / "should we write our own". NOT for reusing an in-repo React UI primitive (frontend-react:ui-primitive-reuse) and NOT for trimming an over-built design that is already ours (meta:ockham)./skill-evalSkill Eval — Faithful Trigger ScoringUse when you need to know whether a skill's `description` actually makes Claude reach for it — scoring an existing skill's trigger accuracy before shipping it, after editing its description, or when someone reports that a skill "never triggers" and you need to find out why. Also use to read a score you already have: what a miss means, and what a should-not-trigger query that fired means. Do NOT use to REWRITE a skill's description or body (use `meta:update-skill` — measuring is this skill's job, rewriting is that one's), and never measure with skill-creator's `run_eval`/`run_loop`, which produces systematic false zeros./solidSOLID — the design law for all codeSOLID is the design law for all code — SRP/OCP/LSP/ISP/DIP plus DRY, KISS, YAGNI. Activate at DESIGN time and whenever writing, editing, or reviewing code in ANY language or stack — ESPECIALLY when a class, function, hook, route, or method does several things (fetches + formats + writes, or auth + validation + DB in one method) and you're weighing whether to split it; a switch or if-chain keeps growing with new cases; you're deciding how one module should depend on or import another; or designing an interface or extension point. Pairs with meta:ockham (whether an entity should exist at all) — SOLID governs how the entities that DO exist are structured.npx claudepluginhub aquivalabs/bladeforge --plugin meta