← 返回 Skills 市场
dalomeve

Model Route Guard

作者 Dalomeve · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
446
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install model-route-guard
功能描述
Diagnose and fix model routing conflicts. Ensure primary model uses correct provider endpoint without duplicate overrides.
安全使用建议
This skill performs direct edits to OpenClaw configuration and restarts the gateway while pointing the provider to a specific external endpoint (coding.dashscope.aliyuncs.com). Before running it: 1) Back up $HOME/.openclaw/openclaw.json and any agents/*.json files; 2) Manually review the configs it will change and verify the hardcoded endpoint is correct and trusted for your environment; 3) Confirm you have the 'openclaw' CLI and permission to restart the gateway; 4) Prefer running the audit steps (Route Audit) first without applying changes, then apply fixes manually or add explicit confirmation/validation steps; 5) In environments with sensitive data, test in a staging agent to avoid accidental routing of requests to an untrusted third party. The registry metadata should have declared config file access — if you need assurance, ask the publisher for source/homepage and an explanation for the endpoint choice before installing.
功能分析
Type: OpenClaw Skill Name: model-route-guard Version: 1.0.0 The skill performs direct file modifications and deletions on OpenClaw's configuration files (`$HOME/.openclaw/openclaw.json`, `$HOME/.openclaw/agents/main/agent/models.json`) and executes system commands (`openclaw gateway restart`). While these actions are plausibly needed for the skill's stated purpose of diagnosing and fixing model routing conflicts, they represent significant capabilities that could be misused if the skill were compromised or if there were underlying vulnerabilities. There is no clear evidence of malicious intent like data exfiltration or unauthorized remote control, but the direct manipulation of system configuration files and execution of system commands elevate it beyond benign.
能力评估
Purpose & Capability
The skill's described goal (diagnose/fix model routing) aligns with the actions in SKILL.md (audit config, update provider URL, remove agent override, restart gateway). However, the registry metadata claims no required config paths or credentials while the runtime instructions explicitly read and modify $HOME/.openclaw/openclaw.json and $HOME/.openclaw/agents/main/agent/models.json. That metadata omission is an inconsistency that reduces transparency.
Instruction Scope
The instructions tell the agent to read and overwrite user config files, delete an agent override file, and restart the OpenClaw gateway. They also hardcode a specific external endpoint (https://coding.dashscope.aliyuncs.com/v1). Modifying provider endpoints can redirect model traffic to a third-party host; deleting agent files is destructive if done without backup. The SKILL.md does not include any safety checks (backup, confirmation, or validation of the endpoint) before making changes.
Install Mechanism
Instruction-only skill with no install steps or code files — lowest-risk install surface. There is nothing being downloaded or installed by the skill itself.
Credentials
The skill declares no environment variables or credentials, and it doesn't attempt to read secrets explicitly, which is consistent. However, it requires write access to OpenClaw config files and the ability to run the 'openclaw' CLI to restart the gateway. More importantly, it changes the model provider endpoint to a hardcoded third-party URL; that is a high-impact network change and should be justified and verified before applying. The skill does not request or declare this trust requirement.
Persistence & Privilege
always is false and the skill is not force-included. Still, the instructions modify persistent agent/global config and restart the gateway — an action requiring filesystem and service control privileges. The skill does not attempt to persist itself beyond those changes, nor does it modify other skills' configs, but the changes it makes are persistent and potentially disruptive.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install model-route-guard
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /model-route-guard 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of model-route-guard. - Diagnose and fix model routing conflicts for Openclaw. - Audit and resolve duplicate provider overrides and endpoint mismatches. - Ensures primary model uses correct provider endpoint (coding.dashscope.aliyuncs.com). - Provides step-by-step workflow for route auditing, conflict fixing, and verification. - Safeguards privacy by not exposing API keys in output.
元数据
Slug model-route-guard
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Model Route Guard 是什么?

Diagnose and fix model routing conflicts. Ensure primary model uses correct provider endpoint without duplicate overrides. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 446 次。

如何安装 Model Route Guard?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install model-route-guard」即可一键安装,无需额外配置。

Model Route Guard 是免费的吗?

是的,Model Route Guard 完全免费(开源免费),可自由下载、安装和使用。

Model Route Guard 支持哪些平台?

Model Route Guard 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Model Route Guard?

由 Dalomeve(@dalomeve)开发并维护,当前版本 v1.0.0。

💬 留言讨论