gstack README

The project's README from github.com/garrytan/gstack. As one markdown file: README.md.

gstack

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 who pushes back on your idea, a reviewer who reads the diff for production bugs, a QA lead who opens a real browser, and a release engineer who ships the PR. Start with /office-hours. You run it with slash commands, and it is free and MIT-licensed. Built by Garry Tan, President & CEO of Y Combinator, who uses it every day.

Read next: How one person's agent crews merged 197 PRs in 14 days, and what that number hides · Every eval, wins and losses · Why gstack

Measured

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.

How it works

Captured /qa, /review, and /gstack-ship demo run on a billing app.

64-second run where /qa fixes a browser bug, /review flags a payout race with a second model, and /gstack-ship opens a PR with its check record (re-record).

The gstack loop: /office-hours writes a design doc, /autoplan reviews the plan, your agent builds, /review flags blocking bugs, /qa reproduces and fixes bugs, and /gstack-ship opens a PR that shows what was checked. In Claude Code, a guard checks shell commands along the way.

An example session:

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.

Install — about 30 seconds

Needs Claude Code, Git and Bun v1.4.2+ (setup refuses Bun older than 1.3.3 and can auto-install pinned, checksum-verified Bun if missing), 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 && ./setup

Or add the Claude Code plugin with /plugin marketplace add garrytan/gstack and /plugin install gstack@gstack.

Then 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 hooks live in docs/install.md. Codex CLI now has full support; other agents live in docs/hosts.md. Uninstall steps live in docs/uninstall.md.

Start with four skills

Skill What it does
/office-hours Start here. Pushes back on your framing and writes a design doc the other skills read.
/review Reads your diff for bugs that pass CI and break production. Fixes the obvious ones and asks about the rest.
/qa Tests your site, API, CLI, job or webhook. Reproduces bugs, fixes the cause, adds a regression test where it can and re-verifies.
/gstack-ship Runs tests, review and a docs check, then opens a PR whose body shows what was checked.

Stop there. You'll know if this is for you.

Turn on the opt-in PR receipt footer (gstack-config set pr_receipt_footer true) for a commit-bound check line; opted-in public PRs feed the weekly public count.

Real PR check record

Shipped check record from PR 4923 with commit SHA, tests, and second-model review.

The rest of the sprint

Skill What it does
/autoplan 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 Rethinks the problem and finds the better product inside the request.
/plan-eng-review Locks architecture, data flow, edge cases and the test plan before code.
/plan-design-review Rates each design dimension 0 to 10 and edits the plan to get there.
/build-check 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 Warns before destructive commands; on by default in Claude Code. /guard adds an edit lock.
/land-and-deploy Merges the PR, waits for CI and the deploy, and checks production health.
/retro Weekly retro covering what shipped, streaks, test health and the weekly digest.

The 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.

Running parallel crews

The factory numbers above come from Capy, where /captain runs agent crews and lands verified PRs in merge trains (setup). Without Capy, run local Claude Code or Codex CLI worktrees via crew/bin/gstack-crew (Captain without Capy (local worktrees)).

Real 18-PR release

v1.105.3.0 release notes showing 18 verified PRs landed together.

Troubleshooting

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.

Privacy

Telemetry is off unless you opt in. The update check and outside reviews (which send code to Codex or Claude Code under your login) are on by default; each turns off with one setting (docs/privacy.md).

Docs

Skills · 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.

License

MIT. Free forever. Go build something.

gstack (garrytan/gstack)

Searching Database…

143.1K ·GitHub
What is this?gstack is Garry Tan's personal Claude Code setup: a pack of 23 opinionated skills that act like a full engineering team (CEO, eng manager, designer, reviewer, QA, security officer, release engineer) inside Claude Code.
Is this a code library, or something else?It is not a library or framework you import into code - it is 23 specialist skills plus 8 power tools, all implemented as Markdown slash commands that run inside Claude Code (or other supported AI coding agents).
How do I install gstack?Paste the install instructions into Claude Code: it clones gstack into ~/.claude/skills/gstack and runs ./setup, then you run /office-hours to describe what you are building and work through /plan-ceo-review, /review, and /qa.
What do I need installed before setup?You need Claude Code, Git, and Bun v1.0+; Node.js is only required on Windows. On macOS, the Aside browser (macOS 15+) is recommended so browser skills use your real logged-in sessions instead of a bundled fallback browser.
Does gstack work as a loose grab-bag of commands, or do I need to follow its process?gstack is built as a sprint process, not standalone tools: skills feed into each other in order (Think, Plan, Build, Review, Test, Ship, Reflect), and without the Aside browser on macOS, browser-driven skills fall back to gstack's own bundled browser instead of your logged-in sessions.
Who is this built for?Founders and CEOs who still want to ship code, first-time Claude Code users who want structured roles instead of a blank prompt, and tech leads or staff engineers who want rigorous review, QA, and release automation on every PR.
Does gstack only work with Claude Code?No - it supports 10 AI coding agents including OpenAI Codex CLI, OpenCode, Cursor, Factory Droid, Kiro, Slate, OpenClaw, Hermes, and GBrain, with setup auto-detecting which ones you have; any other rules-reading agent can use a lightweight instruction-only digest.
Is there a catch with the license or pricing?No catch - gstack is entirely free and MIT licensed, meant to be forked and modified.
What does the /office-hours skill actually do?It opens with six forcing questions that push back on your product framing before any code is written, producing a design doc that every downstream skill (CEO review, eng review, QA) builds on.
How does gstack connect to OpenClaw?OpenClaw spawns Claude Code sessions via ACP, so once gstack is installed for Claude Code, you can just talk to your OpenClaw agent naturally (e.g. ask for a security audit) and it will dispatch the matching gstack skill like /cso or /autoplan.
Does gstack keep working automatically after I install it in a shared repo?Yes - 'team mode' bootstraps the repo so teammates get gstack automatically, with a silent hourly auto-update check and no vendored files or manual upgrades needed.
What happens with OpenAI Codex specifically?Setup reads the model configured in your Codex config.toml and generates a matching behavioral profile (falling back to a default model if none is set), and certain models like gpt-5.6-sol get special bounded-scope instructions.
Creator
garrytan
Size
284.9 MB
Stars
143.1K
Age
8mo
Commits · 90 Days