task-complexity-router
Installation
SKILL.md
Task Complexity Router
Version: 1.0.0 Purpose: Intelligent task routing to optimal model tiers for cost efficiency and performance Status: Production Ready
Overview
Task complexity routing is the practice of matching tasks to appropriate model tiers based on complexity, urgency, and resource requirements. Instead of using expensive premium models for all tasks, routing directs simple tasks to fast/cheap models and reserves expensive models for complex work.
This skill provides battle-tested patterns for:
- 4-tier routing system (Native Tools → Haiku → Sonnet → Opus)
- Complexity detection heuristics (keyword-based + context-based)
- Cost optimization strategies (save 60-90% on API costs)
- Dynamic tier escalation (upgrade when task stalls or fails)
- Routing integration (works with multi-agent-coordination, quality-gates, proxy-mode)
Well-designed routing can reduce AI costs by 60-90% while maintaining quality, since 70% of tasks can be handled by faster, cheaper models.