staratheris-arya-model-router

AI & LLMs
v0.1.0
Benign

Token-saver router: elige modelo (cheap/default/pro) y usa sub-agentes para tareas pesadas.

1.1K downloads1.1K installsby @staratheris

Setup & Installation

Install command

clawhub install staratheris/staratheris-arya-model-router

If the CLI is not installed:

Install command

npx clawhub@latest install staratheris/staratheris-arya-model-router

Or install with OpenClaw CLI:

Install command

openclaw skills install staratheris/staratheris-arya-model-router

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/staratheris/staratheris-arya-model-router

What 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.

INPUT

User asks: Keeping daily chat interactions on a cheap model to reduce API spend

AGENT
  1. 1Keeping daily chat interactions on a cheap model to reduce API spend
  2. 2Automatically escalating complex code analysis to a pro model
  3. 3Compressing a large document before routing it to an expensive model
  4. 4Running multi-step research through a sub-agent without inflating main context
  5. 5Forcing a specific model tier for a one-off request
OUTPUT
Token-saver router: elige modelo (cheap/default/pro) y usa sub-agentes para tareas pesadas.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 26, 2026