cost-tier-routing — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited cost-tier-routing (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Opus tokens cost ~5x sonnet and ~25x haiku. Doing Read and Grep on opus is lighting money on fire. This skill is the discipline for routing every action to the cheapest model that can do it correctly.
This skill requires three companion agents —haiku-scout,haiku-importer, andsonnet-coder— installed in~/.claude/agents/. See this package'sREADME.mdfor the two-step install. The skill is inert without the agents because themodel:pin lives in the agent files, not here.
Before any of these actions in the main (opus) context, dispatch to a subagent instead:
| Action | Route to | Why |
|---|---|---|
Read more than 1–2 files in a row | haiku-scout | Bulk reads burn opus context |
Grep / Glob across the repo | haiku-scout | Mechanical lookup |
| "Where is X defined?" / "What references Y?" | haiku-scout | Pure search |
| Count LOC, list files, read a config | haiku-scout | Trivial IO |
| Convert/parse/split/merge data files | haiku-importer | Mechanical transform |
| Download + parse a fixture or seed file | haiku-importer | Mechanical IO |
| Write code at a known location with a known design | sonnet-coder | Implementation, not design |
| Refactor a function with clear constraints | sonnet-coder | Bounded edit |
| Run tests / typecheck after an edit | sonnet-coder (bundle with the edit) | Don't bounce back to opus mid-task |
Keep on opus (the orchestrator):
Tool split (CodeGraph first, Memtrace for heavy hits). Use CodeGraph (codegraph_explore / codegraph CLI) for symbol lookup, file reads, callers/callees, and ordinary blast radius. Reserve Memtrace (and cortex) for git history/evolution, recall_decision, cross-repo/API topology, risky blast radius (get_impact), PR review evidence, and dead code/complexity, because Memtrace costs quota. If ~/.claude/state/memtrace-quota.json says blocked with a future until, never call Memtrace; use CodeGraph until that time.
When you (opus) recognize a routable task:
haiku-scout, haiku-importer, or sonnet-coder. The model is pinned in the agent file; do not override unless you have a specific reason.haiku-scout calls in one message.Read of a file you're about to edit yourself — just read it.Grep (one pattern, one directory) you're about to act on immediately — just grep.The threshold is roughly: if the action will take >3 tool calls or >1000 tokens of file content, route it.
haiku-scout with a structural-survey brief.haiku-scout to return paths+excerpts in one shot.sonnet-coder if it involves >1 file or any test run.haiku-importer.Subagents are instructed to escalate when they hit reasoning work. When you get a report ending in ESCALATE: ..., that's the signal that the next step is genuinely yours. Don't push it back down — handle it on opus and re-dispatch a sharpened mechanical task if needed.
Before every tool call in the main context, ask: Could a cheaper model do this exact action with the same correctness? If yes, dispatch. If no, proceed.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.