跳到主要内容
知仓学习社ZHICANG

update-installed-skills

Use when syncing or updating previously installed skills to their latest version. Always dry-run updates before applying, and check for breaking cha…

不碰外部(只输出文字)无严重或高危命中MoizIbnYousaf/ai-agent-skills

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Update Installed Skills

Goal

Keep installed skills current without breaking the agent's workflow or silently overwriting local customizations.

Guardrails

  • Always use --dry-run before 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 json to capture structured update results for logging.

Workflow

  1. List currently installed skills.
npx ai-agent-skills list --installed --format json --fields name
  1. Check for available updates.
npx ai-agent-skills check
  1. Dry-run the update.
npx ai-agent-skills sync <skill-name> --dry-run
  1. Apply the update after reviewing.
npx ai-agent-skills sync <skill-name>
  1. 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 check command makes network requests to verify upstream sources. It may be slow or fail if sources are unreachable.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。