agentleFS
shivae372shivae372/claude-bootstrap/.claude/skills/self-update/SKILL.md

self-update

Skill1 starsChanged 7 months agoApache-2.0View on GitHub

Checks whether the project's claude-bootstrap setup is current and applies updates safely. Compares the installed version against the source repo, shows what changed, and updates only what the user approves. Triggered by /update.

  • Pipes a download into a shell

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Distinctive:

    Keep a project's bootstrap config current without clobbering the user's customizations.

    line 8
  2. Very specific:

    Update bootstrap_version in .claude/.bootstrap.json.

    line 36
  3. Very specific:

    NEVER overwrite a customized CLAUDE.md or SESSION_STATE.md without explicit confirmation.

    line 40
  4. Distinctive:

    ALWAYS show what will change before applying, and back up before replacing.

    line 41

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Purpose

Keep a project's bootstrap config current without clobbering the user's customizations.

When To Use This

  • The user runs /update or asks "is my Claude setup outdated?"

Steps

1. Read the installed version

python3 -c 'import json,pathlib; p=pathlib.Path(".claude/.bootstrap.json"); \
print(json.loads(p.read_text()).get("bootstrap_version","unknown") if p.exists() else "unknown")'

2. Read the latest version from the source repo

curl -fsSL https://raw.githubusercontent.com/shivae372/claude-bootstrap/master/VERSION 2>/dev/null || echo unknown

3. Compare and report (plain language)

  • Up to date → say so and stop.
  • Outdated → summarize what changed using the repo's CHANGELOG.md (curl -fsSL https://raw.githubusercontent.com/shivae372/claude-bootstrap/master/CHANGELOG.md).

4. Apply selectively (only what the user approves)

Offer: hooks, skills, commands, stack templates, or just-show-me. For each chosen item:

  1. Back up first: cp <file> <file>.bak
  2. Re-run the installer in merge mode to pull only new/updated component files: curl -fsSL https://raw.githubusercontent.com/shivae372/claude-bootstrap/master/install.sh | bash -s -- --merge
  3. Update bootstrap_version in .claude/.bootstrap.json.

Safety Rules

  • NEVER overwrite USER_PROFILE.json.
  • NEVER overwrite a customized CLAUDE.md or SESSION_STATE.md without explicit confirmation.
  • ALWAYS show what will change before applying, and back up before replacing.

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.