← Back to Skills Marketplace
156
Downloads
0
Stars
0
Active Installs
6
Versions
Install in OpenClaw
/install smart-model-switcher-v5
Description
智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install smart-model-switcher-v5 - After installation, invoke the skill by name or use
/smart-model-switcher-v5 - Provide required inputs per the skill's parameter spec and get structured output
Version History
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 用户专属优化与支持
Metadata
Frequently Asked Questions
What is Smart Model Switcher V5?
智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。 It is an AI Agent Skill for Claude Code / OpenClaw, with 156 downloads so far.
How do I install Smart Model Switcher V5?
Run "/install smart-model-switcher-v5" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Smart Model Switcher V5 free?
Yes, Smart Model Switcher V5 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Smart Model Switcher V5 support?
Smart Model Switcher V5 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Smart Model Switcher V5?
It is built and maintained by davidme6 (@davidme6); the current version is v5.1.0.
More Skills