gstack is a set of opinionated tools that gives a coding agent workflows associated with roles such as product leadership, design, engineering management, release management, documentation, and quality assurance. It is for developers who want one coding agent to support more parts of the software delivery process.
Borrowing it
Nothing to install: this file belongs to garrytan/gstack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/garrytan/gstack/main/AGENTS.mdgit clone --depth 1 https://github.com/garrytan/gstackWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/garrytan/gstack/agents-md)<a href="https://agentmods.dev/instructions/garrytan/gstack/agents-md"><img src="https://agentmods.dev/badge/instructions/garrytan/gstack/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/garrytan/gstack/agents-md"><img src="https://agentmods.dev/badge/instructions/garrytan/gstack/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05941 | $0.05941 |
| Opus 5.5 | $0.02376 | $0.02376 |
| Sonnet 5.5 | $0.01188 | $0.01188 |
| Haiku 4.5 | $0.00594 | $0.00594 |
Grade C, and why
gstack AGENTS.md scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
| `/careful` | Warn before destructive commands (rm -rf, DROP TABLE, force-push). | How it starts
The opening of the file, as written. The whole thing — 322 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gstack — AI Engineering Workflow
gstack is a collection of SKILL.md files that give AI agents structured roles for software development. Each skill is a specialist: CEO reviewer, eng manager, designer, QA lead, release engineer, debugger, and more.
Available skills
Skills live in .agents/skills/ (or ~/.claude/skills/gstack/ on Claude Code).
Invoke them by name (e.g., /office-hours).
Plan-mode reviews
| Skill | What it does |
|---|---|
/office-hours |
Start here. Reframes your product idea before you write code. |
/plan-ceo-review |
CEO-level review: find the 10-star product in the request. |
/plan-eng-review |
Lock architecture, data flow, edge cases, and tests. |
/plan-design-review |
Rate each design dimension 0-10, explain what a 10 looks like. |
/plan-devex-review |
DX-mode review: TTHW, magical moments, friction points, persona traces. |
/plan-tune |
Self-tune AskUserQuestion sensitivity per question. |
/autoplan |
One command runs CEO → design → DX → eng review (eng always last). |
/design-consultation |
Build a complete design system from scratch. |
/spec |
Turn vague intent into a precise, executable spec in five phases. Files a GitHub issue, optionally spawns a Claude Code agent in a fresh worktree, and lets /ship close the source issue on merge. |
Implementation + review
| Skill | What it does |
|---|---|
/review |
Pre-landing PR review. Finds bugs that pass CI but break in prod; lists every gate edit for gate integrity. |
/deslop-shared-libs |
Find worthwhile shared-code extractions in recent work. Recommendations only. |
/write-skill |
Write or improve an agent skill without bloat: edit ladder, size per level (gstack-skill-bill), skill-to-bin drift check, full diets with a before/after test. |
/test-audit |
Sweep existing tests for low-value, implementation-coupled or duplicate tests. Report-only unless you approve a batch. |
/codex |
Second opinion via OpenAI Codex. Review, challenge, or consult modes. Available outside the Codex harness. |
/claude-code |
Second opinion via Claude Code. Review, challenge, or consult modes. Available outside the Claude Code harness. |
/investigate |
Systematic root-cause debugging. No fixes without investigation. |
/verify |
Build-and-verify loop while you code: the repo's checks plus the tests pregate selects, fix, repeat, then hand off to /ship. Never green on an unmapped change. |
/design-review |
Live-site visual audit + fix loop with atomic commits. |
/design-shotgun |
Generate multiple AI design variants, comparison board, iterate. |
/design-html |
Generate production-quality Pretext-native HTML/CSS. |
/design-motion |
Turn an approved design into a showcase loop: MP4 for X, website GIF, 800×500 GIF, with seam, rest and overflow checks. |
/devex-review |
Live developer experience audit (TTHW measured against the real flow). |
/qa |
Test browser, API, CLI, job, worker and webhook behavior; reproduce bugs, fix them and re-verify. |
/qa-only |
The same surface-aware QA, reporting findings and proposed tests without changing product code or tests. |
/scrape |
Pull data from a web page in your Aside browser, with your real logged-in state. Read-only. On the fallback browser a codified browser-skill answers a repeat intent in ~200ms. |
/skillify |
Codify the most recent successful /scrape flow into a permanent browser-skill (fallback browser only). |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday Changed · +1 lines · +61 tokens per session e7a9d1dd4d4c
- 3d ago Changed · +2 lines · +40 tokens per session ab90898836f1
- 4d ago Changed · +3 lines · +33 tokens per session c453df4c3432
- 5d ago Changed · +1 lines · +62 tokens per session 1a627e0aef9e
- 8d ago Changed · +1 lines · +48 tokens per session 85e74ddde903
- 9d ago Changed · +5 lines · +123 tokens per session 3715394c63a8
- 10d ago Changed · +2 lines · +189 tokens per session 3818220eb5d3
- 15d ago Changed · +89 tokens per session e24da2c32211
- 17d ago Changed · +6 lines · +236 tokens per session e7e964d480ed
- 26d ago First seen · 301 lines · 5,060 tokens per session scan C e428a4928a23
gstack AGENTS.md is an instructions file published in the GitHub repository garrytan/gstack (139,952 stars, last pushed today), licensed MIT. It adds 5,941 tokens to every session, about $0.0238 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gstack AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gstack AGENTS.mdgarrytan/gstack | Instructions file | 140k | today | MIT | C | 5,941 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |