update-installed-skills
Agent skill fromMoizIbnYousaf/ai-agent-skills
Use when syncing or updating previously installed skills to their latest version. Always dry-run updates before applying, and check for breaking changes.
How to install update-installed-skills
install update-installed-skills
# install the ai-agent-skills pack with the skills CLI
npx skills add MoizIbnYousaf/ai-agent-skills# or add only this skill to Claude Code: copy the folder
skills/update-installed-skills/
# into
~/.claude/skills/update-installed-skills/ (all projects)
.claude/skills/update-installed-skills/ (one project)
1# Update Installed Skills23## Goal45Keep installed skills current without breaking the agent's workflow or silently overwriting local customizations.67## Guardrails89- Always use `--dry-run` before running a real update.10- Check what is currently installed before updating: `npx ai-agent-skills list --installed`.11- Never update all skills at once in production without reviewing the dry-run output.12- Use `--format json` to capture structured update results for logging.1314## Workflow15161. List currently installed skills.1718```bash19npx ai-agent-skills list --installed --format json --fields name20```21222. Check for available updates.2324```bash25npx ai-agent-skills check26```27283. Dry-run the update.2930```bash31npx ai-agent-skills sync <skill-name> --dry-run32```33344. Apply the update after reviewing.3536```bash37npx ai-agent-skills sync <skill-name>38```39405. For bulk updates, review each skill's dry-run output.4142```bash43npx ai-agent-skills sync --all --dry-run44```4546## Gotchas4748- Skills installed from GitHub will attempt a fresh clone during sync. If the upstream repo is gone, the update will fail gracefully.49- Manually edited SKILL.md files will be overwritten by sync. Back up customizations before syncing.50- The `check` command makes network requests to verify upstream sources. It may be slow or fail if sources are unreachable.
Excerpt shown under the repository's MIT license.
