Updating and removing
Updating is one command, and it is deliberately cautious about edits you made yourself.
Update
Update every installed skill to the latest version, or name individual skills. Use @latest — otherwise npx may run an older cached copy of the CLI.
$ npx cg-web-skills@latest update --all
✔ Updated cg-web-animate (1.1.0 → 1.2.0)
- cg-web-designer is already up to date
$ npx cg-web-skills@latest update cg-web-designer
How your edits are protected
- When you install a skill, the CLI records a fingerprint of it in .claude/cg-web-skills.json.
- On update, a skill that still matches its fingerprint is replaced with the new version.
- A skill you edited is not changed. The CLI tells you which skills have local changes and stops.
- Run it again with --force to update anyway. Your edited version is moved to .claude/cg-web-skills-backups/ first, so you can copy your changes over.
- Skills installed before version 1.1.0, or copied by hand, have no fingerprint. If they differ from the new version they need --force once, because the CLI cannot tell your edits from an older version.
What to commit
Commit .claude/cg-web-skills.json together with .claude/skills/. You probably want .claude/cg-web-skills-backups/ in your .gitignore.
Adding new skills later
The skillset grows. Skills you already have are skipped, so re-running install --all only adds what is new.
$ npx cg-web-skills install --all
- Skipped cg-web-animate: already installed at .claude/skills/cg-web-animate
- Skipped cg-web-designer: already installed at .claude/skills/cg-web-designer
“Already installed”
$ npx cg-web-skills install cg-web-designer
✖ Skill "cg-web-designer" is already installed at .claude/skills/cg-web-designer
Remove the existing directory first if you want to reinstall it.
install never overwrites, by design. If you meant to get the newest version, use update instead of install.
Removing a skill
Delete the skill's directory. For a global install, delete it from ~/.claude/skills/ instead. There is no uninstall step and nothing else to clean up.
$ rm -rf .claude/skills/cg-web-designer