model-router

Classify tasks and route them to Opus or Sonnet models by complexity.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/nhouseholder/nicks-claude-code-superpowers --skill model-router-nhouseholder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-router
Source: https://github.com/nhouseholder/nicks-claude-code-superpowers/tree/main/skills/model-router
Command: npx skills add https://github.com/nhouseholder/nicks-claude-code-superpowers --skill model-router-nhouseholder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Classify every incoming task and route to the optimal model based on complexity, ensuring the right level of thinking or execution is used.

Core Features & Use Cases

  • On-every-message classification to determine whether Opus (for planning, debugging, strategy) or Sonnet (for execution, formatting, simple edits) is required.
  • Clear tiering criteria and automated routing to subagents for parallel work.
  • Use-case scenarios include debugging sessions, architecture planning, feature design, and repetitive editing tasks that benefit from execution-tier processing.

Quick Start

Provide a task, and let the router automatically assign Opus for planning or Sonnet for execution.

Frequently Asked Questions about model-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route tasks to the right AI model based on complexity?

Route tasks to the right AI model by classifying every incoming message to determine whether Opus for planning and debugging or Sonnet for execution and formatting is required. This ensures the optimal level of thinking is applied automatically.

What is automatic task orchestration for AI agents?

Automatic task orchestration for AI agents is the process of routing tasks to subagents based on complexity classification. It enforces strict tier boundaries to delegate model-appropriate work like architecture planning to Opus and simple edits to Sonnet.

How do I automatically assign Opus for planning and Sonnet for execution?

Automatically assign Opus for planning and Sonnet for execution by providing a task to a model router. It performs on-every-message classification to delegate work to the appropriate tier, ensuring strategy tasks use Opus and repetitive editing uses Sonnet.

Can I use model routing for debugging sessions and architecture planning?

Yes, you can use model routing for debugging sessions and architecture planning. The router classifies these complex tasks and directs them to the Opus tier, while execution and formatting tasks are routed to Sonnet for efficient processing.

What is the best way to automate subagent delegation for parallel AI workflows?

The best way to automate subagent delegation for parallel AI workflows is using a model router that implements strict tier boundaries. It classifies complexity on every message and orchestrates subagents to handle execution-tier processing concurrently.

When should I not use complexity classification for model routing?

You should not use complexity classification for model routing when tasks do not fit clearly into planning or execution tiers, or when strict tier boundaries would prevent necessary fluid interaction between model tiers during complex debugging sessions.