agentleFS
BorjaIPBorjaIP/personal-os-skills/skills/stack-updater/SKILL.md

stack-updater

Skill1 starsChanged 33 days agoMITView on GitHub

Trigger: check updates, update my stack, update skills, update gentle-ai, outdated tools, actualizar mi stack. Report available updates for bootstrap tools and this repo's skills, apply them on approval.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Never run sudo or system-package commands without showing the command and getting approval.

    line 18
  2. Very specific:

    Use only the updater matching the binary's source from assets/scan.sh.

    line 19
  3. Very specific:

    Never invent a "latest" version.

    line 20
  4. Very specific:

    Never touch project repositories.

    line 21
  5. Very specific:

    Before installing anything, run ./setup.sh --list, ask the user which tools and families they want, then run ./setup.sh --only <ids> --yes.

    line 23
  6. Very specific:

    Run bash assets/scan.sh (path relative to this skill), gentle-ai update when gentle-ai is present, and ./install-external.sh list from the …

    line 41
  7. Very specific:

    Run gentle-ai doctor only if Gentle AI was upgraded.

    line 46

≈ “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

Activation Contract

Load when the user asks whether anything installed by this repo can be updated: bootstrap tools (those listed by ./setup.sh --list tools), Gentle AI-managed tools, the skills in this repository, or external (third-party) skills installed from external/catalog.tsv. Also load when the user names a new tool or repo to track.

Hard Rules

  • Audit is read-only. NEVER update before the user approves the exact list.
  • Not-installed tools are NOT a problem: list them in ONE line ("Not installed: a, b") with no advice, no install offer, no follow-up question.
  • Never run sudo or system-package commands without showing the command and getting approval.
  • Use only the updater matching the binary's source from assets/scan.sh. Never mix managers.
  • Never invent a "latest" version; report unknown.
  • Never touch project repositories. Write only to ~/.config/personal-os-skills/stack.yaml, and only when the user names a new item.
  • Stay terse: no installation suggestions, no unrelated tooling.
  • Before installing anything, run ./setup.sh --list, ask the user which tools and families they want, then run ./setup.sh --only <ids> --yes. Never run setup.sh, install.sh or bootstrap-harness.sh without an explicit selection.

Decision Gates

SituationAction
Gentle AI, Engram, GGAUse gentle-ai update for installed vs latest; apply with gentle-ai upgrade
Claude / Cursor / CodexSource-specific command in references/update-commands.md
External skill installedStatus from ./install-external.sh list (run from the repo root); latest is unknown because the skills CLI has no check-only mode. Update only on approval: npx --yes skills@<SKILLS_CLI_VERSION> update -g <skill>, with the pin read from install-external.sh
Repo behind > 0git pull --ff-only, then ./install.sh --no-prompt --family <families already installed> to re-render placeholder skills
Repo dirty > 0Report it; do not pull until the user decides
Skill missing for a detected harnessReport names in one line; install only via ./setup.sh --only <family> on approval
Skill copy with placeholdersRe-run ./install.sh --no-prompt --family <its family> after a pull to refresh
source = unknownReport; do not guess a manager
Update failsStop that item, show output, continue the rest

Execution Steps

  1. Run bash assets/scan.sh (path relative to this skill), gentle-ai update when gentle-ai is present, and ./install-external.sh list from the repo root.
  2. Merge extra items from ~/.config/personal-os-skills/stack.yaml if it exists.
  3. Build the report; consider cursor skills only if ~/.cursor exists.
  4. Show it, then ask once: update all / pick / none. STOP and wait.
  5. Apply approved items one at a time; re-check each version.
  6. Run gentle-ai doctor only if Gentle AI was upgraded.

Output Contract

Table item | current | latest | status (up-to-date | update available | unknown), skills summary (N installed, M missing), one line for not-installed tools. After approval: item | command | result | new version, plus skipped and failed items.

References

  • references/update-commands.md — per-source commands.
  • assets/scan.sh — read-only detector.
  • assets/stack.example.yaml — manifest for extra items.

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.