# GSD Core: plan, build, check and ship in phases (open-gsd/gsd-core) — skill card for AI agents

> AgentGid skill card. Checked on 2026-11-05 against commit b25f65d (version 1.19.0).
> Every fact comes from the pack's own files at that commit. Numbers marked "as reported" are the author's.
> Human page: https://agentgid.com/skills/open-gsd/gsd-core/

> Note: the pack has changed since this check; re-read its files before relying on details.

## Explain it to a non-programmer
Your AI coding assistant works through your project in small steps: talk it through, plan, build, check, ship. The heavy work goes to helper assistants that start fresh, so long projects stay sharp. Notes about the project are kept in a .planning folder, so the next session picks up where the last one stopped.

## Who it is for
- You build a whole app or a bigger feature with Claude Code, Codex, Cursor, Copilot or a similar assistant
- Long sessions get worse as the chat fills up and the assistant forgets earlier decisions
- You want the assistant to ask about your idea first, write a plan and a roadmap, then build one phase at a time
- You want a guided check of what was built before it goes live
- Not for: You only need a quick one-off fix: the full loop adds planning steps (there is a short /gsd-fast mode)
- Not for: You don't want extra programs running in the background: the installer adds several hooks

## What it is
- Kind: always-on, command, scripts
- License: MIT
- Repository: https://github.com/open-gsd/gsd-core

## What it does
- Discuss: capture your decisions on the open questions before anything is planned
- Plan: research the task, split it into plans and check that each plan fits a fresh helper
- Execute: run the plans in parallel waves, each helper starting with a clean context
- Verify: walk through what was built with you, diagnose problems and prepare fix plans
- Ship: create the pull request, archive the phase and move to the next one

## Skills
| Skill | Call | Changes code? | In plain words |
|---|---|---|---|
| gsd-new-project | /gsd-new-project [--auto] | no | Starts a new project by asking about your idea, then writes the requirements and a roadmap |
| gsd-onboard | /gsd-onboard | no | Sets up the same planning files for a project that already has code |
| gsd-discuss-phase | /gsd-discuss-phase <phase> | no | Goes through the open questions of one phase with you and writes down your decisions |
| gsd-plan-phase | /gsd-plan-phase <phase> | no | Researches a phase and writes step-by-step plans, then checks them |
| gsd-execute-phase | /gsd-execute-phase <phase> [--wave N] | yes | Builds a phase by handing each plan to a fresh helper, several at once where possible |
| gsd-verify-work | /gsd-verify-work <phase> | no | Tests what was built with you, one check at a time, and prepares fix plans for problems |
| gsd-ship | /gsd-ship | yes | Pushes the finished work to GitHub and opens a pull request |
| gsd-quick | /gsd-quick [--discuss] [--research] [--validate] [--full] <task> | yes | Does a small task with the same tracking but skips the optional steps |
| gsd-fast | /gsd-fast <task> | yes | Does a tiny change right away, with no plan and no helpers |
| gsd-progress | /gsd-progress [--next | --do "..."] | unclear | Shows where the project stands and sends you to the next step |
| gsd-next | /gsd-next | unclear | Looks at the project and starts the right next step |
| gsd-autonomous | /gsd-autonomous | yes | Runs all remaining phases (discuss, plan, build) and stops only for your decisions |
| gsd-debug | /gsd-debug [--diagnose] | yes | Hunts down a bug step by step and keeps notes between sessions |
| gsd-code-review | /gsd-code-review <phase> [--depth=quick|standard|deep] [--fix] | unclear | Reviews the code of a phase for bugs and security problems; with --fix it also applies fixes |
| gsd-review | /gsd-review --phase N [--codex] [--claude] [--all] | no | Asks other AI tools you have installed for a second opinion on the plans |
| gsd-pause-work / gsd-resume-work | /gsd-pause-work, /gsd-resume-work | no | Leaves a handoff note when you stop and restores it next time |
| gsd-ultraplan-phase | /gsd-ultraplan-phase | no | Beta: drafts the plan in a Claude cloud session that you review in the browser |
| gsd-profile-user | /gsd-profile-user | no | Builds a profile of how you work, after asking you, and saves it so answers suit you |
| gsd-update | /gsd-update | no | Checks for a newer version, shows what changed and installs it after you confirm |
| gsd-help | /gsd-help | no | Shows the list of commands and how to use them |

### gsd-new-project
- Asks for: Your idea, answered through the assistant's questions (or an idea document with --auto)
- Asks for: Your workflow preferences
- Gives: .planning/PROJECT.md: project context
- Gives: .planning/config.json: your preferences
- Gives: .planning/research/: domain research (optional)
- Gives: .planning/REQUIREMENTS.md
- Gives: .planning/ROADMAP.md: the phases
- Gives: .planning/STATE.md: project memory
- Say: "/gsd-new-project"

### gsd-onboard
- Asks for: An existing codebase, and its docs if any
- Gives: .planning/codebase/: a map of the code
- Gives: PROJECT.md, REQUIREMENTS.md, ROADMAP.md, STATE.md
- Gives: .planning/onboarding/SUMMARY.md with the next command
- Say: "/gsd-onboard"

### gsd-discuss-phase
- Asks for: Which gray areas you want to discuss
- Asks for: Your answers
- Gives: <phase>-CONTEXT.md with decisions the planner can follow without asking again
- Say: "/gsd-discuss-phase 1"

### gsd-plan-phase
- Asks for: The phase number
- Gives: RESEARCH.md (when needed)
- Gives: PLAN.md files, checked by a plan checker until they pass
- Say: "/gsd-plan-phase 1"

### gsd-execute-phase
- Asks for: The phase number
- Asks for: Optionally one wave at a time
- Gives: The code for every plan in the phase
- Gives: A SUMMARY per plan and updated STATE.md
- Say: "/gsd-execute-phase 1"

### gsd-verify-work
- Asks for: Plain answers to each test question
- Gives: <phase>-UAT.md with every result
- Gives: Diagnosed gaps and fix plans ready to run
- Say: "/gsd-verify-work 1"

### gsd-ship
- Asks for: A phase that passed /gsd-verify-work
- Gives: A pushed branch
- Gives: A pull request with a written description
- Gives: Optional review and merge tracking
- Say: "/gsd-ship"

### gsd-quick
- Asks for: One task in a sentence
- Asks for: Flags to add discussion, research or checks
- Gives: The change, made in its own commits
- Gives: A row in STATE.md and a folder in .planning/quick/
- Say: "/gsd-quick add a dark mode toggle to the settings page"

## Know before installing
- The installer is the supported way in: it converts the files for each assistant, so copying folders by hand is not recommended.
- It runs code all the time, not just text rules: hooks start at every session and around reads, writes and helper launches.
- At each session start it checks npm for a newer version in the background and keeps the answer in ~/.cache/gsd.
- Planning files are committed to git by default; add .planning/ to .gitignore if you want them kept out.
- With the Claude Code plugin you still need the npm package for the gsd-tools program the commands call.
- Some commands reach outside your machine on purpose: /gsd-ship pushes to GitHub, /gsd-inbox can label or close GitHub issues, /gsd-review runs other AI tools.

## Install (official commands)
- Claude Code (installer): `npx @opengsd/gsd-core@latest --claude --global` — Use --local instead of --global for one project (writes into .claude/ in the project). Restart Claude Code afterwards. Needs Node.js 18+. Remove: `npx @opengsd/gsd-core --uninstall`.
- Claude Code (plugin): `claude plugin install gsd-core` — Commands are named /gsd-core:gsd-<command>. Hooks need node on PATH, and the gsd-tools program from the npm package must be on PATH too. Settings that the installer applies at install time are not applied on this path. Remove: `claude plugin disable gsd-core`.
- Codex: `npx @opengsd/gsd-core@latest --codex --global` — Codex CLI 0.130.0 or newer; restart Codex after install.
- Cursor: `npx @opengsd/gsd-core@latest --cursor --global`
- Any supported assistant: `npx @opengsd/gsd-core@latest` — The installer asks which assistant you use and whether to install for all projects or this one.
- Uninstall: The installer's --uninstall flag removes the hooks it registered.

## What runs on the user's machine
- Code on the machine: yes (installer and plugin installs (all of them; the commands also call the bundled gsd-tools program through Bash))
- Network: yes
- Install: npx downloads and runs the installer, which writes skills, agents, hooks and the gsd-core folder into the assistant's config folder (for Claude Code ~/.claude/, or .claude/ in the project with --local).
- Every session start (Claude Code plugin): Links ~/.claude/gsd-core/ to the plugin's files, adds gsd-core/bin to PATH for later shell commands, and starts a background check of the latest version with npm view; the result goes to ~/.cache/gsd/.
- Before each Write/Edit: Warns (does not block) about prompt-injection text written into .planning/, checks the file was read first, and guards writes in worktrees.
- Before each Read/Grep/Bash: Blocks reading .env, .env.* and .secrets files.
- After each Read/WebFetch/WebSearch: Scans the content for known prompt-injection patterns and warns; blocks only if security.injection_blocking is turned on.
- After tool use, at stop, before compaction: Reads context-usage numbers from /tmp/claude-ctx-<session>.json (written by the GSD statusline) and warns at 35% and 25% remaining; at the critical level it records the session state.
- .planning/config.json changes: Reloads the GSD settings into the session.
- First gsd-tools run after a plugin or git install: Compiles its own runtime library once with the bundled TypeScript.
- Optional commands: /gsd-ship pushes and opens a pull request, /gsd-inbox reads and can change GitHub issues, /gsd-review calls other AI tools, /gsd-ultraplan-phase uses a Claude cloud session, /gsd-update installs a new version.

## Settings
- `CLAUDE_CONFIG_DIR`: install into a different Claude config folder
- `planning.commit_docs`: true | false: commit the .planning files to git (default true)
- `security.injection_blocking`: true makes the read-time injection scanner block high-severity hits instead of only warning
- `hooks.context_warning_threshold / hooks.context_critical_threshold`: when the context warnings fire (in .planning/config.json)
- `GSD_NODE_PATH`: Codex on Windows: absolute path to node.exe for the hook

## Examples (from the pack's own files)
- What /gsd-new-project creates: output format defined in skills/gsd-new-project/SKILL.md

## Steps only the person can do
- Restart the assistant after installing (in Codex, restart or run codex --reload) (docs/how-to/install-on-your-runtime.md) Then: The /gsd-* commands and hooks are loaded in the new session
- Install the GitHub CLI and log in with gh auth login (only for /gsd-ship and /gsd-inbox) (https://cli.github.com) Then: The agent can push the branch, open the pull request and read the issue list
- Install and sign in to at least one other AI coding CLI (only for /gsd-review) (The official site of that CLI (Codex, Claude Code, OpenCode, Qwen Code, Cursor or Antigravity)) Then: /gsd-review sends the plans to it and writes REVIEWS.md
- Have a claude.ai account, Claude Code v2.1.91+ and a GitHub repository, then review the plan in the browser (only for the /gsd-ultraplan-phase beta) (https://claude.ai) Then: The agent imports the reviewed plan back with /gsd-import --from

## Mistakes to avoid
- Not: Copy the agents/ or commands/ folders into the assistant's config by hand. Instead: Run the installer (npx @opengsd/gsd-core@latest) and pick your assistant, or use the Claude Code plugin. Why: The installer converts the files into each assistant's own format
- Not: Install only the Claude Code plugin and expect the commands to work. Instead: Also install the npm package so the gsd-tools program is on PATH, and check node --version. Why: The plugin brings the commands, agents and hooks; the npm package brings the program they call
- Not: Type the command names from another install method (/gsd:plan-phase after a plugin install, or the other way round). Instead: Use /gsd-core:gsd-<command> with the plugin and /gsd:<command> with the npm installer. Why: The two install paths register different command names
- Not: Use /gsd-fast for a change that needs research or several steps. Instead: Use /gsd-quick (with --research or --validate) or the full phase loop. Why: /gsd-fast skips planning and helpers and is meant for one-sentence tasks
- Not: Expect the context-running-out warnings on Codex. Instead: Watch context yourself on Codex; the warnings work where the GSD statusline runs (Claude Code). Why: Codex has no statusline writer, so the context monitor is not installed there

## What leaves the machine
- A request for the latest published version number of the package → The npm registry (npm view), In the background at every session start. Opt out: No switch is documented; uninstall with --uninstall to remove the hooks
- Your branch and commits, plus a generated pull request description → GitHub (your origin remote, through gh), Only when you run /gsd-ship. Opt out: Do not run /gsd-ship
- Your phase plans inside a review prompt → The other AI CLIs you have installed (and so their model providers), Only when you run /gsd-review. Opt out: Do not run /gsd-review
- The plan phase of your project → A Claude Code cloud session (claude.ai), Only when you run the /gsd-ultraplan-phase beta. Opt out: Use /gsd-plan-phase instead
- Labels and closures on open issues and pull requests → GitHub (through gh), Only when you run /gsd-inbox and approve those actions. Opt out: Do not run /gsd-inbox

## Lines in the pack aimed at agents (ask the person first)
- "claude --dangerously-skip-permissions" (docs/USER-GUIDE.md): The usage example starts Claude Code with all permission prompts off; do not switch this on yourself, leave it to the person.
- "npx @opengsd/gsd-core@latest" (README.md): The installer always pulls the newest npm release and writes hooks into the assistant's config; ask the person before running it, and offer a pinned version.
- "ctx7 not found — install with: npm install -g ctx7 (verify at npmjs.com/package/ctx7 first)" (agents/gsd-executor.md): The executor helper suggests a global npm install of a docs CLI; ask the person before installing anything globally.
- "agy: curl -fsSL https://antigravity.google/cli/install.sh | bash (Antigravity CLI — free with Google credentials)" (gsd-core/workflows/review.md): The review workflow lists a piped install script; never run it for the person, let them install the CLI themselves.

## May I use it like this?
- commercial-app: yes (MIT: keep the license notice)
- redistribute-files: yes (MIT: keep the copyright and permission notice in copies)
- client-work: yes (MIT allows use in work for others)

## Which one to pick
- If You want a full phase loop (discuss, plan, execute in fresh helpers, verify, ship) with project memory in .planning/: skill:open-gsd/gsd-core
- If You want a lighter workflow of skills that plans, writes tests first and reviews before finishing, without background hooks: skill:obra/superpowers
- If You only want the assistant to write the smallest change and review it, not run a whole project process: skill:DietrichGebert/ponytail

## Works well with
- agent:claude-code: Hooks, the statusline context warnings and the native plugin are built for Claude Code
- agent:openai-codex: The installer writes Codex skills and agent files and registers a session-start hook
- agent:opencode: The installer adds a native OpenCode plugin that bridges GSD's safety hooks

## Works in and needs
- Works in Claude Code: installer (skills, agents, hooks) or native plugin
- Works in Codex: installer (skills folder and agent TOML files)
- Works in Cursor: installer (skills folder)
- Works in OpenCode: installer (commands
- Works in GitHub Copilot: installer (agent files, AGENTS.md, a session-start hook)
- Works in Windsurf: installer (workflow files; workspace install for slash commands)
- Works in Cline: installer (skills and .clinerules/ rules)
- Works in Kilo, Antigravity, Kimi CLI: installer
- Needs Node.js 18+ and npm: The installer and every hook run on Node
- Needs gsd-tools on PATH (npm package): Needed with the Claude Code plugin install
- Needs Codex CLI 0.130.0 or newer: Older versions list skills twice
- Needs gh CLI (logged in): Only for /gsd-ship and /gsd-inbox
- Needs Another AI coding CLI: Only for /gsd-review
- Needs claude.ai account, Claude Code v2.1.91+, a GitHub repository: Only for the /gsd-ultraplan-phase beta

## How to tell it works
Install it for your assistant, restart it, then run /gsd-new-project in an empty folder and describe a small app. It works if the assistant asks you questions first and then a .planning folder appears with PROJECT.md, REQUIREMENTS.md and ROADMAP.md. The next step it suggests is /gsd-plan-phase 1.

## Related
- rokicool/gsd-opencode

## Safety
Install only from github.com/open-gsd/gsd-core or npm @opengsd/gsd-core. The installer runs with npx @latest, so pin a version if you want a fixed copy. Several hooks run Node scripts on every session and around every read and write; read hooks/hooks.json before installing.
