gstack-plan

gstack-plan is a skill for Claude Code, Codex from garrytan/gstack. It costs 37 tokens per session (1,672 once invoked), scanned A, original, MIT.

A feature-planning procedure that challenges the requested scope and reviews the proposed design before coding starts. It produces an implementation plan covering the work, files, tests, and explicit exclusions.

In plain words
What is it for?
Use it before building a feature to inspect the existing project, review architecture and performance, decide what is in scope, and plan how the result will be tested.
Why use it?
It catches unclear requirements, unnecessary complexity, missing edge cases, and weak test plans before they become code. It also pauses for decisions that would change the scope.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for gstack. Also seen: built for gstack.

Good fit Use it before building a feature to inspect the existing project, review architecture and performance, decide what is in scope, and plan how the result will be tested.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/garrytan/gstack/gstack-plan
About the project

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.

garrytan/gstack · 143,119 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add garrytan/gstack --skill gstack-plan
Clone the repo
git clone --depth 1 https://github.com/garrytan/gstack

Made for: Claude Code, Codex.

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

agentmods badge for gstack-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/garrytan/gstack/gstack-plan/github.svg)](https://agentmods.dev/skills/garrytan/gstack/gstack-plan)
Your own site
<a href="https://agentmods.dev/skills/garrytan/gstack/gstack-plan"><img src="https://agentmods.dev/badge/skills/garrytan/gstack/gstack-plan/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.

agentmods 80×15 button for gstack-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/garrytan/gstack/gstack-plan"><img src="https://agentmods.dev/badge/skills/garrytan/gstack/gstack-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,672 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01672
Opus 5.5 $0.00015 $0.00669
Sonnet 5.5 $0.00007 $0.00334
Haiku 4.5 $0.00004 $0.00167

Measured 25d ago against content hash 9dc375055b0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gstack-plan scanned grade A with 0 findings 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 25d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

qm/sandbox/skills/gstack-plan/SKILL.md · 131 lines

How it starts

The opening of the file, as written. The whole thing — 131 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Plan a feature: scope first, then the engineering review

Review a plan, not code: do not build the feature. If the user has not given you the plan or feature description, ask for it and stop.

Start here. In the repository (cd into it first: the shell starts in the workspace root), run with execute to see what already exists:

git log --oneline -10
ls

Then read the files the plan touches. Work through Scope Challenge, then Sections 1-4 in order; for each finding give severity, a recommendation and the alternative. Ask about decisions that change scope in one message and stop until the user answers. Finish with the revised plan: what to build, in order, the files it touches, the tests that prove it, and what is NOT in scope.

My engineering preferences (use these to guide your recommendations):

  • Shared code: require common behavior and improved reliability or net savings; similar-looking code alone is insufficient.
  • Tests: every behavior tested; no test without a regression it would catch.
  • Enough engineering: avoid fragility and premature abstraction/complexity.
  • Edge cases: thorough handling over speed.
  • Explicit over clever.
  • Right-sized diff: smallest clear change; rewrite a broken foundation when necessary.
  • Data model: storage follows the data's queries, integrity rules and update boundaries, not file count: fields queried, constrained or updated on their own get explicit columns or tables; JSON suits a document read and written whole.

A. Assess the target

Complete these checks before proposing scope changes. Do not write findings into the plan yet.

  • What already solves each sub-problem? Inspect helpers, libraries, callers and reusable outputs: behavior and dependency/deployment boundaries. Cite authored sources; label proposed callers with their motivating plan requirement and assumptions.
  • What minimum changes achieve the goal? Flag work deferrable without blocking it; challenge scope creep.
  • Complexity check: Count the selected work, not files read only as evidence: for a plan, its proposed changed files and new classes/services; for a diff, changed files and classes/services introduced by that diff; for a file/directory, files in that selected scope and any explicitly proposed new classes/services. Count each once, label estimates, and seek fewer moving parts. At 8+ files or 2+ new classes or services, propose a smaller arrangement and ask before changing scope.

Read the full file on GitHub · 131 lines

Changes

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.

  1. 25d ago First seen · 131 lines · 37 tokens per session scan A 9dc375055b0e

Subscribe to this mod's changes

gstack-plan is a skill published in the GitHub repository garrytan/gstack (143,119 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 1,672 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-06.

Related

gstack-plan compared with skills from other repositories

gstack-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gstack-plangarrytan/gstackSkill143ktodayMITA37Claude Code, Codex
imagegenopenai/codexSkill137kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code