← ClaudeAtlas

cast-upgradelisted

Upgrade Diecast: pull latest upstream, preserve local skill modifications via `git stash` + `.cast-bak-<ts>/`, restart `cast-server`. Supports auto-upgrade, snooze backoff (24h / 48h / 1 week), and silent skip when the user has opted out. On any-step failure, restores `~/.claude/` from the latest `.cast-bak-*` directory and pops the repo stash so the user is never left worse-off than before the upgrade ran.
sridherj/diecast · ★ 3 · AI & Automation · score 75
Install: claude install-skill sridherj/diecast
# /cast-upgrade Upgrade an installed Diecast to the latest published `main`, preserve any local edits the user has made under `~/.claude/skills/cast-*/`, and restart `cast-server` if it was running. The skill is the lifecycle counterpart to `./setup`: same install seam, same backup primitive (`.cast-bak-<ts>/`), same anonymization gate. The only operation it adds on top of `./setup` is **`git pull --ff-only`** in the repo and **stash discipline** for any local repo edits the user has made. ## Delegation pattern `/cast-upgrade` delegates **two** interactive prompts to [`cast-interactive-questions`](../cast-interactive-questions/SKILL.md): 1. The 4-option upgrade prompt (Step 7 below). 2. The active-runs confirm prompt (Step 8 below). Both follow the protocol in [`docs/specs/cast-delegation-contract.collab.md`](../../../docs/specs/cast-delegation-contract.collab.md): one question at a time, lettered options, recommendation first. Do **not** ask either question with plain conversational text — always go through `cast-interactive-questions`. ## Configuration keys consumed Read from `~/.cast/config.yaml` (canonical schema in [`docs/config.md`](../../../docs/config.md)): | Key | Effect | | ------------------------ | -------------------------------------------------------------------------------- | | `auto_upgrade` | If `true`, skip Step 7's prompt and go straight to the