AI Coding Agents
GSD Review: Meta-Prompting and Context Engineering for Claude Code
GSD (Get Shit Done) is a meta-prompting and context-engineering framework that drives coding agents through a Discuss, Plan, Execute, Verify, Ship loop, running heavy work in fresh-context subagents so the main session stays lean. The original gsd-build/get-shit-done repo is archived, and current development is at open-gsd/gsd-core. It fits long multi-phase builds that hit context limits, at the price of cold-start subagent contexts on every dispatch.
GSD (Get Shit Done) is a meta-prompting and context-engineering framework that drives coding agents through a five-phase loop, running heavy research, planning and execution in fresh-context subagents so the main session stays lean. The original repository is archived, and the active package comes from open-gsd/gsd-core. It fits long multi-phase builds that hit context limits, at the price of cold-start subagent contexts on every dispatch.
At a glance
| Question | Answer |
|---|---|
| What is it? | A coding workflow that delegates research, planning, and execution to fresh-context subagents. |
| What cost does it target? | Context growth in long sessions and input spent reestablishing state. Each dispatch adds cold-start input. |
| Where does it act? | The main agent coordinates phases and hands work to subagents, with state and plans saved to files. |
| How do you try it? | Run the active GSD Core npm installer and choose a local or global setup for your runtime. |
| How do you undo it? | Use a saved configuration diff to remove GSD registrations and keep any milestone artifacts you need. |
| What license is stated? | MIT for both the active and archived projects. |
| What is its maturity signal? | The active GSD Core repo had 11,942 stars and 478 open issues as of November 30, 2026. |
| When is it a good fit? | Long, multi-phase builds that regularly approach context limits. |
What it is and which cost layer it targets
As of November 30, 2026, the original gsd-build/get-shit-done repository had 64,109 stars and 5,443 forks. Its last recorded push was May 31, 2026, and its latest listed stable release is v1.42.3. Its README now reads “GSD Has Moved” and points to open-gsd/gsd-core, created May 22, 2026, which as of November 30, 2026 had 11,942 stars, 863 forks and 478 open issues under an MIT license, releasing roughly weekly (v1.24.0 on November 29, 2026). Both are MIT-licensed JavaScript projects.
The cost layer is context management: not compressing tokens but controlling where context accumulates. GSD’s stated enemy is “context rot,” the quality degradation that builds as an agent fills its context window. The mechanism is structural: keep the orchestrating session lean, spawn fresh-context subagents for heavy work, and persist state in files (STATE.md, CONTEXT.md, roadmaps, plans) that survive session boundaries so nothing has to be re-explained or re-discovered.
How it works
Each milestone repeats a five-step loop, one phase at a time:
- Discuss: capture implementation decisions before anything is planned.
- Plan: research, decompose, and verify the plan fits a fresh context window.
- Execute: run plans in parallel waves, with each executor starting on a clean 200k-token context.
- Verify: walk through what was built, diagnose and fix before declaring done.
- Ship: create the PR, archive the phase, repeat.
Structured artifacts carry the memory: STATE.md and CONTEXT.md hold position and decisions so a new session resumes without rereading history. The verify step produces fix plans rather than vibes-based signoff, and the whole loop is driven through slash commands (/gsd-new-project, /gsd-onboard, /gsd-pause-work, and the phase commands) inside Claude Code, Codex, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Copilot, Cursor, Windsurf and more.
The archived GSD docs describe a context monitor. A closed GSD Core issue #2289 also references a monitor, but the captured GSD Core README does not confirm that the archived settings still apply. The behavior below describes the archived integration. A statusline hook writes context metrics to /tmp/claude-ctx-{session_id}.json; after each tool use a PostToolUse hook (Claude Code) or AfterTool hook (Gemini CLI) reads them and injects a warning as additionalContext when remaining context drops below thresholds: above 35% nothing, at or under 35% a WARNING to wrap up, at or under 25% a CRITICAL instruction to stop and save state via /gsd-pause-work. Warnings debounce (five tool uses between repeats, severity escalation bypasses), stale metrics older than 60 seconds are ignored, and the hook fails open so a broken monitor never blocks the agent.
Install and first run
Use the current package only:
npx @opengsd/gsd-core@latest
The installer prompts for your runtime and for a global or local install, and the README warns it is required for cross-runtime compatibility: do not copy files from agents/ or commands/ yourself. Once installed:
/gsd-new-project # greenfield project
/gsd-onboard # existing codebase
The get-shit-done-cc package belongs to the archived project. The captured README does not document a current uninstall command. Back up the agent configuration before installing, then use the diff to undo GSD’s registrations if you remove it. Preserve milestone artifacts you may need to resume. A closed report from the archived project documents a Codex 0.124.0 hook regression that could prevent GSD-installed setups from starting. Issue #2637
What it saves: claims vs independent evidence
There is no token-percentage claim in either README. The mechanism claim is that fresh-context executors avoid the quality loss of a bloated context, and that STATE.md-style artifacts remove re-orientation spend across sessions. Neither is measured in the evidence, and there is no independent benchmark available. What the issue tracker does document is the cost side in the project’s own words: open issue #5080 reports that verbatim build-time embeds make the orchestrator’s context grow with every dispatch and asks for by-path references, and closed issue #2935 requested cost-optimized logical model routing for execution-heavy workflows. Open issue #5273 proposes parallel small-model workers for pattern mapping, research and review, with one Sonnet or Opus synthesizer.
Prompt-cache and extra-turn risk
Each dispatch supplies the executor with phase context. Track fresh and cached input separately for executor and orchestrator calls. The estimate below assumes all executor input is fresh. The loop also has documented hang and loop risks that translate directly into spend: open issue #5201 notes executor waits have no stall surveillance and a reasoning-only hang can run for hours with no stall classification, and closed issue #3304 covered verifier gap-closure loops that did not converge. An unattended framework that can hang is an unattended spend source; watch the first runs.
What the GitHub issues show
As of November 30, 2026, GSD Core had 478 open issues. The snapshot includes reports about hooks and state management.
- Issue #5492 and #6445: the
secret-read-guardhook can be bypassed via git config tricks and aBASH_ENV/ENVprefix, so treat the guard as advisory, not a security boundary. Open. - Issue #5438: the plan-checker passed on a
(RESOLVED)marker a researcher wrote over its own unanswered questions. Open. - Issue #6019: parallel phases in
/gsd-autonomouson Claude Code, one phase agent per phase with a single ledger writer. Open feature work. - Issue #3854:
phase.completeinjected 61 blank lines into ROADMAP.md. Closed. - Issue #922: plan-phase aborted at planner spawn on a false-negative Agent-availability check. Closed.
- Issue #4076: a hook shipped without the version header caused a permanent “stale hooks” warning no update could clear. Closed.
- Archived issues #803 and #912 report auto-answered questions. In the current trial, verify that Discuss waits for your answers.
The maturity read: the framework idea is proven popular, the implementation is a fast-moving 1.x with an honest backlog of hook and state-management bugs.
A cost example (estimate)
Assumptions, stated: a milestone of four phases, each dispatching three fresh subagent contexts that average 60,000 tokens of fresh input and 10,000 tokens of output. Priced at claude-sonnet-5-5 (input $2, output $10 per million; check the AI provider pricing index for current rates), cost = input x $2/1M + output x $10/1M:
- Per subagent: 60,000 x $2/1M + 10,000 x $10/1M = about $0.22.
- Milestone total: 12 subagents x $0.22 = about $2.64, plus the lean orchestrator’s own turns.
A single continuous session doing the same work might spend less on input if it stays under the context window, but the comparison GSD asks you to make is against the failure mode: a long session that rots mid-build and needs recovery or produces unverifiable work. These are estimates on stated assumptions; the open orchestrator-context report means the parent session’s growth is worth watching too.
Who should use it, who should skip it
Use it if you:
- Run long, multi-phase builds that regularly push against the context window or degrade late in the session
- Want resumable state:
STATE.md,CONTEXT.mdand pause/ship commands are built for sessions that end mid-milestone - Prefer a fresh context for executors and can track how much billed input each dispatch adds
- Work mainly in Claude Code or another well-supported runtime and can audit what the installer adds to your settings
Skip it if you:
- Do short, single-session tasks where the phase loop is overhead without payoff
- Want minimum token spend: the fresh-context-per-executor design deliberately trades input tokens for context hygiene
- Need the guardrails to be security boundaries: the open secret-read-guard bypass issues show they are not
- Cannot supervise the first runs: documented stall and auto-answering issues mean unattended operation needs observation first
How to trial it safely
- Snapshot your agent’s settings before using the installer above, then diff what it adds for your runtime.
- Run
/gsd-new-projecton a scratch repo through one full milestone. Record fresh input, cache reads, cache writes, and output per phase. Track the orchestrator separately from the executors so repeated dispatches show up in the comparison. - Check whether your runtime exposes context warnings and observe when they fire. During Discuss, wait for an explicit question and confirm the workflow pauses until you answer.
- Compare the milestone against the same scope done in one continuous session: billed tokens, turns, and whether quality held late in the run.
- Check the phase artifacts (
STATE.md, plans, REVIEW files) for the false-pass patterns the open issues describe before letting verification gate merges.
How to measure coding agent token savings has the full protocol.
Alternatives and next reads
- BMAD Method review: phased agile delivery with specialist agents and committed artifacts.
- GitHub Spec Kit review: spec-driven development without the subagent orchestration.
- Spec Kit vs BMAD vs GSD: the three systems compared.
- Manage context in long coding agent sessions: the context-rot problem GSD is built around.
Sources
- open-gsd/gsd-core repository (GitHub, accessed 2026-11-30)
- gsd-build/get-shit-done repository (archived) (GitHub, accessed 2026-11-30)
- gsd-core issue #5080: orchestrator context grows with every dispatch (GitHub, accessed 2026-11-30)
- gsd-core issue #5492: secret-read-guard bypass via git config (GitHub, accessed 2026-11-30)
- get-shit-done issue #2637: Codex hook regression breaks startup (GitHub, accessed 2026-11-30)
How this note was produced
Drafted with AI assistance from committed ByteCosts pricing snapshots and deterministic cost formulas. Figures are grounded in the linked sources (last updated 2026-11-30). Read our editorial & automation policy, inspect the methodology, or report a discrepancy.
GSD Review: Meta-Prompting and Context Engineering for Claude Code. ByteCosts. Updated 2026-11-30. https://bytecosts.com/blog/get-shit-done-gsd-review/