Back to list
0xrdan

route

by 0xrdan

Intelligent model orchestration for Claude Code - routes queries to optimal Claude model (Haiku/Sonnet/Opus) based on complexity. It also includes many more features. If this project is working well for you and would like to support me, just help spread the word. Thanks!

22🍴 3📅 Jan 18, 2026

SKILL.md


name: route description: Manually route a query to the optimal Claude model (Haiku/Sonnet/Opus) user_invokable: true

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

CRITICAL: The user's explicit model choice MUST be honored. Do NOT override, reclassify, or second-guess their selection. This is a MANUAL OVERRIDE command - the entire point is to bypass automatic classification.

Parse $ARGUMENTS to extract the model and query:

  1. Extract model - The first word is the model name (case-insensitive: 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 IMMEDIATELY - 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 used

DO NOT:

  • Analyze query complexity
  • Suggest a "better" model
  • Classify the query
  • Override the user's choice for any reason

The user said which model. Use that model. Period.

Model Mapping

ArgumentExecutorModel
haiku or fastfast-executorHaiku
sonnet or standardstandard-executorSonnet
opus or deepdeep-executorOpus

Examples

Force Opus for a simple question

/route opus What's the syntax for a TypeScript interface?

Result: Routes to Opus (deep-executor) regardless of query complexity.

Force Haiku for any task

/route haiku Fix the authentication bug in login.ts

Result: Routes to Haiku (fast-executor) for cost savings.

Force Sonnet explicitly

/route sonnet Design a caching system

Result: Routes to Sonnet (standard-executor).

Error Handling

If the user doesn't provide a valid model, respond with:

Usage: /route <model> <query>

Models:
  haiku, fast     - Quick, simple tasks (cheapest)
  sonnet, standard - Typical coding tasks (default)
  opus, deep      - Complex analysis (most capable)

Example: /route opus Analyze the security of this authentication flow

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon