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/CLAUDE.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/claude-md)<a href="https://agentmods.dev/instructions/garrytan/gstack/claude-md"><img src="https://agentmods.dev/badge/instructions/garrytan/gstack/claude-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/claude-md"><img src="https://agentmods.dev/badge/instructions/garrytan/gstack/claude-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.08835 | $0.08835 |
| Opus 5.5 | $0.03534 | $0.03534 |
| Sonnet 5.5 | $0.01767 | $0.01767 |
| Haiku 4.5 | $0.00884 | $0.00884 |
Grade B, and why
gstack CLAUDE.md scanned grade B 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.
Enumerates other installed skillsmediumAgent snooping
Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.
**Check once per session:** Run `ls -la .claude/skills/gstack` to see if it's a How it starts
The opening of the file, as written. The whole thing — 629 lines — stays where its author put it; the contents beside it link to each section on GitHub.
gstack development
Commands
bun install # install dependencies
bun run dev <cmd> # run CLI in dev mode, e.g. bun run dev goto https://example.com
bun run typecheck # strict tsc over product code (zero errors required)
bun run typecheck:test # test-code type-debt ratchet
bun run build # gen docs + compile binaries
bun run gen:skill-docs # regenerate SKILL.md files from templates
bun run skill:check # health dashboard for all skills
bun run dev:skill # watch mode: auto-regen + validate on change
bun run slop # full slop-scan report (all files)
bun run slop:diff # slop findings in files changed on this branch only
bun run audit:manifest # file slices for /claude-api prompt-audit; rerun it at each frontier-model release (CONTRIBUTING.md)
Test and eval commands, their cost and what each needs live in one table:
Which command do I run?. The two you
need most are bun run test (free acceptance) and bun run eval:bg:pr (paid,
changed coverage). Retired names such as test:evals and test:e2e print their
replacement and exit 1.
Paid evals require ANTHROPIC_API_KEY. Codex E2E tests (test/codex-e2e.test.ts,
test/codex-e2e-sol-scope.test.ts) use Codex's own auth — the hermetic runner copies
only auth.json from ${CODEX_HOME:-~/.codex} and pins CODEX_HOME in the child
env — no OPENAI_API_KEY env var needed.
Hermetic E2E + env keys: every E2E runner spawns children through
test/helpers/hermetic-env.ts (allowlist-scrubbed env, fresh seeded
CLAUDE_CONFIG_DIR, temp GSTACK_HOME, --strict-mcp-config); per-test
env: overrides merge last onto a COMPLETE hermetic env, so they're safe.
A PTY test that types a /skill command must pass seedSkills: true.
Debug against real operator state with EVALS_HERMETIC=0. Full detail
(env-shim, seeding tripwires, wiring tests):
docs/TESTING_INTERNALS.md.
Test selection and tiers: the sharded paid runner (test:pr,
eval:bg:pr, test:gate:sharded) selects tests from git diff through the
dependency lists in test/helpers/touchfiles.ts (EVALS_ALL=1 forces
everything; eval:select previews the PR profile, --profile full the plain
touchfile selection). Classify every new E2E test in E2E_TIERS: safety guardrail or
deterministic functional test -> gate; quality benchmark, Opus model test,
non-deterministic, or external service (Codex, Gemini) -> periodic.
test/e2e-tier-alignment.test.ts enforces the tiers. CI lanes and periodic
exclusions: docs/TESTING_INTERNALS.md.
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 · +36 tokens per session bdc685673549
- 3d ago Changed · +4 lines · +83 tokens per session 8aca62175af9
- 4d ago Changed · +4 tokens per session 11e29a19ae89
- 5d ago Changed faf4d71e804a
- 8d ago Changed dd5e33d4672f
- 9d ago Changed · +2 lines · +55 tokens per session e246715c0cad
- 10d ago Changed 766f9421b0d2
- 11d ago Changed · +22 tokens per session 3eb1c3717409
- 26d ago Changed 8069f73a14fa
- 29d ago First seen · 622 lines · 8,635 tokens per session scan B 1d038c495a88
gstack CLAUDE.md is an instructions file published in the GitHub repository garrytan/gstack (139,952 stars, last pushed today), licensed MIT. It adds 8,835 tokens to every session, about $0.0353 per session on Opus 5.5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
gstack CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gstack CLAUDE.mdgarrytan/gstack | Instructions file | 140k | today | MIT | B | 8,835 | Claude Code, Codex |
| 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 |