技能
openclaw skills
Section titled “openclaw skills”檢查本地技能並從 ClawHub 安裝/更新技能。
相關:
- Skills 系統:Skills
- Skills 配置:Skills config
- ClawHub 安裝:ClawHub
openclaw skills search "calendar"openclaw skills search --limit 20 --jsonopenclaw skills install <slug>openclaw skills install <slug> --version <version>openclaw skills install <slug> --forceopenclaw skills install <slug> --agent <id>openclaw skills install <slug> --globalopenclaw skills update <slug>openclaw skills update <slug> --globalopenclaw skills update --allopenclaw skills update --all --agent <id>openclaw skills update --all --globalopenclaw skills listopenclaw skills list --eligibleopenclaw skills list --jsonopenclaw skills list --verboseopenclaw skills list --agent <id>openclaw skills info <name>openclaw skills info <name> --jsonopenclaw skills info <name> --agent <id>openclaw skills checkopenclaw skills check --agent <id>openclaw skills check --jsonsearch/install/update 直接使用 ClawHub。預設情況下,install 和
update 以作用中的工作區 skills/ 目錄為目標;若使用 --global,則
以共用的受管理 skills 目錄為目標。list/info/check 仍會檢查
目前工作區和配置可見的本地 skills。工作區支援的指令會從 --agent <id> 解析目標工作區,
接著是目前工作目錄(當其位於已配置的 agent 工作區內時),然後是預設 agent。
此 CLI install 指令會從 ClawHub 下載 skills 資料夾。從入門或 Skills 設定觸發的 Gateway 支援 skill 相依性安裝,則改用
個別的 skills.install 要求路徑。
備註:
search [query...]接受選用查詢;省略即可瀏覽預設的 ClawHub 搜尋摘要。search --limit <n>限制傳回的結果。install --force會覆寫相同 slug 的現有工作區 skills 資料夾。--global以共用的受管理 skills 目錄為目標,且無法與--agent <id>搭配使用。--agent <id>以其中一個已配置的 agent 工作區為目標,並覆寫目前 工作目錄的推斷結果。update <slug>會更新單一已追蹤的 skill。加入--global可改以 共用的受管理 skills 目錄為目標,而非工作區。update --all會更新選定工作區中已追蹤的 ClawHub 安裝項目,若與--global搭配使用,則會更新 共用的受管理 skills 目錄中的項目。check --agent <id>會檢查選定 agent 的工作區,並回報 哪些已就緒的 skills 實際上對該 agent 的提示或指令介面可見。- 當未提供子指令時,
list是預設動作。 list、info和check會將其呈現輸出寫入 stdout。對於--json,這意味著機器可讀的 payload 會保留在 stdout 上,以便管道 和腳本使用。