Agent skill

Upgrade

by narze in narze/dotfiles

Update this machine's Collie installation and verify the running bridge.

MITAuto-check passedDevOps & Cloud

Install Upgrade

skills CLI
$ npx skills add narze/dotfiles --skill upgrade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install narze/dotfiles upgrade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/narze/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/upgrade .claude/skills/upgrade && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
upgrade
GitHub stars
174
Token cost
~795 tokens
SKILL.md length
471 words
Files
1
Skills in repo
2
Repo updated
First seen
Licence
MIT

At a glance

Update this machine's Collie installation and verify the running bridge.

  • Works in 5 steps: Record the starting state. Run command… → Run the read-only gate. Run collie… → Clear an agent-sessions gate only if it… → …
  • DevOps & Cloud work in your project
  • Calls git and codex

What it does

Upgrade is an agent skill from narze/dotfiles. Update this machine's Collie installation and verify the running bridge.

Its SKILL.md is about 800 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. It works with Bash, macOS, Ansible and Homebrew. The repository describes itself as: macOS / Linux / Codespaces compatible dotfiles with 1-line setup script. Tested on Apple Silicon Macs. Supports both zsh and fish. Managed with Chezmoi. The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “/upgrade”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Record the starting state. Run command -v collie, collie version, collie status --plain, and collie update --status --plain. Note the…
  2. Run the read-only gate. Run collie update --check --plain. A red gate blocks the update. If network or local service checks fail with…
  3. Clear an agent-sessions gate only if it occurs. Read the pane IDs from collie doctor. If Herdr control is needed, check HERDR_ENV=1, read…
  4. Update. Repeat collie update --check --plain until it is green. Run collie update --plain for the offered release in the current major. A…
  5. Wait for the handoff and verify. collie update may return after staging while a child process swaps and restarts the service. Poll collie…

What it can do on your machine

Read from SKILL.md and the folder at commit a2104ed. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • codex

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Upgrade loads about 795 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 471 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~795

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from narze/dotfiles at commit a2104ed, republished under its MIT licence (© narze). 471 words, ~795 tokens.

Download SKILL.mdSave it as .claude/skills/upgrade/SKILL.md (or your agent's skills folder).
name
upgrade
description
Update this machine's Collie installation and verify the running bridge.
disable-model-invocation
true

Upgrade Collie

Use this procedure when the user invokes /upgrade in this dotfiles project to update Collie. Read the installed CLI's collie help and collie docs upgrading when its commands or install type differ from the steps below. Use the CLI as the source of truth for the available release and recovery commands.

  1. Record the starting state. Run command -v collie, collie version, collie status --plain, and collie update --status --plain. Note the current version and any update already in progress. Record git status --short if working in this repository; leave existing changes alone.

  2. Run the read-only gate. Run collie update --check --plain. A red gate blocks the update. If network or local service checks fail with ENOTFOUND, EPERM, or an unreachable bridge under a restricted shell, repeat the check with the access needed for GitHub, the local bridge, and the Herdr socket before diagnosing the service. Use collie doctor --plain to inspect a real red doctor result.

  3. Clear an agent-sessions gate only if it occurs. Read the pane IDs from collie doctor. If Herdr control is needed, check HERDR_ENV=1, read herdr --skill, then inspect the named panes with herdr agent list and herdr agent read. Restart only the named sessions that lack IDs. Get the user's approval before interrupting another active pane unless they already authorized it. For an idle Codex pane, exit with /exit, wait until herdr pane process-info --pane <pane-id> shows the shell, and capture the printed codex resume <session-id> command. If /exit is still visible at the Codex prompt, submit Enter again and verify the process changed. Start it in the same pane with herdr agent start <unique-name> --kind codex --pane <pane-id> -- resume <session-id>. Confirm Herdr reports an agent_session ID. Preserve the user's worktree and resume the same session. For other agents, follow that agent's supported resume flow rather than guessing.

  4. Update. Repeat collie update --check --plain until it is green. Run collie update --plain for the offered release in the current major. A major upgrade needs the user's explicit request and the installed release notes. If Collie reports a package-managed or Herdr-managed install, follow collie docs upgrading for that install instead of replacing its files directly.

  5. Wait for the handoff and verify. collie update may return after staging while a child process swaps and restarts the service. Poll collie update --status --plain until it reports a terminal result. Then run collie version, collie status --plain, and collie doctor --plain. Completion requires the intended version to be served, a running bridge, and no red doctor checks. If the run rolls back, gets stuck, or is interrupted, report the recorded state and use the recovery command printed by Collie. Check git status --short again if step 1 recorded it.

Show full SKILL.md (14 more words)Show less

Report the old and new versions, update result, bridge health, and any remaining issue.

© narze, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/upgrade of narze/dotfiles.

Open the folder on GitHubat commit a2104ed

Compare with similar skills

Upgrade next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Upgrade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Upgrade this skillnarze/dotfiles174—~795Automated safety check: PassMIT
New Mac Setupswyxio/skills172—~4.3kAutomated safety check: PassMIT
Mac App Releasesteipete/agent-scripts7.3k—~2.3kAutomated safety check: PassMIT
Reproduce macOS Python FlavorsNuitka/Nuitka15k—~1.7kAutomated safety check: PassAGPL-3.0
Ansible Playbook Updatervinta/hal-9000138—~1.4kAutomated safety check: PassMIT
CodexBar macOS Releasesteipete/CodexBar22k—~1.5kAutomated safety check: PassMIT

Similar skills

  • New Mac Setup

    swyxio/skills

    Fully automated new Mac setup for fullstack web developers and AI engineers.

    172 GitHub stars~4.3k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • Mac App Release

    steipete/agent-scripts

    Release workflow for Sparkle-updated macOS apps, driven by a repo-owned manifest and a shared script covering appcast, signing, GitHub Release and Homebrew closeout.

    7.3k GitHub stars~2.3k tokensUpdated 3 days ago
    DevOps & CloudAuto-check passed
  • Reproduce macOS Nuitka issues across Python distributions and GitHub Actions Python packaging.

    15k GitHub stars~1.7k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Keeps Ansible install tasks in line with upstream docs by fixing version, install-method and link drift one tool at a time, with a commit for each.

    138 GitHub stars~1.4k tokensUpdated 2 days ago
    DevOps & CloudAuto-check passed
  • CodexBar macOS Release

    steipete/CodexBar

    Releases a signed, notarized CodexBar build: confirms the changelog, resolves signing credentials from 1Password, runs the release script in tmux, and updates the Sparkle appcast and Homebrew tap.

    22k GitHub stars~1.5k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Runbook for assessing and executing a Mole CLI release: distribution channels, pre-flight checks, capital-V tags, build artifacts and the handoff to curated release notes.

    69k GitHub stars~2.5k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from narze/dotfiles

  • Chezmoi Reconcile

    narze/dotfiles

    Reconcile drift between the local machine and the chezmoi dotfiles repo, deciding per file whether the machine edit or the repo source wins.

    174 GitHub stars~1k tokensUpdated today
    Auto-check: warnings

Categories

Questions about Upgrade

What does Upgrade do?

Update this machine's Collie installation and verify the running bridge. Upgrade is an agent skill from narze/dotfiles. Update this machine's Collie installation and verify the running bridge.

When should I use Upgrade?

Upgrade fits situations like: devOps & Cloud work in your project.

How do I install Upgrade in Claude Code?

Run `npx skills add narze/dotfiles --skill upgrade -a claude-code`. Or copy the skill folder (.agents/skills/upgrade in narze/dotfiles) into .claude/skills/upgrade in your project. Claude Code loads it when a task matches its description.

How do I install Upgrade in Codex?

Run `npx skills add narze/dotfiles --skill upgrade -a codex`. Or copy the skill folder (.agents/skills/upgrade in narze/dotfiles) into .agents/skills/upgrade in your project. Codex loads it when a task matches its description.

Can I use Upgrade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add narze/dotfiles --skill upgrade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/upgrade, .gemini/skills/upgrade, .github/skills/upgrade and .opencode/skills/upgrade in your project.

What does Upgrade need to run?

Going by SKILL.md and its folder, Upgrade needs the command-line tools its instructions call (git and codex).

Does Upgrade access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Upgrade safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Upgrade use?

Upgrade is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Upgrade use?

About 795 tokens (SKILL.md is roughly 3.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Upgrade?

Skills that share tags, products or a category with Upgrade: New Mac Setup (swyxio/skills, 172 stars), Mac App Release (steipete/agent-scripts, 7.3k stars), Reproduce macOS Python Flavors (Nuitka/Nuitka, 15k stars) and Ansible Playbook Updater (vinta/hal-9000, 138 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Upgrade?

narze (a GitHub user) maintains it in narze/dotfiles, which has 174 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on October 7, 2026.

Source: narze/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.