Arya Model Router

v0.1.0

Router that selects between cheap, default, and pro GPT models to save tokens, using sub-agents and optional briefing for heavy tasks.

0· 1.4k·0 current·0 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
The name/README/SKILL.md describe a local model router and the included Python scripts implement that behavior. Minor inconsistency: the SKILL.md metadata lists required binaries (bash, python3) while the registry summary showed no required binaries — this is a small metadata mismatch but does not change functionality.
Instruction Scope
Runtime instructions tell the agent to run router.py and optionally brief.py, to interpret the JSON output and (conceptually) spawn sub-agents. The scripts operate on provided text and local rule/state files only and do not read unrelated system files or environment variables.
Install Mechanism
No install spec is present (lowest installer risk). The skill includes code files that will run locally; there are no downloads, external installers, or archive extraction steps.
Credentials
No environment variables, credentials, or external tokens are required. The code only reads/writes its own rules.json and state.json in the skill directory.
Persistence & Privilege
The skill persists minimal state (state.json) in its own folder to store mode/feedback and last decision. always is false and the skill does not modify other skills or system-wide configurations.
Assessment
This skill appears to be a straightforward local model router: it reads rules.json and state.json and prints a JSON decision; it does not call external services or request secrets. Before installing, consider: 1) confirm the small metadata mismatch (SKILL.md declares bash + python3) and ensure python3 is available; 2) note the skill will write state.json inside the skill folder so feedback commands persist and slightly auto-tune thresholds over time; 3) the router only 'suggests' spawning sub-agents — make sure your agent's sessions_spawn or sub-agent mechanism enforces your privacy and does not send sensitive context to external models/services you don't control. If you are comfortable with those points, the skill is coherent and low-risk.

Like a lobster shell, security has layers — review code before you run it.

latestvk97esh74j09a50r03wcws0pzkd80k771
1.4kdownloads
0stars
1versions
Updated 1mo ago
v0.1.0
MIT-0

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

Comments

Loading comments...