| name | cmd_model_route |
| description | Recommend the best model tier (haiku/sonnet/opus) for the current task by complexity and budget. |
| user-invocable | true |
| origin | openclaw-mas |
| argument-hint | <project-path> <task> |
Project Path
The first argument is the project path. Before doing anything else:
- Extract the project path from the first argument
- Verify the path exists
- Work within that directory for all file operations and shell commands
Model Route Command
Recommend the best model tier for the current task by complexity and budget.
Usage
/model-route [task-description] [--budget low|med|high]
Routing Heuristic
haiku: deterministic, low-risk mechanical changes
sonnet: default for implementation and refactors
opus: architecture, deep review, ambiguous requirements
Required Output
- recommended model
- confidence level
- why this model fits
- fallback model if first attempt fails
Arguments
$ARGUMENTS:
[task-description] optional free-text
--budget low|med|high optional