← 返回 Skills 市场
Arya Model Router
作者
StarAtheris
· GitHub ↗
· v0.1.0
1449
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install arya-model-router
功能描述
Efficiently routes tasks between cheap, default, and pro models using optional sub-agents and briefing to minimize token use and cost.
使用说明 (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 + reglasrules.json: reglas editablesREADME.md: documentación completa
安全使用建议
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).
功能分析
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.
能力评估
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.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install arya-model-router - 安装完成后,直接呼叫该 Skill 的名称或使用
/arya-model-router触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: token-saver model router with overrides, feedback loop, and local briefing helper.
元数据
常见问题
Arya Model Router 是什么?
Efficiently routes tasks between cheap, default, and pro models using optional sub-agents and briefing to minimize token use and cost. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1449 次。
如何安装 Arya Model Router?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install arya-model-router」即可一键安装,无需额外配置。
Arya Model Router 是免费的吗?
是的,Arya Model Router 完全免费(开源免费),可自由下载、安装和使用。
Arya Model Router 支持哪些平台?
Arya Model Router 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Arya Model Router?
由 StarAtheris(@staratheris)开发并维护,当前版本 v0.1.0。
推荐 Skills