Sync skills
Use when checking vendored skills for upstream updates, pulling or merging upstream changes into this repo, or re-baselining skills-lock.json after editing a vendored skill.From its SKILL.md
npx -y skills add noppu-labs/ai-toolkit --skill sync-skillsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 7 commands, including `npm run sync -- status` and 6 more.
SKILL.md
1.8 KB, 384 tokens by cl100k_base, as published. Nobody here has run it
Sync vendored skills with upstream
Prerequisites: gh CLI authenticated. Run everything from the repo root.
Workflow
-
Run
npm run sync -- status. States and what to do:up-to-date— nothing to do.local— our own skill, no upstream; nothing to sync.upstream-updated— safe fast-forward:npm run sync -- pull <plugin>/<skill>.locally-modified— we edited since the last baseline. If the edits are intentional,npm run sync -- accept <plugin>/<skill>.diverged— both sides changed: merge manually (section below).fetch-error (...)— upstream unreachable or moved; checksource/skillPathin the plugin'sskills-lock.jsonagainst the upstream repo.
-
After all changes:
npm run sync -- verify, then commit with a message that lists which skills were pulled or merged and from which upstream commits.
Manual merge for diverged skills
Never blind-overwrite a diverged skill — pull --force discards our customizations.
npm run sync -- diff <plugin>/<skill>— full diff, vendored → upstream.- Identify which differences are OUR deliberate customizations
(
git log -p -- <plugin>/skills/<skill>shows how the vendored copy evolved) versus genuine upstream improvements. - Edit the vendored files to incorporate the upstream improvements while preserving every local customization. Read both versions fully before editing.
- Re-baseline BOTH sides:
npm run sync -- seed <plugin>/<skill>(acceptonly re-baselines the vendored hash and would leave the skill permanently flagged as upstream-updated).
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.