task-router
Installation
SKILL.md
Task Router
Smart routing layer that analyzes tasks and recommends the optimal agent to minimize Opus usage while maintaining quality.
When to Use
Always call analyze_task_routing before spawning a sub-agent. This prevents defaulting to Opus for tasks that Sonnet or Haiku can handle.
Tool: analyze_task_routing
Analyzes a task and returns the recommended agent with reasoning.
Usage:
// Before spawning
const routing = await analyze_task_routing({
task: "Polish the analytics dashboard UI",
context: "React + Tailwind, needs to match Command Center aesthetics"
});