使用方法
- 复制安装命令,在自己的智能体环境安装前先检查源码包。
- 从原始文档核对所需工具、凭据和支持的宿主。
- 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/moizibnyousaf/ai-agent-skills --skill update-installed-skills开始前需了解
- 安装不包含模型订阅、API 额度或访问文件的权限。
- 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。
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-runGotchas
- 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.


