← 返回 Skills 市场
455
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-self-update
功能描述
Update OpenClaw to the latest version. Use when asked to "update yourself", "upgrade openclaw", "check for updates", or "update to latest version". Handles n...
安全使用建议
This updater appears to do only what it says: check npm, install the latest openclaw package, and restart the gateway. Before running it, verify you trust the npm 'openclaw' package owner and consider running on a test system first. Make sure Node.js/npm and the openclaw CLI are installed and in PATH (the metadata doesn't list these prerequisites). Global npm installs may require sudo and will modify system-wide packages; expect short gateway downtime while restarting. If you need stronger guarantees, inspect the package's npm page, its release notes/CHANGELOG, and verify package integrity (signatures/checksums) before performing the update on production systems.
功能分析
Type: OpenClaw Skill
Name: openclaw-self-update
Version: 1.0.0
The skill is classified as suspicious due to its use of high-privilege commands and inherent supply chain risks. The `SKILL.md` and `scripts/update.sh` files instruct the agent to execute `npm install -g openclaw@latest`, which can run arbitrary code via `package.json` scripts from the installed package. Additionally, `SKILL.md` suggests using `sudo npm install -g openclaw@latest` for permission issues, indicating a privilege escalation capability. While these actions are aligned with the stated purpose of updating the OpenClaw agent, they represent significant risky capabilities that could be exploited in a supply chain attack or if the agent is compromised.
能力评估
Purpose & Capability
The SKILL.md and scripts/update.sh implement exactly what the name/description promise: checking versions, running 'npm install -g openclaw@latest', restarting the gateway, and verifying the version. One minor inconsistency: metadata lists no required binaries, but both the README and the script rely on the 'npm' and 'openclaw' CLIs being present in PATH. This is an omission in metadata, not a functional mismatch.
Instruction Scope
Instructions and the script stay within the updater's scope: they check npm for the latest package, run npm to install, restart the gateway, and show a changelog hint. The script does not read unrelated system files, access other environment variables, or send data to third-party endpoints beyond the normal npm registry.
Install Mechanism
There is no separate install spec; the updater uses the system's npm to fetch the package from the npm registry. This is expected for an npm-based update, but it means the operation will fetch and execute code from the public npm registry — verify the package's publisher and integrity before running on production systems.
Credentials
The skill declares no environment variables or credentials and the script does not attempt to read secrets. It does, however, assume privileges to perform a global npm install (may require sudo) and to start/stop the gateway. Those privilege requirements are proportional to updating a globally installed CLI and restarting its service.
Persistence & Privilege
always is false, the skill is user-invocable and does not request persistent presence or modify other skills' configurations. It does restart the OpenClaw gateway as part of its normal operation, which is appropriate for applying updates.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-self-update - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-self-update触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Auto-update OpenClaw via npm with version check, gateway restart, and verification
元数据
常见问题
OpenClaw Self-Update 是什么?
Update OpenClaw to the latest version. Use when asked to "update yourself", "upgrade openclaw", "check for updates", or "update to latest version". Handles n... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 455 次。
如何安装 OpenClaw Self-Update?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-self-update」即可一键安装,无需额外配置。
OpenClaw Self-Update 是免费的吗?
是的,OpenClaw Self-Update 完全免费(开源免费),可自由下载、安装和使用。
OpenClaw Self-Update 支持哪些平台?
OpenClaw Self-Update 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 OpenClaw Self-Update?
由 jchen0824(@jchen0824)开发并维护,当前版本 v1.0.0。
推荐 Skills