adaptive-subagents
Installation
SKILL.md
Adaptive Subagent Routing
FIRST: Decompose Before Acting
Do NOT start working on the task directly. Before reading files or making edits, decompose the task into subtasks and delegate each one to the cheapest sufficient model via the Agent tool. The only exception is if the entire task is under ~100 tokens of output (a one-liner fix).
Quick Decision (apply to EVERY delegation)
Default: Haiku. Escalate only with reason.
- Is this a mechanical lookup? (find files, grep for a string, list structure, check if something exists) → Haiku
- Does it require comprehension or writing? (implement, refactor, test, debug, fix, analyze code, explain logic, summarize complex systems) → Sonnet
- Is it architectural, security-sensitive, or ambiguous? → Opus
Haiku boundary: Haiku can find things and format things. It cannot understand or reason about code. If the task requires reading code and making a judgment, that's Sonnet.
If unsure between two tiers, pick the cheaper one. Escalate after failure, not before.