openclaw plugins
管理网关插件/扩展(进程内加载)。
相关内容:
命令
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 来激活它们。
所有插件必须附带一个 openclaw.plugin.json 文件,其中包含内联 JSON Schema(configSchema,即使为空也需要)。缺失或无效的清单或架构会阻止插件加载,并导致配置验证失败。
安装
bash
openclaw plugins install <path-or-spec>安全提示:将插件安装视为运行代码。建议使用固定版本。
支持的压缩包格式:.zip、.tgz、.tar.gz、.tar。
使用 --link 可避免复制本地目录(添加到 plugins.load.paths):
bash
openclaw plugins install -l ./my-plugin更新
bash
openclaw plugins update <id>
openclaw plugins update --all
openclaw plugins update <id> --dry-run更新仅适用于从 npm 安装的插件(在 plugins.installs 中跟踪)。