← Back to Skills Marketplace
staratheris

Arya Model Router

by StarAtheris · GitHub ↗ · v0.1.0
cross-platform ✓ Security Clean
1449
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install arya-model-router
Description
Efficiently routes tasks between cheap, default, and pro models using optional sub-agents and briefing to minimize token use and cost.
README (SKILL.md)

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
Usage Guidance
This skill appears to be what it says: a local router that decides when to escalate to stronger models. Before installing, consider: 1) It writes rules.json and state.json in the skill folder — review and back up those files if you edit them. 2) brief.py will surface URLs, job IDs, errors and similar 'interesting' lines; do not pass sensitive tokens/credentials in context you expect to be briefed and potentially forwarded to an external model. 3) The router only emits decisions (model names like openai/gpt-4.1); actual calls to remote LLMs happen elsewhere — ensure any downstream integration that executes 'use_subagent' is authorized and has appropriate API keys and data-handling policies. 4) Ensure python3 is available (SKILL.md lists bash and python3). 5) Optionally review and customize rules.json thresholds/keywords to match your workload and to avoid unnecessary escalation. If you want a second check, provide how your agent invokes sub-agents (what component accepts 'use_subagent' and whether it will send briefs to remote models).
Capability Analysis
Type: OpenClaw Skill Name: arya-model-router Version: 0.1.0 The skill bundle is benign. All Python scripts (`brief.py`, `router.py`) operate locally, process text input, and manage configuration/state files (`rules.json`, `state.json`) within the skill's directory. There is no evidence of data exfiltration, malicious execution (e.g., `curl|bash`, remote payloads, `eval/exec` of untrusted input), persistence mechanisms, or obfuscation. The `SKILL.md` and `README.md` files provide instructions for the agent on how to use the skill and interpret its JSON output, including suggesting the execution of the local `brief.py` script or the agent's `sessions_spawn` capability, all of which are aligned with the stated purpose of model routing and token saving without any malicious prompt injection attempts.
Capability Assessment
Purpose & Capability
The files and runtime instructions match the stated purpose: router.py implements local routing/thresholds/overrides and brief.py creates a compact brief. The rule set lists models and thresholds consistent with a model router. Minor inconsistency: SKILL.md metadata lists required bins (bash, python3) while the registry 'Requirements' section reported none — this is a small metadata mismatch (python3 is logically required to run the scripts).
Instruction Scope
SKILL.md and README instruct running local scripts (router.py, brief.py) and interpreting JSON output. The scripts only read/edit local files (rules.json, state.json) and do no network or model calls themselves. Important operational note: brief.py extracts lines that look like URLs, job IDs, stack traces, etc.; if the downstream integration sends the brief to a remote model (e.g., an OpenAI model recommended by the router), that brief could contain sensitive tokens/IDs/URLs you supplied in the context. The router itself does not exfiltrate data, but the decisions it emits may cause other components to send data to external models.
Install Mechanism
No install spec (instruction-only skill with bundled scripts). No downloads or external installers are used; files are local and static, which is lower risk.
Credentials
The skill requests no environment variables or credentials and does not access system-wide config. The SKILL.md metadata's 'bins' requirement (bash, python3) is reasonable for running the included scripts. There are no unrelated secrets requested.
Persistence & Privilege
The skill writes and updates a local state file (state.json) in its own directory to store mode/feedback/lastDecision — this is scoped to the skill and expected. always is false and the skill does not modify other skills or system-wide agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install arya-model-router
  3. After installation, invoke the skill by name or use /arya-model-router
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release: token-saver model router with overrides, feedback loop, and local briefing helper.
Metadata
Slug arya-model-router
Version 0.1.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Arya Model Router?

Efficiently routes tasks between cheap, default, and pro models using optional sub-agents and briefing to minimize token use and cost. It is an AI Agent Skill for Claude Code / OpenClaw, with 1449 downloads so far.

How do I install Arya Model Router?

Run "/install arya-model-router" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Arya Model Router free?

Yes, Arya Model Router is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Arya Model Router support?

Arya Model Router is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Arya Model Router?

It is built and maintained by StarAtheris (@staratheris); the current version is v0.1.0.

💬 Comments