Install
openclaw skills install github-skill-updater检查并更新通过 GitHub git clone 安装的 OpenClaw skills。适用于用户提到“更新skill”“更新 skill”“检查 skill 是否有新版本”“GitHub 安装的 skill 有没更新”“帮我检查本地 skills 是否落后”“更新 git clone 装的 skill”“拉取 skill 最新代码”“批量检查 workspace/skills 里的仓库技能”这类需求。仅适用于保留 .git 元数据的 skill 目录。
openclaw skills install github-skill-updater用于检查和更新“通过 GitHub git clone 安装”的 OpenClaw skills。
当用户表达下面这类意图时,应触发这个 skill:
.gitorigin 远端.git 的普通目录dirty、ahead、diverged 时默认停止,向用户说明原因。update-available 才执行更新。如果当前目录就是 OpenClaw workspace 根目录,推荐直接用包装命令:
./skills/github-skill-updater/scripts/github-skill-updater check skills
更新单个 skill:
./skills/github-skill-updater/scripts/github-skill-updater update skills/<skill-name>
也可以直接调用 Python 主脚本:
python3 skills/github-skill-updater/scripts/manage_github_skill.py check skills
批量输出 JSON:
./skills/github-skill-updater/scripts/github-skill-updater check skills --json
up-to-date: 已是最新update-available: 有可更新内容dirty: 有未提交改动,默认不更新ahead: 本地领先远端,默认不更新diverged: 本地与远端分叉,默认不更新unsupported: 目录不满足自动判断条件scripts/manage_github_skill.py如果脚本返回 unsupported:
git clone 安装.gitorigin