openclaw plugins¶
-
管理 Gateway 外掛程式/擴充(以進程內方式載入)。
-
相關:
- 外掛系統:Plugins
-
- 外掛程式資訊清單 + 結構描述:Plugin manifest
- 安全性強化:Security
指令¶
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 內建的外掛程式會出貨,但預設為停用。 8. 使用
plugins enable來 啟用它們。
所有外掛都必須提供一個 openclaw.plugin.json 檔案,並包含內嵌的 JSON Schema
(configSchema,即使為空)。缺少或無效的資訊清單或結構描述,會導致
外掛無法載入,且設定驗證失敗。 9. 缺少/無效的資訊清單或結構描述會阻止
外掛程式載入並導致設定驗證失敗。
Install¶
openclaw plugins install <path-or-spec>
- 安全性注意事項:將外掛程式安裝視同執行程式碼。 11. 優先使用固定(pinned)的版本。
支援的封存格式:.zip、.tgz、.tar.gz、.tar。
使用 --link 可避免複製本機目錄(會加入至 plugins.load.paths):
openclaw plugins install -l ./my-plugin
Update¶
openclaw plugins update <id>
openclaw plugins update --all
openclaw plugins update <id> --dry-run
更新僅適用於從 npm 安裝的外掛(追蹤於 plugins.installs)。