OpenClawSkills
GitHub
CLI 参考 • 5 分钟阅读

插件

“openclaw plugins”的 CLI 参考(列表、安装、启用/禁用、医生)

管理网关插件/扩展(进程内加载)。

相关:

- 插件系统:''插件''

- 插件清单 + 架构:''插件清单''

- 安全强化:''安全''

Tutorial.step

命令

Bash
openclaw plugins list
openclaw plugins info <id>
openclaw plugins enable <id>
openclaw plugins disable <id>
openclaw plugins doctor
openclaw plugins update <id>
openclaw plugins update --all

捆绑插件随 OpenClaw 一起提供,但启动时被禁用。使用 ''plugins enable'' 来

激活它们。

所有插件必须提供带有内联 JSON 架构的 ''openclaw.plugin.json'' 文件

(''configSchema'',即使为空)。清单或模式丢失/无效会阻止

插件加载并失败配置验证。

#

Tutorial.step

安装

Bash
openclaw plugins install <path-or-spec>

安全说明:将插件安装视为运行代码。更喜欢固定版本。

支持的存档:''.zip''、''.tgz''、''.tar.gz''、''.tar''。

使用 ''--link'' 避免复制本地目录(添加到 ''plugins.load.paths''):

Bash
openclaw plugins install -l ./my-plugin

#

Tutorial.step

更新

Bash
openclaw plugins update <id>
openclaw plugins update --all
openclaw plugins update <id> --dry-run

更新仅适用于从 npm 安装的插件(在 ''plugins.installs'' 中跟踪)。