Update Installed Skills
Agent Buildingupdate-installed-skillsUpdate Installed Skills is an Agent Skill for agent building published in the MoizIbnYousaf/Ai-Agent-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Use when syncing or updating previously installed skills to their latest version. Always dry-run updates before applying, and check for breaking changes.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/MoizIbnYousaf/Ai-Agent-Skills/blob/HEAD/skills/update-installed-skills/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/update-installed-skills, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Update Installed Skills
Goal
Keep installed skills current without breaking the agent's workflow or silently overwriting local customizations.
Guardrails
- Always use
--dry-runbefore running a real update. - Check what is currently installed before updating:
npx ai-agent-skills list --installed. - Never update all skills at once in production without reviewing the dry-run output.
- Use
--format jsonto capture structured update results for logging.
Workflow
- List currently installed skills.
npx ai-agent-skills list --installed --format json --fields name
- Check for available updates.
npx ai-agent-skills check
- Dry-run the update.
npx ai-agent-skills sync <skill-name> --dry-run
- Apply the update after reviewing.
npx ai-agent-skills sync <skill-name>
- For bulk updates, review each skill's dry-run output.
npx ai-agent-skills sync --all --dry-run
Gotchas
- Skills installed from GitHub will attempt a fresh clone during sync. If the upstream repo is gone, the update will fail gracefully.
- Manually edited SKILL.md files will be overwritten by sync. Back up customizations before syncing.
- The
checkcommand makes network requests to verify upstream sources. It may be slow or fail if sources are unreachable.