staratheris-arya-model-router
Token-saver router: elige modelo (cheap/default/pro) y usa sub-agentes para tareas pesadas.
Setup & Installation
Install command
clawhub install staratheris/staratheris-arya-model-routerIf the CLI is not installed:
Install command
npx clawhub@latest install staratheris/staratheris-arya-model-routerOr install with OpenClaw CLI:
Install command
openclaw skills install staratheris/staratheris-arya-model-routeror paste the repo link into your assistant's chat
Install command
https://github.com/openclaw/skills/tree/main/skills/staratheris/staratheris-arya-model-routerWhat This Skill Does
Routes AI model selection between cheap, default, and pro tiers based on task complexity. For heavy tasks, it spawns sub-agents running a stronger model and can compress large context into a brief first to avoid passing unnecessary tokens to an expensive model.
Avoids paying for a powerful model on simple requests while still accessing one when the task actually requires it, without manually switching models.
When to Use It
- 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
View original SKILL.md file
# 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 + reglas - `rules.json`: reglas editables - `README.md`: documentación completa
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: Keeping daily chat interactions on a cheap model to reduce API spend
- 1Keeping daily chat interactions on a cheap model to reduce API spend
- 2Automatically escalating complex code analysis to a pro model
- 3Compressing a large document before routing it to an expensive model
- 4Running multi-step research through a sub-agent without inflating main context
- 5Forcing a specific model tier for a one-off request
Token-saver router: elige modelo (cheap/default/pro) y usa sub-agentes para tareas pesadas.
Security Audits
These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.