← 返回 Skills 市场
davidme6

Smart Model Switcher V2

作者 davidme6 · GitHub ↗ · v2.1.0 · MIT-0
cross-platform ⚠ suspicious
351
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install smart-model-switcher-v2
功能描述
智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-model-switcher-v2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-model-switcher-v2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
Slug smart-model-switcher-v2
版本 2.1.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 2
常见问题

Smart Model Switcher V2 是什么?

智能模型自动切换 V5.0.2 - 多模态感知,自动识别图片/视频/音频/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、视频音频(qwen3.5-plus)、代码(glm-5)、Office文档(MiniMax-M2.5)、推理等场景。零感知切换,无需手动操作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 351 次。

如何安装 Smart Model Switcher V2?

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

Smart Model Switcher V2 是免费的吗?

是的,Smart Model Switcher V2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Smart Model Switcher V2 支持哪些平台?

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

谁开发了 Smart Model Switcher V2?

由 davidme6(@davidme6)开发并维护,当前版本 v2.1.0。

💬 留言讨论