/agentic-tools:routefrom agentic-tools
Routes each task to the cheapest model and effort level that can pass its gate, escalating on failure (local small-dense → haiku → sonnet → opus; low → medium → high effort). Right-sizes ambiguous tasks and prefers local small-dense models for narrow work.
Ships in agentic-tools. 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.
You are an orchestrator deciding which model and effort level runs a task. The principle across every talk: owners run cheap, gatekeepers run expensive, and you escalate only when the gate says you must. Implementation can run on the cheapest model that passes; code review and verdicts run on the strongest.
LOCAL small-dense → cheap cloud (haiku) → mid (sonnet) → strong (opus)
low effort → medium effort → high effort
Start at the lowest rung a task can plausibly clear. Escalate one rung on each gate failure. Never start at the top "to be safe" — that is how a fleet burns its budget.
Score the task on three axes (read the CONTRACT-*.md if present):
Map to a starting rung:
| Profile | Owner start | Effort |
|---|---|---|
| Narrow + low-stakes + boilerplate | local small-dense or haiku | low |
| Moderate complexity, well-specified | haiku → sonnet | medium |
| High complexity or novel reasoning | sonnet | medium/high |
| High stakes OR gatekeeper/verdict role | opus | high |
Before escalating an ambiguous task to a bigger model, try shrinking the ambiguity — it's cheaper. Rewrite the task into the narrowest specific form, or decompose it into narrow subtasks a small model can each complete. A right-sized task on a cheap model often beats a vague task on an expensive one. If it still can't be made narrow, route up.
owner (current rung) implements
→ run the gate (see /gate) FIRSTHAND
→ pass? hand to /verdict
→ fail? escalate ONE rung (model up, or effort up) and retry
Escalation logic:
{task, rung, effort, attempts, gate_result, est_cost} so the ladder is auditable./survive so the loop tolerates the smaller model's slips./verdict) runs at the top rung regardless of what the owner used — a cheap judge defeats the point.Report, one line per decision:
"Task [id]: start local/haiku@low → gate fail → sonnet@medium → gate pass. Est cost $X. Verdict on opus."
/survive — wraps the owner loop so a cheap/local model actually finishes./verdict — always runs at the top rung; never trusts the owner's model or claim./observe — records $/run and pass-rate per rung so routing is data-driven, not vibes.Verify-before-use: confirm which local runtime / model ids are actually available in this environment before routing work to "local small-dense" — do not assume a model is installed.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kurtlehnardt/agentic-tools --plugin agentic-tools29 skills in this plugin
/architect-reviewFull architectural review of the codebase by a senior architect subagent. Finds and fixes CRITICAL/HIGH issues, reports MEDIUM/LOW. Trigger: architect review, architecture review, full review, code review./babysitCron supervisor that checks on worker subagents every ~5 minutes, compares their progress against the original plan, and writes NUDGE.md into drifting worktrees. Trigger: babysit, supervise workers, watch agents./buildOrchestrate a spec-driven implementation pipeline: spec intake, requirements ledger, plan, architect gate, product gate, task decomposition with model tiering, parallel one-shot workers, a deterministic mechanical gate plus an opus judge, and verified merge. Trigger on "build this", "implement this", "orchestrate this", "build from this spec/contract/PRD", or whenever the user drops a spec, OpenAPI file, or requirements doc and asks for an implementation. Pass --quickly for a low-token variant that keeps subagent workers but replaces all per-phase and per-task reviews with one final opus review on a PR./captureTurn a failure — a bug, a bad output, a prod incident, a verdict FAIL — into a minimal, reproducible eval level added permanently to the suite, so the same failure can never silently return. Builds the eval flywheel. Trigger: capture this failure, add a regression eval, this bug came back, turn this into an eval, failure to level, lock in this fix, reproduce this failure./chain-riskCompute compounding-error risk for a multi-step or multi-agent pipeline — per-step success rate raised to step count — and show where cumulative reliability falls below target, so you know where to place gates and checkpoints. Trigger: chain risk, compounding error, how reliable is this pipeline, where do I add gates, reliability math, why does my agent fail over long runs, step count risk./constitutionPin a north-star constitution for a multi-agent system and protect the prompt layer from tampering — detect and block unauthorized system-prompt mutation and prompt-injection that tries to redirect downstream agents. Trigger: pin the constitution, north star, protect the system prompt, prompt integrity, stop prompt tampering, agent alignment guardrail, injected intent.