skill-update-manager

Check and update globally installed agent skills across third-party and local install chains.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/peachest/skills --skill skill-update-manager-peachest
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: skill-update-manager
Source: https://github.com/peachest/skills/tree/main/in-progress/skill-update-manager
Command: npx skills add https://github.com/peachest/skills --skill skill-update-manager-peachest

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Globally installed agent skills come from two different install chains — third-party GitHub repos tracked by a lock file, and local skills installed from a source repo — and each chain needs a different update path. Worse, the npx skills update command misreports every skill as outdated when the lock file uses an older hash scheme, making it impossible to know what actually changed. ## Core Features & Use Cases - Dual-chain update checking: Distinguishes third-party skills (symlinks tracked in ~/.agents/.skill-lock.json) from local source skills (real directories installed from ~/skills) and checks each with the right method. - Content-based diffing: Downloads upstream GitHub tarballs via the gh CLI and diffs file content against installed copies, reporting OK / OUTDATED / GONE / MISSING / ERROR per skill with file-level change summaries. - Guided update and cleanup: Prints the exact npx skills update / npx skills add / npx skills remove commands to apply updates, reinstall changed local skills, and clean lock residue, then verifies with a re-check. - Use Case: Run the checker after npx skills update -g claims everything is outdated — the tarball diff reveals which skills genuinely changed upstream so you only update those. ## Quick Start Ask the agent to check all globally installed skills for upstream updates and update the ones that actually changed.

Frequently Asked Questions about skill-update-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check globally installed agent skills for updates?▼

Run the check-updates.py script with the 'all', 'remote', or 'local' mode. It downloads upstream GitHub tarballs and diffs file content against installed copies, reporting each skill as OK, OUTDATED, GONE, MISSING, or ERROR with the exact update commands.

Why does npx skills update report every skill as outdated?▼

Lock entries written by older CLI versions store a local content sha256 (64 hex chars), while the update command compares GitHub tree SHAs (40 hex chars). The schemes never match, so old-scheme entries read as outdated forever regardless of actual upstream state.

How do I update skills installed from a local source repo?▼

Local skills are outside the lock file, so `npx skills update` never touches them. Reinstall each changed skill from its source path with `npx skills add -g ~/skills/<category>/<name> -a pi -y`, one path per invocation.

What dependencies are required to check skill updates?▼

You need python3 with stdlib modules json, hashlib, and tarfile, plus the GitHub CLI (gh) authenticated via `gh auth login` for fetching upstream tarballs. The included check-env.sh script verifies all prerequisites before running.

What happens to local edits when updating third-party skills?▼

Real-directory installs of third-party skills get replaced by symlinks during update, which can lose custom edits. Diff the local copy against the upstream tarball first and back it up with `cp -a` if it contains modifications.