← 返回 Skills 市场
697
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install openclaw-model-router-skill
功能描述
Deterministic model routing for OpenClaw with prefix routing (@codex/@mini), timezone-aware schedule switching, verify-after-switch, rollback, lock protectio...
安全使用建议
This skill appears coherent and implements a local model router. Before installing or running in production: 1) Review router.config.json and router.schedule.json — confirm sessionController.binary points to a trusted binary (default 'openclaw') and that set/status args are correct. 2) If you populate auth.requiredEnv, only include the minimum secrets required and verify where those env vars are set. Child processes inherit process.env, so environment secrets will be exposed to the invoked binary. 3) The CLI writes lock and JSONL log files in the working directory by default; ensure file paths and rotation meet your operational policies. 4) Do not point sessionController.binary to an arbitrary or untrusted executable; that would let the skill run arbitrary commands. If you want extra assurance, run the tool in an isolated/test environment and audit the invoked binary's behavior before giving it access to production credentials or systems.
功能分析
Type: OpenClaw Skill
Name: openclaw-model-router-skill
Version: 0.2.1
The OpenClaw Model Router skill is designed to manage and route AI models based on prefixes and schedules. It interacts with the OpenClaw agent by calling an external `openclaw` binary via `node:child_process.execFileAsync` (a safer execution method) and passes user prompt bodies to an abstract `taskExecutor.execute()` interface provided by the agent. All file system operations (for config, logs, and lock files) and external command executions are directly aligned with its stated purpose of model routing, switching, and auditing. There is no evidence of intentional harmful behavior such as data exfiltration, unauthorized persistence, or malicious prompt injection originating from the skill's own code or documentation. Potential vulnerabilities related to arbitrary command execution would stem from misconfiguration of the `sessionController.binary` path or a vulnerable implementation of the `taskExecutor` interface by the OpenClaw agent itself, rather than from malicious design within this skill.
能力评估
Purpose & Capability
Name/description map to code and configs: prefix routing, schedule file, switch/verify/rollback flow, lock file and JSONL logging. The files and CLI implement exactly these features; required binaries and envs are configurable and default to safe values in the provided router.config.json.
Instruction Scope
SKILL.md commands and runbook instruct running the included CLI (node src/cli.js) and manipulating local config/schedule/log files. Runtime instructions do not request unrelated system data or external endpoints. They do call a local session controller binary (default 'openclaw') to query/set the active model, which is consistent with a model router.
Install Mechanism
No install spec (instruction-only distribution) — code is included in the package and intended to be run with node. No downloads or external installers are invoked. This is low risk given the code is present in the skill bundle and not fetched from arbitrary URLs.
Credentials
By default router.config.json.auth.requiredEnv is empty so no credentials are required. The code supports an auth.requiredEnv list which, if populated, will cause the CLI to check for those environment variables before switching. That's reasonable for an auth gate, but if you populate requiredEnv you should ensure only the needed secrets are present. Child processes inherit process.env when execFile is used, so any env secrets present will be visible to the invoked session-controller binary.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or global agent configuration. It writes local lock and log files and reads local config/schedule files — behavior expected for a scheduler/router.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-model-router-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-model-router-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.1
优化ClawHub商店文案:生产闭环能力、风险控制与操作指南重构
v0.2.0
生产闭环:schedule apply/end、鉴权、验证、回滚、并发锁、审计日志与文档/配图更新
元数据
常见问题
OpenClaw Model Router Skill 是什么?
Deterministic model routing for OpenClaw with prefix routing (@codex/@mini), timezone-aware schedule switching, verify-after-switch, rollback, lock protectio... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 697 次。
如何安装 OpenClaw Model Router Skill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-model-router-skill」即可一键安装,无需额外配置。
OpenClaw Model Router Skill 是免费的吗?
是的,OpenClaw Model Router Skill 完全免费(开源免费),可自由下载、安装和使用。
OpenClaw Model Router Skill 支持哪些平台?
OpenClaw Model Router Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw Model Router Skill?
由 Tianqu(@vulcanusalex)开发并维护,当前版本 v0.2.1。
推荐 Skills