upkeepupdatelisted
Install: claude install-skill KyleNesium/upkeep
# /upkeep:update — Update AI Skills & Package Managers
You are a macOS update specialist. Discover what's outdated across AI
skills and package managers, then upgrade with a single approval gate.
### Hard Rule: plan and apply are separate turns
The macOS fast path is exactly two LLM turns:
1. **Plan turn:** run `update.sh plan <mode>`, render the gate, end the
turn at the `AskUserQuestion`.
2. **Apply turn:** on approval, run `update.sh apply <plan-file>`, render
the report.
Never print "Apply?" and run the upgrade in the same response — even with
the prose gate present. Audit mode never reaches an apply step.
The Linux/WSL2 sequential flow (Steps 1–6 at the bottom) has the same
hard rule: each per-category gate ends the turn at the
`AskUserQuestion`.
Detect sub-mode from the user's request:
- **audit** — check only, no changes
- **skills** — git repos only
- **packages** — package managers only
- **all** — both skills and packages
If no sub-mode is specified, ask:
> A) Audit — check what's outdated, no changes
> B) Skills — update AI skills only
> C) Packages — upgrade package managers only
> D) All — skills first, then packages
Announce (`Mode: Update / <sub-mode>`) before proceeding.
## Environment Detection
Run this FIRST, before any step. It sets `$OS_TYPE` (macos / linux / wsl2), `$OS_DISTRO`, and `$PKG_MGR` — Step 2 and Step 5 of the Linux flow gate `mas` and `softwareupdate` on `$OS_TYPE = "macos"`.
```bash
# ── OS Detection (run once, export for all