← Back to Skills Marketplace
Openclaw Plugin Upgrade
by
ryanlee-gemini
· GitHub ↗
· v1.0.0
· MIT-0
94
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-plugin-upgrade
Description
OpenClaw 插件升级助手。当用户说「升级 qqbot 插件」「更新 openclaw-qqbot」「qqbot 更新」「帮我升级插件」「升级 openclaw 插件」等相关语句时激活。支持通用 openclaw 插件(任意 npm 包)升级,以及 QQ 机器人插件(@tencent-connect/open...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-plugin-upgrade - After installation, invoke the skill by name or use
/openclaw-plugin-upgrade - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Openclaw Plugin Upgrade?
OpenClaw 插件升级助手。当用户说「升级 qqbot 插件」「更新 openclaw-qqbot」「qqbot 更新」「帮我升级插件」「升级 openclaw 插件」等相关语句时激活。支持通用 openclaw 插件(任意 npm 包)升级,以及 QQ 机器人插件(@tencent-connect/open... It is an AI Agent Skill for Claude Code / OpenClaw, with 94 downloads so far.
How do I install Openclaw Plugin Upgrade?
Run "/install openclaw-plugin-upgrade" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Openclaw Plugin Upgrade free?
Yes, Openclaw Plugin Upgrade is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Openclaw Plugin Upgrade support?
Openclaw Plugin Upgrade is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Openclaw Plugin Upgrade?
It is built and maintained by ryanlee-gemini (@ryanlee-gemini); the current version is v1.0.0.
More Skills