← Back to Skills Marketplace
351
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install smart-model-switcher-v2
Description
智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。
Usage Guidance
This skill generally does what it claims (detects multimodal inputs and picks models), but there are several red flags you should consider before installing or running any included scripts:
- The skill mentions checking API keys/provider quotas but does not declare any required environment variables or config paths; ask the author where model credentials are expected to be stored.
- The runtime script defaults to reading/writing files under $HOME/.openclaw (openclaw.json and a logs folder) but the metadata lists no required config paths — expect the scripts to create those files if you run them. Review the contents of ~/.openclaw before running and back it up if necessary.
- The provided PowerShell scripts contain mojibake/encoding issues and some malformed keyword entries; they may not run as-is and could behave unpredictably.
- Because instructions are vague about where to find API credentials, do not grant the agent blanket permission to search your environment or files for keys; supply credentials explicitly to well-known env vars or config paths you control if you decide to use it.
If you want to proceed: request a clear author/source, an explicit list of required config locations/env variables, and a fixed script release (clean encoding, no syntax errors). If you do not trust the origin, do not run the auto-monitor or runtime scripts on a machine with sensitive keys or data.
Capability Analysis
Type: OpenClaw Skill
Name: smart-model-switcher-v2
Version: 2.1.0
The skill bundle provides a framework for an AI agent to automatically switch its underlying LLM model based on the user's task (e.g., switching to a vision model for images or a coding model for scripts). The SKILL.md file contains functional instructions for the agent to identify task types and use the session_status tool, while the PowerShell scripts in the scripts/ directory provide basic logging and logic testing. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the encoding issues (Mojibake) in the scripts appear to be unintentional character set mismatches rather than obfuscation.
Capability Assessment
Purpose & Capability
The SKILL.md and included scripts align with the advertised goal (detect message type and pick models). However metadata/version/name mismatches exist (registry version 2.1.0 vs SKILL.md v5.1.0/name smart-model-switcher-v5). The model list and switching rules are coherent for the stated functionality.
Instruction Scope
The instructions are broad and include steps like 'check model availability (API Key + 套餐)' and 'extract keywords / determine context' without specifying where to find required keys or limits on what the agent may inspect. The included scripts reference a user config path ($env:USERPROFILE\.openclaw\openclaw.json) and perform logging to $env:USERPROFILE\.openclaw\logs, but the skill metadata declares no required config paths. This mismatch could give the agent discretion to search for credentials/configs.
Install Mechanism
Instruction-only skill with no install spec and no code files executed by the registry installer. The only executable content is plain-text script files shipped as artifacts; nothing is automatically downloaded or run by an installer.
Credentials
The skill declares no required environment variables or credentials, yet SKILL.md mentions checking API keys and the runtime script references a config file under the user's home. Expectation: a model-switcher that checks provider availability would normally declare where API keys live (env vars or config path). That omission is an inconsistency and could lead the agent to search for credentials in the environment or files.
Persistence & Privilege
always:false and no OS restrictions — the skill does not demand forced always-on status. The supplied 'auto-monitor' script is intended to be run as a background monitor and will create logs under the user's home; running it would give persistent local presence. The skill does not declare it will write files, but the scripts do write to ~/.openclaw, so user consent before running is important.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install smart-model-switcher-v2 - After installation, invoke the skill by name or use
/smart-model-switcher-v2 - Provide required inputs per the skill's parameter spec and get structured output
Version History
v2.1.0
**Smart Model Switcher now features multimodal awareness, enhanced Office mode, and main-window-only switching.**
- Added automatic detection and model switching for video (.mp4, .avi, .mov, .mkv, etc.) and audio (.mp3, .wav, .m4a, .ogg, etc.) files.
- Introduced Office mode supporting MiniMax-M2.5 for Office document processing.
- Implemented "main window restriction": intelligent model switching now only occurs in the main chat window; subagents always use their preset models.
- Clarified model assignment rules: GLM-5 is for pure coding tasks only; qwen3.5-plus prioritized for all multimodal inputs.
- Updated decision logic and keyword rules for more accurate task-type recognition.
v2.0.0
V2 Optimized Release:
- Zero-latency model switching (<10ms)
- No gateway restart required
- 50-10x faster than V1
- Auto model discovery
- Advanced fallback logic
Metadata
Frequently Asked Questions
What is Smart Model Switcher V2?
智能模型自动切换 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 351 downloads so far.
How do I install Smart Model Switcher V2?
Run "/install smart-model-switcher-v2" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Smart Model Switcher V2 free?
Yes, Smart Model Switcher V2 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Smart Model Switcher V2 support?
Smart Model Switcher V2 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Smart Model Switcher V2?
It is built and maintained by davidme6 (@davidme6); the current version is v2.1.0.
More Skills