model-router

Route tasks to the cheapest Claude model based on complexity.

Updated Apr 25, 2026
One-click install
npx skills add https://github.com/DevQwiet/my-skills --skill model-router-devqwiet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-router
Source: https://github.com/DevQwiet/my-skills/tree/main/model-router
Command: npx skills add https://github.com/DevQwiet/my-skills --skill model-router-devqwiet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

The model-router Skill Unit efficiently directs tasks to the most cost-effective Claude model, optimizing AI usage for various task complexities.

Core Features & Use Cases

  • Model Selection: Automatically chooses the most appropriate Claude model (Haiku, Sonnet, Opus) based on task complexity.
  • Task Classification: Provides guidelines for task classification using a decision matrix and signal words.
  • Execution Protocol: Defines a structured protocol for executing tasks, including classification, announcement, dispatch, and result delivery.
  • Override Rules: Offers guidelines for handling edge cases and user feedback, including model choice overrides and response evaluation.
  • Cost Reference: Provides a relative cost reference for each model, promoting efficient usage.

Quick Start

To route your task to the appropriate model, describe your task and let model-router guide you on the best Claude model to use.

Frequently Asked Questions about model-router

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

FAQPage Schema
How does AI model routing reduce Claude API costs?

AI model routing reduces Claude API costs by automatically classifying task complexity and dispatching read-only or standard development tasks to cheaper models like Haiku, reserving Opus for complex architecture.

How do I automatically choose the right Claude model for a specific coding task?

To choose the right Claude model, describe your task and the router applies a decision matrix with signal words to classify complexity, then announces and dispatches execution to Haiku, Sonnet, or Opus accordingly.

Can I override the model selection when routing AI tasks?

Yes, you can override the model selection. The execution protocol includes override rules for handling edge cases and user feedback, allowing you to manually adjust the chosen Claude model if the initial classification is unsuitable.

What is the best way to classify task complexity for AI cost efficiency?

The best way to classify task complexity for AI cost efficiency is using a decision matrix with signal words, categorizing work into read-only tasks, standard development, or complex architecture to match model capabilities.

When should I not use automatic model routing for development work?

You should not rely on automatic model routing when a task's context is ambiguous or lacks clear signal words, as incorrect complexity classification may dispatch complex architecture work to a cheaper, less capable model.