Agent skill · AI & Agents

route

Manually route a query to the optimal Claude model (Haiku/Sonnet/Opus)

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill route-aiskillstore-marketplace-3 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/ai-llm/route-aiskillstore-marketplace-3/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Manual Model Router Override automatic model selection and force a specific Claude model for your query. ## Usage ``` /route <model> <query> ``` Where `<model>` is one of: - `haiku` or `fast` - Use Haiku for simple, quick tasks - `sonnet` or `standard` - Use Sonnet for typical coding tasks - `opus` or `deep` - Use Opus for complex analysis ## Instructions Parse $ARGUMENTS to extract the model and query: 1. **Extract model** - The first word should be the model name (haiku/fast, sonnet/standard, opus/deep) 2. **Extract query** - Everything after the model name is the query to execute 3. **Validate** - If no valid model is specified, show usage help 4. **Route** - Use the Task tool to spawn the appropriate subagent: - haiku/fast -> spawn "fast-executor" subagent with model: haiku - sonnet/standard -> spawn "standard-executor" subagent with model: sonnet - opus/deep -> spawn "deep-executor" subagent with model: opus 5. **Return** - Prefix the response with the model override info ## Model Mapping | Argument | Executor | Model | |----------|----------|-------| | `haiku` or `fast` | fast-executor | Haiku | | `sonnet` or `standard` | standard-executor | Sonnet | | `opus` or `deep` | de

What's inside
Steps it walks through
  1. Usage
  2. Instructions
  3. Model Mapping
  4. Examples
  5. Force Opus for a simple question
  6. Force Haiku for any task
  7. Force Sonnet explicitly
  8. Error Handling
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the route skill do?

Manually route a query to the optimal Claude model (Haiku/Sonnet/Opus)

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill route-aiskillstore-marketplace-3 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going