← 返回 Skills 市场
156
总下载
0
收藏
0
当前安装
6
版本数
在 OpenClaw 中安装
/install smart-model-switcher-v5
功能描述
智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。
安全使用建议
This skill appears to implement exactly what it claims (detect message type and call the local OpenClaw session API to switch models). However: 1) SKILL.md contains invisible unicode control characters—remove or inspect hidden characters to ensure there is no prompt-injection payload. 2) Review scripts/auto-switch.js before running: it sends POSTs to http://localhost:3737/api/session/model (expected) but treats network errors as a successful switch—this may mask failures or mislead about actual model changes. 3) The skill does not request provider API keys, but you must ensure your OpenClaw/gateway and provider API keys are configured securely elsewhere; do not paste secrets into the skill files. 4) If you plan to enable autonomous invocation, consider first running the script manually in a sandboxed environment and monitor the gateway logs to confirm only expected local calls occur. If you are not comfortable with hidden characters or the silent-fail behavior, do not install until these issues are resolved.
功能分析
Type: OpenClaw Skill
Name: smart-model-switcher-v5
Version: 5.1.0
The 'smart-model-switcher-v5' skill is a utility designed to automate LLM model selection based on the detected task type (e.g., switching to a vision model for images or a coding model for scripts). The implementation consists of a Node.js script (scripts/auto-switch.js) that communicates with the local OpenClaw gateway API on localhost:3737 and detailed instructions in SKILL.md for the AI agent. The logic includes a safety feature to prevent switching models within specialized sub-agent sessions. No evidence of data exfiltration, malicious command execution, or harmful prompt injection was found; the code and instructions are entirely consistent with the stated purpose.
能力评估
Purpose & Capability
Name/description, README, SKILL.md and the included scripts/auto-switch.js are coherent: they implement multimodal detection and call a local OpenClaw session API to set the model. No unrelated cloud credentials or unrelated binaries are requested by the skill itself.
Instruction Scope
SKILL.md and the script limit actions to message analysis and POSTing to a local endpoint (/api/session/model on localhost:3737). The README references configuring provider API keys (in ~/.openclaw/openclaw.json or env vars) which is relevant to using model providers but the skill does not itself request or read secrets. However, SKILL.md contains detected unicode control characters (prompt-injection pattern), and the script intentionally treats local API failures as successful (resolving with a success object), which could mask operational failures or be abused to hide behavior—recommend manual inspection.
Install Mechanism
No install spec (instruction-only) and a single Node.js script included. No downloads from external URLs or extract operations. Risk is limited to the included script running on the host if executed. The script uses only built-in http/https modules and posts to localhost, which is expected for a model-switcher.
Credentials
The skill declares no required environment variables or credentials. README examples show where users typically store provider API keys; that is reasonable context but not a demand by the skill. No unrelated external credentials are requested by the skill files.
Persistence & Privilege
Flags are default (always: false, user-invocable: true, disable-model-invocation: false). The skill does not request permanent inclusion or system-wide configuration changes. It uses a local session API to perform model switches, which is expected for this purpose.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-model-switcher-v5 - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-model-switcher-v5触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v5.1.0
V5.1.0: 新增视频/音频自动检测、Office模式(MiniMax-M2.5)、主窗口限制(子代理不切换)、完整决策树更新
v5.0.4
新增:切换后强制重新读取图片,防止GLM-5幻觉(瞎编图片内容)
v5.0.3
新增智能意图识别:语义理解Agent/团队协作/代码任务,不再依赖死板触发词
v5.0.2
新增团队协作触发词(团队协作/角色扮演→GLM-5),完善规则优先级体系
v5.0.1
新增多模态切换规则:图片/视频/音频自动切换到 qwen3.5-plus,修复 GLM-5 模式下无法处理图片的问题
v5.0.0
**重大更新:模型切换策略全面升级,兼顾便捷与用户自定义。**
- 自动主力模型:qwen3.5-plus(日常)与 GLM-5(代码/Agent)根据关键词智能切换
- 支持手动切换扩展模型:qwen3-max(深度推理)、MiniMax-M2.5(Office任务)
- 新增触发词切回机制,方便回归日常模式
- 配置全面开放,用户可自定义模型、切换规则、触发词
- 针对百炼 Coding Plan 用户专属优化与支持
元数据
常见问题
Smart Model Switcher V5 是什么?
智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 156 次。
如何安装 Smart Model Switcher V5?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-model-switcher-v5」即可一键安装,无需额外配置。
Smart Model Switcher V5 是免费的吗?
是的,Smart Model Switcher V5 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Smart Model Switcher V5 支持哪些平台?
Smart Model Switcher V5 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Smart Model Switcher V5?
由 davidme6(@davidme6)开发并维护,当前版本 v5.1.0。
推荐 Skills