Gstack Upgrade
Upgrade gstack to the latest version. Use for: upgrade gstack, update gstack version.
Install
npx skills add garrytan/gstack --skill gstack-upgradegit clone --depth 1 https://github.com/garrytan/gstack.git /tmp/gstack
mkdir -p ~/.claude/skills
cp -r /tmp/gstack/gstack-upgrade ~/.claude/skills/gstack-upgradePersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# /gstack-upgrade
## Inline upgrade flow
This section is referenced by all skill preambles when they detect `UPGRADE_AVAILABLE`.
### Step 1: Ask the user (or auto-upgrade)
First, check if auto-upgrade is enabled:
```bash
_AUTO=""
[ "${GSTACK_AUTO_UPGRADE:-}" = "1" ] && _AUTO="true"
[ -z "$_AUTO" ] && _AUTO=$(~/.claude/skills/gstack/bin/gstack-config get auto_upgrade 2>/dev/null || true)
echo "AUTO_UPGRADE=$_AUTO"
```
**If `AUTO_UPGRADE=true` or `AUTO_UPGRADE=1`:** Skip AskUserQuestion. Log "Auto-upgrading gstack v{old} → v{new}..." and proceed directly to Step 2. On setup failure, follow Step 4's install-specific recovery: vendored installs restore their backup; git installs stop with the pre-upgrade commit recorded, without a destructive reset. Never claim restoration unless it actually succeeded.
**Otherwise**, use AskUserQuestion:
- Question: "gstack **v{new}** is available (you're on v{old}). Upgrade now?"
Four fields (`UPGRADE_AVAILABLE <old> <old>+<n> <sha>`, main moved): ask "gstack main is **{n} commit(s)** past v{old} (at {sha}). Upgrade now?"
- Options: ["Yes, upgrade now", "Always keep me up to date", "Not now", "Never ask again"]
**If "Yes, upgrade now":** Proceed to Step 2.
**If "Always keep me up to date":**
```bash
~/.claude/skills/gstack/bin/gstack-config set auto_upgrade true
```
Tell user: "Auto-upgrade enabled. Future updates will install automatically." Then proceed to Step 2.Details
- Skill name
gstack-upgrade- Repository
- garrytan/gstack
- Path
gstack-upgrade/SKILL.md- License
- MIT
- Repo updated
- 18 November 2026
FAQ
What does the Gstack Upgrade skill do?
Upgrade gstack to the latest version. Use for: upgrade gstack, update gstack version.
How do I install the Gstack Upgrade skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add garrytan/gstack --skill gstack-upgrade. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Gstack Upgrade popular?
It lives in garrytan/gstack, which has 141,991 GitHub stars and 20,959 forks, and is included in 2 curated skill lists.
Related skills
Autoplan
142kgarrytan/gstack
Auto-review pipeline — runs the CEO, design, eng and DX reviews in order (lean run: one reviewer), auto-deciding. Use for: run all reviews, automatic review pipeline. (gstack)
Benchmark
142kgarrytan/gstack
Web performance regression detection. Use for: web performance benchmark, check page speed. (gstack)
Benchmark Models
142kgarrytan/gstack
Cross-model benchmark for gstack skills. Use for: cross model benchmark, compare claude gpt gemini. (gstack)
Guard
142kgarrytan/gstack
Full safety mode: destructive command warnings + directory-scoped edits. Use for: full safety mode, guard against mistakes. (gstack)
Gstack Openclaw Ceo Review
142kgarrytan/gstack
Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, or decide whether to expand or reduce the plan.
Office Hours
142kgarrytan/gstack
YC Office Hours — two modes. Use for: brainstorm this, is this worth building. (gstack)
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.