← 返回 Skills 市场
Openclaw Plugin Upgrade
作者
ryanlee-gemini
· GitHub ↗
· v1.0.0
· MIT-0
94
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-plugin-upgrade
功能描述
OpenClaw 插件升级助手。当用户说「升级 qqbot 插件」「更新 openclaw-qqbot」「qqbot 更新」「帮我升级插件」「升级 openclaw 插件」等相关语句时激活。支持通用 openclaw 插件(任意 npm 包)升级,以及 QQ 机器人插件(@tencent-connect/open...
安全使用建议
This skill appears to do exactly what it says: upgrade OpenClaw plugins by invoking the local OpenClaw CLI, manipulating plugin directories, validating files, and restarting the gateway. Before installing/using it: 1) Verify you trust the source — the script runs as shell and will modify/delete plugin directories and config files. 2) Ensure 'node' and the appropriate OpenClaw CLI (openclaw/clawdbot/moltbot) are available on PATH — the metadata currently doesn't declare these requirements. 3) Back up your OpenClaw data (or test in a staging environment) because the script performs mv/rm operations and can restart the gateway. 4) If you plan to let the agent run this autonomously, be aware it will execute shell commands on the host and perform destructive actions; prefer manual invocation unless you fully trust the skill and environment. 5) If anything about the source or intended npm package is untrusted, inspect the package contents and the script's output before allowing installation.
功能分析
Type: OpenClaw Skill
Name: openclaw-plugin-upgrade
Version: 1.0.0
The skill provides a plugin upgrade utility that includes logic to explicitly bypass configuration validation checks in OpenClaw 3.23+ by creating and using temporary configuration files (scripts/upgrade-plugin.sh). It also automatically executes a post-install script (postinstall-link-sdk.js) located within the downloaded plugin package. While these behaviors are documented as compatibility features for plugin management, the bypass of system-level validations and the execution of scripts from external packages represent significant security risks and potential for exploitation.
能力评估
Purpose & Capability
The skill's name/description match the included script's behavior (detecting OpenClaw CLI, backing up plugin dirs, installing/updating packages, validating files, and restarting gateway). One mismatch: package metadata declares no required binaries, but the script requires 'node' and an OpenClaw CLI binary (openclaw|clawdbot|moltbot) to function — these are necessary for the stated purpose and should be declared.
Instruction Scope
SKILL.md and the script limit actions to plugin-related tasks: locating extensions/config, creating a temporary config copy to bypass 3.23+ validation, running plugins update/install, validating package.json and specified files, optionally running a plugin postinstall script, and restarting the gateway. The script reads and writes OpenClaw config and plugin directories (appropriate for an upgrader) and does not send data to external endpoints beyond normal npm/CLI network operations.
Install Mechanism
This is an instruction-only skill with a bundled shell script; there is no install spec that downloads external code. The provided script will be executed by the agent. No remote arbitrary-code download URLs were observed.
Credentials
The skill requests no environment variables or credentials in metadata (none required), and the script only uses standard filesystem locations (HOME, CLI data directory) and sets a temporary OPENCLAW_CONFIG_PATH at runtime. This is proportionate, but the script implicitly requires 'node' and the OpenClaw CLI on PATH — the metadata should list these as required binaries. The script also performs deletions (rm -rf) for legacy dirs and moves backups, which is expected but destructive if pointed at the wrong path.
Persistence & Privilege
The skill is user-invocable and not marked 'always'. It does not attempt to persist itself, modify other skills, or change global agent configuration beyond using a temporary OPENCLAW_CONFIG_PATH during execution. Autonomous invocation is allowed by platform default, but that is not unique to this skill.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install openclaw-plugin-upgrade - 安装完成后,直接呼叫该 Skill 的名称或使用
/openclaw-plugin-upgrade触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of openclaw-plugin-upgrade.
- Introduces an OpenClaw plugin upgrade assistant, activated by user requests to update OpenClaw or qqbot plugins.
- Supports upgrading any OpenClaw plugin (npm package) and specialized upgrade for the QQ bot plugin (@tencent-connect/openclaw-qqbot), including file verification, compatibility tweaks, and automatic rollback.
- Provides a unified script (`upgrade-plugin.sh`) to perform upgrades directly in the agent, no manual terminal input required.
- Special handling for openclaw-qqbot upgrades, with options for version targeting, hot updates, file verification, and cleaning obsolete directories.
- Script outputs structured upgrade results for user feedback and error reporting.
元数据
常见问题
Openclaw Plugin Upgrade 是什么?
OpenClaw 插件升级助手。当用户说「升级 qqbot 插件」「更新 openclaw-qqbot」「qqbot 更新」「帮我升级插件」「升级 openclaw 插件」等相关语句时激活。支持通用 openclaw 插件(任意 npm 包)升级,以及 QQ 机器人插件(@tencent-connect/open... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 Openclaw Plugin Upgrade?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install openclaw-plugin-upgrade」即可一键安装,无需额外配置。
Openclaw Plugin Upgrade 是免费的吗?
是的,Openclaw Plugin Upgrade 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Openclaw Plugin Upgrade 支持哪些平台?
Openclaw Plugin Upgrade 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Openclaw Plugin Upgrade?
由 ryanlee-gemini(@ryanlee-gemini)开发并维护,当前版本 v1.0.0。
推荐 Skills