openclaw plugins

管理 Gateway Plugin/扩展(进程内加载)。

相关内容:

命令

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

内置的 Plugin 会随 OpenClaw 一起发布,但默认是禁用状态。用 plugins enable 来激活它们。

所有 Plugin 都必须包含一个 openclaw.plugin.json 文件,里面要有内联的 JSON Schema(configSchema,即使是空的也要有)。如果清单或模式缺失/无效,Plugin 就无法加载,配置验证也会失败。

安装

openclaw plugins install <path-or-spec>

安全提示:安装 Plugin 就像运行代码一样。建议使用固定版本。

支持的压缩包格式:.zip.tgz.tar.gz.tar

--link 可以避免复制本地目录(会添加到 plugins.load.paths):

openclaw plugins install -l ./my-plugin

更新

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

更新只对从 npm 安装的 Plugin 有效(在 plugins.installs 中跟踪)。