Manually route a query to the optimal Claude model (Haiku/Sonnet/Opus)
Override automatic model selection and force a specific Claude model for your query.
/route <model> <query>
Where <model> is one of:
haiku or fast - Use Haiku for simple, quick taskssonnet or standard - Use Sonnet for typical coding tasksopus or deep - Use Opus for complex analysisParse $ARGUMENTS to extract the model and query:
| Argument | Executor | Model |
|---|---|---|
haiku or fast |
fast-executor | Haiku |
sonnet or standard |
standard-executor | Sonnet |
opus or deep |
deep-executor | Opus |
/route opus What's the syntax for a TypeScript interface?
Result: Routes to Opus (deep-executor) regardless of query complexity.
/route haiku Fix the authentication bug in login.ts
Result: Routes to Haiku (fast-executor) for cost savings.
/route sonnet Design a caching system
Result: Routes to Sonnet (standard-executor).
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