agentleFS
Atou4Atou4/skillsmith/skills/meta/skill-update-check/SKILL.md

skill-update-check

Skill3 starsChanged 12 days agoMITView on GitHub

Check whether installed or vendored agent skills have changed upstream on GitHub, show what changed, and offer a refresh. Covers skills installed with the skills CLI (via ~/.agents/.skill-lock.json) and third-party skills copied into a repo (via a vendor.json). Use when the user asks "are my skills up to date", "check for skill updates", "refresh vendored skills", or before a release of a repo that vendors skills.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 3 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Read-only until the user approves a refresh.

    line 8
  2. Distinctive:

    Ask before changing anything.

    line 28
  3. Distinctive:

    Never edit a vendored skill to "merge" upstream changes by hand.

    line 35
  4. Very specific:

    Do not refresh skills the user has edited locally without asking.

    line 36
  5. Very specific:

    Run the skill-vetter skill on a refreshed third-party skill when its scripts changed.

    line 37

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill update check

Read-only until the user approves a refresh. Upstream skills change often, sometimes by moving content into a new skill, so a refresh is a decision, not a reflex.

Run

# skills installed with the skills CLI
GITHUB_TOKEN=$(gh auth token) python3 -I <this skill's folder>/scripts/check_updates.py --lock

# third-party skills copied into a repo
GITHUB_TOKEN=$(gh auth token) python3 -I <this skill's folder>/scripts/check_updates.py --vendor vendor.json
  • The token is optional. Without it GitHub allows about 60 requests per hour, which a large lock file can exceed. Never print the token.
  • --only a,b checks named skills. --fail-on-changes exits 1 when anything changed, for CI.
  • It compares the git tree hash of each skill folder with the same folder on the upstream default branch. Only public repo names and paths are sent to api.github.com.

After running

  1. Report the counts, then each changed skill with the upstream commits listed under it. Say "unknown" results plainly (folder moved, repo gone, rate limit).
  2. For each changed skill, read the commit titles and say what kind of change it is: fixes, new content, or a restructure. A restructure (for example "Add better-motion skill" after content left better-ui) can mean refreshing one skill drops content that now lives in another; check the upstream repo for new sibling skills before refreshing.
  3. Ask before changing anything. Then:
    • CLI installs: refresh with npx skills add <source> --global --agent <agents> --skill <name> --yes, through the skill-pack-installer skill so collisions are checked. Do not run npx skills update --help; it performs a real update.
    • Vendored copies: replace the folder with the upstream folder at the new commit, keep the repo's added files (such as a copied LICENSE), update the pinned commit in vendor.json and the notices file, and run the repo's validator.
  4. Re-run the check and show that the refreshed skills now report "up to date".

Rules

  • Never edit a vendored skill to "merge" upstream changes by hand. Replace it with upstream and keep only the repo's own added files.
  • Do not refresh skills the user has edited locally without asking; a refresh overwrites their edits. If a skill folder is a real directory rather than a link into ~/.agents/skills, treat it as user-managed.
  • Run the skill-vetter skill on a refreshed third-party skill when its scripts changed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.