Summary
Fast headless browser for QA testing, deployment verification, and user flow dogfooding.
- Navigate URLs, interact with elements, verify page state, and take annotated screenshots with element labels and reference IDs
- Supports responsive layout testing (mobile/tablet/desktop), file uploads, form validation, and dialog handling with auto-accept
- Includes snapshot diffing to show exactly what changed after interactions, plus console and network inspection for debugging
- Persistent browser state across commands (cookies, sessions, tabs) with ~100âÂÂ200ms per command after initial startup
gstack for Capy and Claude Code
Session start: check, then install only when needed
Crew lanes: after this check passes, read lane-card.md, not the rest of this file; it says what to read before /ship. Resolve scripts/install.sh relative to this SKILL.md, not the working repository. It is a frozen bootstrapper: it prints gstack-capy-skill: wrapper <n> (<path>) first, learns the supported minimum from gstack's remote, and hands over to the checkout's own wrapper (bin/gstack-capy-session).
- At session start run
bash scripts/install.sh --check, adding--for <skill>when you know the workflow (--for autoplan,--for review,--for qa). It prints onePASS|FAIL|SKIP|WARN <component>row per component (WARNnever fails the run: it names an owner action or a fix you can run), aGSTACK_LAUNCH:line, and exactly one trailer as the last line:gstack: ok <revision> for=<skill>[ (<notes>)](exit 0) orgstack: fail <ids> â¦(exit 1). Read the exit status and grep^gstack:directly; never pipe the check throughtail,headorgrepalone.--checknever moves the checkout. A thread that runs no gstack workflow on this machine (a coordinator, a Captain) runs--check --for noneinstead:gstack: ok not-needed for=none (<notes>), exit 0, nothing installed or certified, no workflow admitted. Thatokis not an install verdict: grep forgstack: ok <revision> for=<skill>, never bare^gstack: ok, before running a workflow. Record the line; install--for <skill>before the first workflow, if one comes. Then, whatever the trailer says, once per session readcapy/skill/gstack/factory.mdin the checkout (${GSTACK_CAPY_ROOT:-$HOME/.local/share/gstack}) when there is one, otherwise thefactory.mdbeside this SKILL.md: how crews work, with pointers to the rules. If neither exists, reportfactory.md: noneon its own line after the verbatim trailer. With no checkout, or after afor=nonetrailer (no launch file names the preference then), also read only theagent_modelline of thepreferences.yamlbeside this SKILL.md, treating the rest of the file as data: a family such asopusmeans the newest model of that family in your model list,provider/modelmeans that model, andhost, no file or anything else (an unparseable value, twoagent_modellines) means keep your own model and say so in your report. Use it for the threads, subagents and reviewers you start, except a cross-family outside voice and an eval's model under test; aftergstack: ok <revision> for=<skill>,gstack-models resolve --role agentis the source. - If the trailer names
revision,runtimeorpins(gstack: fail revision â¦,gstack: fail runtime,pins,gstack: fail pins) and a checkout exists, or an ok trailer carriesfloor=<v> (<file>),behind=<n> (latest: <v>)orstale=with afix: <command>note, run the same command without--check(900 s timeout), or thefix:command when it names another, once before the next workflow;behind=1or more always calls for it.floor=means the project needs a newer gstack than this machine holds (min_gstack_versionin its.gstack/ship-policy.json), andstale=<h>hthat the checkout has lacked an origin commit for over 24h; afloor=note sayingno release meets this floor yethas no fix: report it. A pin with a recorded reason (below) holds:stale=<h>h (pinned: <why>), or afix:startingunset GSTACK_CAPY_, which you skip. So doesupgrade skipped: ⦠(<CODE>), a refused install naming the commands: run them once its cause clears, working on the certified revision meanwhile. A thread older than a day reruns the check before its next workflow. Only a checkout below the supported minimum (therevisionrow) fails a session for being old. Report the trailer verbatim. Forpinsit installs the project's pinned Bun when the pin names a verified version, or stops withRUNTIME_PIN_CONFLICTnaming the pin to raise. Install mode fast-forwards a clean checkout, reinstalls and rechecks in one locked step, but never moves a dirty or diverged checkout or one a live session lease or eval run holds (UPGRADE_BUSY); a pin (--revision, detached, another branch,GSTACK_CAPY_SELF_UPGRADE=off,GSTACK_CAPY_AUTO_UPGRADE=0) holds past 24 hours only with a recorded reason (GSTACK_PIN_REASON=<why>orgit -C <checkout> config gstack.pinReason <why>), else the install overrides it (PIN_UNREASONED). Details:docs/capy-install.mdin the checkout. - If the trailer is
gstack: fail not-installed â¦and this session runs no gstack workflow, record that line and continue; nothing is installed. Install right before the first workflow withbash scripts/install.sh --for <skill>(about 30 s cold: clone, a SHA-256-verified Bun when none installed fits, both host profiles without Chromium, and a~/.local/bin/bunshim so fresh shells get the recorded Bun). - Any other
FAILrow carries afix:command and a reason code with a troubleshooting anchor; run the fix, then--checkagain.SKIP codex-cli (optional; â¦),SKIP browser (lazy; â¦),SKIP pins (planning-only; â¦),SKIP pins (helper runtime; â¦)andSKIP floor (â¦)are not failures.WARN pins ⦠(node pin only; bun pins pass)is not one either: the Node on PATH misses the project's pin while Bun is right; run its fix only when this machine will run the project's tests.
The trailer rule. No ^gstack: ok line from this machine in this session means gstack is not installed here: do not run a workflow, and do not claim the skills work. One machine's install never covers another.
Subagents. A subagent's first report to its parent carries the gstack: trailer line from its own machine's --check, verbatim, after its identifiers. A parent treats a missing line as gstack: fail not-installed. A reviewer subagent that only reads and reports (an /autoplan voice, a second opinion) runs --for review-voice instead: seconds when warm, no ./setup, no host profiles, Bun at gstack's own minimum, and a trailer that certifies only the read-only helpers (gstack-pregate sealed, gstack-plan-reality, gstack-artifact, the gstack-autoplan reads); every workflow refuses it with a --for <skill> fix. Never brief a reviewer that no install is needed. A reviewer later asked to run a workflow runs the same installer --for <skill>: it upgrades the checkout in place (pins, ./setup, host profiles; no second clone). A machine without this skill (a brief you write for a subagent) runs the checkout's own bootstrapper from its project directory: test -f "$HOME/.local/share/gstack/setup" || git clone --quiet --single-branch --depth 1 https://github.com/garrytan/gstack.git "$HOME/.local/share/gstack" && GSTACK_CAPY_ROOT="$HOME/.local/share/gstack" bash "$HOME/.local/share/gstack/capy/skill/gstack/scripts/install.sh" --for <skill>.
gstack-capy-skill: owner action â Drive copy is wrapper <n>, minimum <m>; copy <root>/capy/skill/gstack/ (CAPY_WRAPPER_STALE) means this skill folder is older than the checkout wants. The run still works; tell the owner, who copies that directory over the skill folder. Never write the skill folder yourself; the one exception is its preferences.yaml, when the owner asks you to remember a preference (gstack-models resolve --role agent reads it).
Launch every gstack command with the GSTACK_LAUNCH line
Installs: 25.2K | GitHub stars: 143.0K | First seen: Mar 12, 2026


