gstack: ship agent-written code you can trust. Review that catches blocking bugs, a guard that catches destructive commands, and a PR that carries its own evidence. gstack tests itself in public against the same model running without it, and deletes the skills that lose.
It works like a small engineering team inside Claude Code and other coding agents: a partner (/office-hours) who pushes back on your idea before you write a line, a reviewer who reads your diff for production bugs, a QA lead who opens a real browser, and a release engineer who ships the PR. Try /review first on a diff you already have, or /gstack-ship when you are ready to run the review panel, test, and open a PR. You run it with slash commands (or $ skill mentions in Codex CLI), and it is free and MIT-licensed. Built by Garry Tan, President & CEO of Y Combinator, who uses it every day.
Read next: Every eval, wins and losses · How one person's agent crews merged 197 PRs in 14 days, and what that number hides · Why gstack
/gstack-shipreview panel caught 78.9% of planted bugs vs 42.2% for one plain read on Claude Opus 5.5 (Nov 23, 2026). Across 30 real gstack PRs with planted bugs (3 trials each, 90 per arm), the/gstack-shipfirst-pass review panel caught 71 of 90 (78.9%) on Claude Opus 5.5 against 38 of 90 (42.2%) for one plain review prompt (+36.7 percentage points, 95.2% range +24.6 to +48.7), at $1.60 vs $0.66 per run (~2.4x cost). On GPT-6.2 Sol, the panel caught 58 of 90 (64.4%) against 46 of 90 (51.1%) for one plain read (+13.3 points, 95.2% range −2.0 to +28.7, crossing zero) at $1.19 vs $0.50 per run (~2.4x cost). Adding the second-model reviewer alone to two plain reads added +14.4 percentage points on Claude Opus 5.5 (+5.9 to +23.0) and +10.0 on GPT-6.2 Sol (+1.8 to +18.2). Caveats: the preregistered primary test (Nov 22, 2026) compared the panel against two plain reads plus the second-model reviewer (74.4% at $1.61/run on Opus 5.5; 62.2% at $1.41/run on Sol) — neither model met the no-worse bar and the panel was not shown to beat that substitute either, though swapping saves no money. Planted-bug catch rates come from the preregistered deterministic rule; extra non-planted findings went unscored because their model judge missed its calibration bar. The planted bugs come from gstack PRs, and a frozen GitHub-fetch rule zeroed 36 of 180 Sol plain-read runs. (results · preregistration)- The guard caught 98.1% of destructive commands (Nov 21, 2026). Replaying 254,322 Bash commands agents ran, the guard in v1.102.1.0 caught 930 of 948 destructive ones (95% range 97.0% to 98.8%) and asked on or blocked 981 of 253,084 harmless ones (0.39%). Caveats: an exploratory replay, 98% of the destructive calls came from Terminal-Bench 2 container sysadmin work, and in headless runs its confirmation prompts become warnings; only its hard blocks still stop the agent. (replay · count verification)
/reviewflagged more blocking bugs: +22.6 points (Nov 4, 2026; follow-up pilot Nov 27, 2026). Given 42 known blocking bugs, each reviewed twice, the full procedure flagged 22 of 84 chances as blocking (26.2%), against 3 of 84 (3.6%) for plain Claude Opus 5.5 (95% range +11.0 to +33.7). Caveats: 41 of the 42 test bugs came from past gstack code reviews and closely related tools (home-field bias), 42 of 66 gstack sessions ran the specialist reviewers only after the contract hook blocked a premature stop, a session cost 8.9x as much, the judge was checked against another model rather than people, and in a Nov 27, 2026 follow-up pilot the procedure ran unreliably (Opus 5.5 completed the full sequence in 0 of 20 reviews and skipped the second-model reviewer; the Dec 1–2 fixes have not been re-measured yet). (Nov 4 results · scorecard · Nov 27 pilot)
All results above were measured in November 2026, before the Dec 2, 2026 Core-10 and lean-preamble default (v1.106.4.0) and the Dec 1–2 /review reliability fixes; those defaults have not been re-measured yet.
We delete what loses. /investigate was removed after a controlled eval found no measurable gain, and /cso was removed after a plain "audit this repo for security problems" request named more real security advisories in three tries. See the cut list for the numbers and alternatives, or browse every eval plan and result in gstack-evals.
64-second rendered storyboard built from real-run artifacts: /qa reproduces and fixes a browser bug, /review flags a payout race with a second model, and /gstack-ship opens a PR with its check record (storyboard and source).
An example end-to-end session (starting from a new idea):
You: I want to build a daily briefing app for my calendar.
You: /office-hours
Claude: I'm going to push back on the framing. What you described is a
personal chief of staff, not a briefing app.
[challenges your premises, writes a design doc the next skills read]
You: /autoplan
[CEO, design and eng reviews of the plan; asks you only taste calls]
You: Approve plan. Build it.
You: /review
[AUTO-FIXED] 2 issues. [ASK] Race condition → you approve the fix.
You: /qa https://staging.myapp.com
[opens a real browser, reproduces a bug, fixes it, adds a test]
You: /gstack-ship
Tests: 42 → 51 (+9 new). PR opened with the tests and review results.
Needs Claude Code, Git and Bun v1.4.2+ (setup refuses Bun older than 1.3.3; if Bun is missing or below 1.3.3, setup auto-installs a pinned, checksum-verified build only when you pass --yes, set GSTACK_INSTALL_BUN=1, or confirm its interactive prompt), plus Node.js on Windows. Run:
git clone --single-branch --depth 1 https://github.com/garrytan/gstack.git ~/.claude/skills/gstack && cd ~/.claude/skills/gstack && ./setupOr add the Claude Code plugin with /plugin marketplace add garrytan/gstack and /plugin install gstack@gstack (or /plugin install gstack --marketplace garrytan/gstack on Claude Code 2.1.275+), then run /gstack:gstack-setup inside Claude Code to clone gstack and build its compiled tools.
For OpenAI Codex CLI (full support), clone gstack and run ./setup --host codex (or run ~/.claude/skills/gstack/setup --host codex if you already installed for Claude Code), then invoke skills with $ mentions such as $review, $gstack-ship, and $office-hours. Other agents live in docs/hosts.md.
What ./setup changes on your machine:
- Skills linked by default: links the Core-10 skills (
/office-hours,/autoplan,/plan-ceo-review,/plan-eng-review,/review,/qa,/gstack-ship,/careful,/freeze,/unfreeze) plus/gstack-upgradeinto~/.claude/skills/and compiles gstack's local tools inside~/.claude/skills/gstack/. Add opt-in packs anytime with~/.claude/skills/gstack/setup --pack <name>or--pack full(packs). - Light footprint: Core-10 currently loads ~2,185 tokens of passive frontmatter at session start (~2,256 tokens including
/gstack-upgrade, cutting passive overhead by 74% compared with all 62 shipped top-level skills; live CI-checked table in docs/context-bill.md). - Hooks registered by default: adds three hooks to
~/.claude/settings.jsonnon-interactively — the destructive-command guard (PreToolUseon Bash/PowerShell), skill contracts (Stop, blocks once when a contract skill stops without its required outputs), and session timeline cleanup (Stop, fail-open) — plus an interactive prompt in terminals for/plan-tune's three AskUserQuestion hooks (opt in non-interactively with--plan-tune-hooksor skip with--no-plan-tune-hooks;--teamalso adds aSessionStartauto-update hook). Hooks enforce checks when models skip written instructions: in the Nov 4/revieweval, 42 of 66 sessions ran the specialist reviewers only after the contract hook intervened, and in a Nov 21 eval of the opt-in routing hook (--skill-routing, off by default), adding a one-line prompt hint raised loading of a test skill from 0 of 60 to 48 of 60 fresh tasks (eval) — though hooks alone do not guarantee full execution when skill steps drift, as seen in the Nov 27/reviewpilot. Turn off any default hook with--no-destructive-guard,--no-skill-contracts, or--no-timeline-stop-hook(optional hooks--skill-routing,--ceo-review-gate, and--autoplan-gatestay off unless you opt in; hook reference).
If you install the opt-in browser pack (~/.claude/skills/gstack/setup --add-include browse, or ~/.claude/skills/gstack/setup --pack browser to set your active pack list), add the browsing rule to your project's CLAUDE.md:
## gstack
Use /browse from gstack for all web browsing. Never use mcp__claude-in-chrome__* tools.
New installs follow stable. Team mode, channels, platform notes and hook details live in docs/install.md. Uninstall steps live in docs/uninstall.md.
Try it first on a diff you already have: open a branch with local changes and run /review (or $review in Codex CLI) to inspect your diff without pushing anything; when you are ready to run the full review panel, tests, push, and open a PR, run /gstack-ship (or $gstack-ship).
| Skill | What it does |
|---|---|
/review |
Start here on an existing diff. Reads your changes for bugs that pass CI and break production, fixes the obvious ones, and asks about the rest. |
/gstack-ship |
Runs tests, the multi-reviewer panel (including a second model when configured), and a docs check, then opens a PR whose body shows what was checked. |
/qa |
Tests your site, API, CLI, job or webhook. Reproduces bugs, fixes the cause, adds a regression test where it can and re-verifies. |
/office-hours |
Start here for a new idea. Pushes back on your framing before you write code and writes a design doc the other skills read. |
Stop there. You'll know if this is for you.
Turn on the opt-in PR receipt footer (~/.claude/skills/gstack/bin/gstack-config set pr_receipt_footer true, or ./bin/gstack-config set pr_receipt_footer true from your gstack checkout on other hosts) for a commit-bound check line; opted-in public PRs feed the weekly public count.
/autoplan, /plan-ceo-review, /plan-eng-review, and /careful (plus /freeze and /unfreeze) are installed by default in Core-10. /plan-design-review, /build-check, /land-and-deploy, /retro, and /guard are not installed by default — enable their opt-in packs or add them individually below.
| Skill | Pack | What it does |
|---|---|---|
/autoplan |
Core-10 (default) | Runs the plan reviews that apply (CEO, design, developer experience, eng) and brings the taste and scope calls to you in one approval. |
/plan-ceo-review |
Core-10 (default) | Rethinks the problem and finds the better product inside the request. |
/plan-eng-review |
Core-10 (default) | Locks architecture, data flow, edge cases and the test plan before code. |
/plan-design-review |
design (opt-in) |
Rates each design dimension 0 to 10 and edits the plan to get there. |
/build-check |
release (opt-in) |
Runs the repo's typecheck, lint, build and the tests your change needs; fixes and reruns until green, or says why it could not verify. |
/careful |
Core-10 (default) | Warns before destructive commands; on by default in Claude Code. /guard (dev-tools, opt-in) adds an edit lock. |
/land-and-deploy |
release (opt-in) |
Merges the PR, waits for CI and the deploy, and checks production health. |
/retro |
ops (opt-in) |
Weekly retro covering what shipped, streaks, test health and the weekly digest. |
To add the opt-in sprint skills without changing any packs you already saved:
~/.claude/skills/gstack/setup --add-include plan-design-review,build-check,land-and-deploy,retro,guardOr set your full active opt-in pack list with --pack (replaces saved skill_packs; include browser if you also enabled it above):
~/.claude/skills/gstack/setup --pack design,release,ops,dev-tools # or ~/.claude/skills/gstack/setup --pack full for every packThe plan reviews have not shown a measured gain yet, and the tests so far left them little room to show one (what we learned). Use them for the thinking they force.
Design, browser, iOS, memory, Capy factory and maintainer skills are listed by tier in docs/skills.md, with a deep dive for each.
In Capy, /captain runs a coordinator thread that directs parallel crews of agent threads and lands verified PRs in batched releases (setup). Without Capy, run local Claude Code or Codex CLI worktrees via crew/bin/gstack-crew (Captain without Capy (local worktrees)).
- October 2026 measurement on Capy crews: 3.0x the PRs, issues fixed in a median 2.4 days. Between October 15 and October 28, 2026, after a coordinator thread began directing parallel crews of agent threads on gstack, this repo merged 197 PRs, against 65 in the prior 14 days (October 1–14, 2026); the 52 issues closed by a PR in that window were fixed in a median 2.4 days. Caveats: agents wrote PRs in both windows (57 of 65 before), so this measures a workflow change rather than agents against no agents, and the median PR shrank from 1,292 changed lines to 422, so it is 3x the PRs, not 3x the code (the full October measurement).
Run the doctor: ~/.claude/skills/gstack/bin/gstack-doctor (on other hosts, ./setup --status prints its path). It costs nothing and prints the fix for each problem. Every gstack message is explained in docs/troubleshooting.md; more help is in docs/install.md.
Telemetry is off unless you opt in. The update check and second-model reviews (which send code to Codex or Claude Code under your own login) are on by default; each turns off with one setting (docs/privacy.md).
Skills · Context bill · Cut list · Install · Other agents · PR receipt · Weekly digest · Releases · Support tiers · Architecture · Contributing · Changelog · All docs
We're hiring. Want to ship real products at AI-coding speed and help harden gstack? Come work at YC — ycombinator.com/software Extremely competitive salary and equity. San Francisco, Dogpatch District.
MIT. Free forever. Go build something.


