用于检查和更新“通过 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共 1 个版本