← 返回 Skills 市场
davidme6

Smart Model Switcher

作者 davidme6 · GitHub ↗ · v4.0.0 · MIT-0
cross-platform ⚠ suspicious
113
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install smart-model-switcher-v4
功能描述
智能模型自动切换 V4 - 多模态感知,自动识别图片/代码/文本任务,切换到最适合的模型。支持图片理解(qwen3-vl-plus)、代码(glm-5/qwen-coder)、长文本、推理等场景。零感知切换,无需手动操作。
安全使用建议
This skill is coherent with its stated purpose (auto-detect task type and switch models). However: 1) The skill instructs agents to run detection before every response and to use session_status or a local gateway API — confirm your gateway's /api/session/model endpoint requires proper auth and that sessionKey values cannot be abused to switch other users' sessions. 2) The SKILL.md contains a detected 'unicode-control-chars' pattern (possible prompt-injection); review the file for hidden characters or injected directives. 3) Test in a sandbox first: verify switching behavior only affects intended sessions, that the local endpoint doesn't accept unauthenticated requests, and that provider API keys remain under your control. 4) If you do not trust the author or cannot verify gateway protections, do not install in a production environment. If you want higher assurance, request the author to remove hidden/control characters and to document authentication/authorization requirements for the gateway API and sessionKey usage.
功能分析
Type: OpenClaw Skill Name: smart-model-switcher-v4 Version: 4.0.0 The skill bundle is designed to automate model switching within the OpenClaw environment based on user input (e.g., switching to vision models for images or specialized coding models). The logic is implemented through a local Node.js script (scripts/auto-switch.js) that communicates with the OpenClaw gateway via a local API (localhost:3737) and provides clear instructions in SKILL.md for the AI agent to manage session states. No evidence of data exfiltration, malicious intent, or unauthorized remote execution was found.
能力评估
Purpose & Capability
Name/description align with the code and SKILL.md: the script and instructions only implement task detection and session-level model switching. The included script targets a local gateway API and the README explains provider API keys/config — these are proportionate to a model-switcher skill.
Instruction Scope
SKILL.md instructs the agent to run a detection workflow before every response and to call session_status (or the local gateway endpoint) to change models. That is within the skill's purpose, but the doc explicitly shows how to switch other sessions by supplying a sessionKey; if the agent has access to session keys or broader session-management APIs this could be used to affect other chat channels. Also the SKILL.md contains a detected 'unicode-control-chars' pattern (prompt-injection signal) which may indicate manipulation attempts embedded in the instructions.
Install Mechanism
No install spec (instruction-only + small included script). No downloads or remote install URLs; risk from installation is low. The script is small and only uses Node builtin http modules to POST to localhost.
Credentials
The skill declares no required env vars or credentials. README shows optional provider API keys stored in user OpenClaw config or env vars — expected for a model-switcher that must be able to query model availability. Nothing requests unrelated secrets.
Persistence & Privilege
always:false (good). However the SKILL.md explicitly directs agents to run detection before every response (i.e., autonomous per-response behavior). Autonomous invocation is normal for skills, but combined with the ability to switch models for other sessions (via sessionKey) it increases blast radius if session management is not properly permissioned on the gateway.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-model-switcher-v4
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-model-switcher-v4 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v4.0.0
V4 多模态感知升级:自动检测图片切换视觉模型,代码任务自动切换 glm-5,会话级独立切换互不影响
元数据
Slug smart-model-switcher-v4
版本 4.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Smart Model Switcher 是什么?

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

如何安装 Smart Model Switcher?

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

Smart Model Switcher 是免费的吗?

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

Smart Model Switcher 支持哪些平台?

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

谁开发了 Smart Model Switcher?

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

💬 留言讨论