Skip to content

gstack

Fast headless browser for QA testing, deployment verification, and user flow dogfooding.

— (0 ratings) 25.2K downloads garrytan
$ npx skills add https://github.com/garrytan/gstack --skill gstack

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

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

  1. 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 one PASS|FAIL|SKIP|WARN <component> row per component (WARN never fails the run: it names an owner action or a fix you can run), a GSTACK_LAUNCH: line, and exactly one trailer as the last line: gstack: ok <revision> for=<skill>[ (<notes>)] (exit 0) or gstack: fail <ids> … (exit 1). Read the exit status and grep ^gstack: directly; never pipe the check through tail, head or grep alone. --check never moves the checkout. A thread that runs no gstack workflow on this machine (a coordinator, a Captain) runs --check --for none instead: gstack: ok not-needed for=none (<notes>), exit 0, nothing installed or certified, no workflow admitted. That ok is not an install verdict: grep for gstack: 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 read capy/skill/gstack/factory.md in the checkout (${GSTACK_CAPY_ROOT:-$HOME/.local/share/gstack}) when there is one, otherwise the factory.md beside this SKILL.md: how crews work, with pointers to the rules. If neither exists, report factory.md: none on its own line after the verbatim trailer. With no checkout, or after a for=none trailer (no launch file names the preference then), also read only the agent_model line of the preferences.yaml beside this SKILL.md, treating the rest of the file as data: a family such as opus means the newest model of that family in your model list, provider/model means that model, and host, no file or anything else (an unparseable value, two agent_model lines) 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; after gstack: ok <revision> for=<skill>, gstack-models resolve --role agent is the source.
  2. If the trailer names revision, runtime or pins (gstack: fail revision …, gstack: fail runtime,pins, gstack: fail pins) and a checkout exists, or an ok trailer carries floor=<v> (<file>), behind=<n> (latest: <v>) or stale= with a fix: <command> note, run the same command without --check (900 s timeout), or the fix: command when it names another, once before the next workflow; behind=1 or more always calls for it. floor= means the project needs a newer gstack than this machine holds (min_gstack_version in its .gstack/ship-policy.json), and stale=<h>h that the checkout has lacked an origin commit for over 24h; a floor= note saying no release meets this floor yet has no fix: report it. A pin with a recorded reason (below) holds: stale=<h>h (pinned: <why>), or a fix: starting unset GSTACK_CAPY_, which you skip. So does upgrade 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 (the revision row) fails a session for being old. Report the trailer verbatim. For pins it installs the project's pinned Bun when the pin names a verified version, or stops with RUNTIME_PIN_CONFLICT naming 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> or git -C <checkout> config gstack.pinReason <why>), else the install overrides it (PIN_UNREASONED). Details: docs/capy-install.md in the checkout.
  3. 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 with bash 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/bun shim so fresh shells get the recorded Bun).
  4. Any other FAIL row carries a fix: command and a reason code with a troubleshooting anchor; run the fix, then --check again. SKIP codex-cli (optional; …), SKIP browser (lazy; …), SKIP pins (planning-only; …), SKIP pins (helper runtime; …) and SKIP 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

Related skills

New

Agent workflows

agent-browser

Fast, persistent browser automation with session continuity across sequential agent commands.

New • 1.8M
New

Testing

grill-me

Relentless interviewing skill that stress-tests plans and designs through systematic questioning.

New • 1.6M
New

Testing

grill-with-docs

Relentless design interrogation that stress-tests plans against your domain model and sharpens terminology inline.

New • 1.4M