OpenClaw · Skill
Staratheris Arya Model Router
Router de modelos para OpenClaw: decide cuándo usar un modelo barato vs uno más fuerte, reduciendo costo y tokens.
Install
Start with the primary install command. Alternate entrypoints are included below for ClawHub and OpenClaw CLI users.
Primary command
clawhub install staratheris/staratheris-arya-model-routerClawHub installer
npx clawhub@latest install staratheris/staratheris-arya-model-routerOpenClaw CLI
openclaw skills install staratheris/staratheris-arya-model-routerDirect OpenClaw install
openclaw install staratheris/staratheris-arya-model-routerWhat this skill does
Router de modelos para OpenClaw: decide cuándo usar un modelo barato vs uno más fuerte, reduciendo costo y tokens.
Why it matters
Avoids paying for a powerful model on simple requests while still accessing one when the task actually requires it, without manually switching models.
Typical use cases
- Keeping daily chat interactions on a cheap model to reduce API spend
- Automatically escalating complex code analysis to a pro model
- Compressing a large document before routing it to an expensive model
- Running multi-step research through a sub-agent without inflating main context
- Forcing a specific model tier for a one-off request
Source instructions
Arya Model Router (Token Saver)
Router de modelos para OpenClaw: decide cuándo usar un modelo barato vs uno más fuerte, reduciendo costo y tokens.
Objetivos
- Mantener el chat diario barato.
- Escalar a un modelo superior solo cuando la tarea lo amerite.
- Evitar pasar contexto enorme al modelo caro: primero crear un brief.
Enfoque
- El agente principal (main) se mantiene en un modelo económico.
- Para tareas pesadas, el router recomienda (o ejecuta) sub-agentes con un modelo superior.
Niveles (por defecto)
- cheap:
openai/gpt-4o-mini - default:
openai/gpt-4.1-mini - pro:
openai/gpt-4.1
Uso (conceptual)
- "Router: responde esto en modo cheap" (forzado)
- "Router: analiza esto" (auto)
Archivos
router.py: clasificador + reglasrules.json: reglas editablesREADME.md: documentación completa