← 返回 Skills 市场
dpbs-715

OpenClaw Session Model Switcher

作者 dpbs · GitHub ↗ · v0.1.3 · MIT-0
cross-platform ⚠ suspicious
292
总下载
1
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install openclaw-session-model-switcher
功能描述
Instantly switch the current OpenClaw session model; supports gpt, claude, qianwen, minimax, current model status, configured model listing, and restoring th...
安全使用建议
This skill is plausible for switching session models, but it is incomplete and relies on external scripts and the node runtime that are not included or declared. Before installing or running it: 1) Verify that scripts/switch-model.sh, scripts/list-models.sh, and scripts/model-status.sh exist in your OpenClaw workspace and inspect their contents—handler.sh will chmod and execute them. 2) Ensure node is available on PATH (handler.sh uses node). 3) Understand that this package prints session commands for you to run rather than performing the switch itself in many cases (SKILL.md suggests direct execution, but handler.sh mostly prints commands). 4) If you cannot inspect or control the external scripts, do not install or run this skill in a sensitive environment. If the author intended a bundled, self-contained skill, ask them to include or document the external scripts and declare required binaries.
功能分析
Type: OpenClaw Skill Name: openclaw-session-model-switcher Version: 0.1.3 The skill is designed to manage AI model switching within an OpenClaw session by interacting with system scripts (switch-model.sh, list-models.sh, model-status.sh). While handler.sh performs a chmod +x on scripts outside its own directory, this appears to be a functional requirement for the environment rather than a malicious act. The logic for parsing user input and handling model aliases in model-aliases.json is consistent with the stated purpose, and no evidence of data exfiltration or unauthorized execution was found.
能力评估
Purpose & Capability
The skill claims to switch the current session model, list configured models, and report status. Its bundled files (handler.sh, model-aliases.json, README, SKILL.md) are consistent with that purpose, but handler.sh expects workspace scripts (scripts/switch-model.sh, scripts/list-models.sh, scripts/model-status.sh) that are not included in the package. It also invokes node for small JS snippets but the skill declares no required binaries. Requiring external, out-of-package scripts and an undeclared runtime is disproportionate to the stated self-contained capability.
Instruction Scope
SKILL.md instructs the agent to read models.providers from the active OpenClaw configuration and, when possible, directly execute session-level commands. The provided handler.sh, however, does not read OpenClaw config directly — it delegates to external scripts and prints commands rather than executing them. handler.sh also chmods and executes scripts found under a workspace path (../..). Delegating to and executing external workspace scripts broadens scope beyond the skill bundle and could execute arbitrary code depending on those scripts' contents.
Install Mechanism
There is no install specification (instruction-only with a small handler script). No network downloads or package installs are declared. This is low-risk in terms of install mechanism, but the lack of an install step combined with reliance on out-of-package scripts means runtime behavior depends on the user's environment.
Credentials
The skill declares no required environment variables or credentials, which is appropriate. However, handler.sh depends on the node binary and on writable/executable workspace scripts (it runs chmod +x and executes them) without declaring these requirements. That undeclared dependency (node) and implicit need to modify script permissions is a proportionality concern and should be documented.
Persistence & Privilege
The skill does not request permanent presence (always: false), does not claim to modify global configs, and the files do not modify other skills. The only filesystem action in the bundle is chmod on workspace scripts (if present), which affects files outside the skill directory — noteworthy but not an explicit persistence/privilege escalation by itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-session-model-switcher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-session-model-switcher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.3
Polish update: translate handler output to English while preserving multilingual input matching and session-level model switching behavior.
v0.1.2
Maintenance update: align local folder naming and internal file references with the published OpenClaw Session Model Switcher slug.
v0.1.1
English docs refresh: translate skill metadata, summary, and README; keep session-level switching behavior unchanged.
v0.1.0
Initial release: manually switch the current OpenClaw session model, list configured models, check model status, and restore default without editing global config or restarting Gateway.
元数据
Slug openclaw-session-model-switcher
版本 0.1.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

OpenClaw Session Model Switcher 是什么?

Instantly switch the current OpenClaw session model; supports gpt, claude, qianwen, minimax, current model status, configured model listing, and restoring th... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 292 次。

如何安装 OpenClaw Session Model Switcher?

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

OpenClaw Session Model Switcher 是免费的吗?

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

OpenClaw Session Model Switcher 支持哪些平台?

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

谁开发了 OpenClaw Session Model Switcher?

由 dpbs(@dpbs-715)开发并维护,当前版本 v0.1.3。

💬 留言讨论