moizibnyousaf/ai-agent-skills

update-installed-skills

Use when syncing or updating previously installed skills to their latest version.

ソースを見る

使い方

  1. インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
  2. 必要なツール、認証情報、対応環境を原文で確認します。
  3. 入力と成果物を指定し、出力を資料と照合します。
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-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.
bash
npx ai-agent-skills list --installed --format json --fields name
  1. Check for available updates.
bash
npx ai-agent-skills check
  1. Dry-run the update.
bash
npx ai-agent-skills sync <skill-name> --dry-run
  1. Apply the update after reviewing.
bash
npx ai-agent-skills sync <skill-name>
  1. For bulk updates, review each skill's dry-run output.
bash
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.

タスクに関連する項目

同じリポジトリから

関連する Skills

すべての Skills