sync-skills
npx skills add https://github.com/vinta/hal-9000 --skill sync-skills
Agent 安装分布
Skill 文档
Instructions
IMPORTANT: Only use this skill in /usr/local/hal-9000. Otherwise, abort.
-
Discover skills: Glob for
skills/*/SKILL.mdrooted at this repository (/usr/local/hal-9000). Do NOT search any other directory. Extractnameanddescriptionfrom each YAML frontmatter. -
Update
dotfiles/.claude/CLAUDE.md: In the## Skillssection (up to the next##heading or EOF), sync entries with discovered skills: add new skills, remove deleted skills, and update descriptions for existing skills whose frontmatter description has changed. Do NOT reorder existing entries â preserve their exact current order. Append new entries at the end. Format:- \name` — description` -
Update
dotfiles/hal_dotfiles.json: In thelinksarray, add entries for newly discovered skill directories and remove entries whose"src"matches"{{REPO_ROOT}}/skills/*"but no longer has a corresponding skill. Do NOT reorder existing entries â preserve their exact current order. Append new entries at the end. Format:{"dest": "{{HOME}}/.claude/skills/<name>/", "src": "{{REPO_ROOT}}/skills/<name>/"}. Preserve all non-skill entries and thecopiesarray as-is. -
Run
./bin/hal sync, then report what changed.