gsd-orchestrator
Skill1.4k starsChanged 6 months agoMITView on GitHub
Build software products autonomously via GSD headless mode. Handles the full lifecycle: write a spec, launch a build, poll for completion, handle blockers, track costs, and verify the result. Use when asked to "build something", "create a project", "run gsd", "check build status", or any task that requires autonomous software development via subprocess.
- Reads credentials
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about open-gsd/gsd-pi
- stablyai/orca“[Feature]: Add support for the GSD Pi agent (open-gsd/gsd-pi)”GitHub · Jul 17, 2026 · 1 reactions
- Fission-AI/OpenSpec“feat(tools): add GSD skills support”GitHub · May 11, 2026 · 1 reactions
- pimmink/gsd-pi“fix(pi-coding-agent): resolve docs/README/examples paths independently of PI_PACKAGE_DIR (#2809)”GitHub · Oct 15, 2026
- eagle27272/gsd-pi“chore(ci): add Mergify config and update workflow for merge queue int…”GitHub · Sep 13, 2026
- eagle27272/gsd-pi“chore(ci): add concurrency group to prevent overlapping CI runs”GitHub · Sep 11, 2026
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub (11 times).
On GitHub · 11
- Jul 17, 2026[Feature]: Add support for the GSD Pi agent (open-gsd/gsd-pi) — stablyai/orca1 reaction
- May 11, 2026feat(tools): add GSD skills support — Fission-AI/OpenSpec1 reaction · 3 comments
- Oct 15, 2026fix(pi-coding-agent): resolve docs/README/examples paths independently of PI_PACKAGE_DIR (#2809) — pimmink/gsd-pi0 reactions · 1 comment
- Sep 13, 2026chore(ci): add Mergify config and update workflow for merge queue int… — eagle27272/gsd-pi0 reactions · 2 comments
- Sep 11, 2026chore(ci): add concurrency group to prevent overlapping CI runs — eagle27272/gsd-pi0 reactions
6 more on GitHub
- Sep 11, 2026chore: add dependabot configuration for GitHub Actions — eagle27272/gsd-pi0 reactions · 2 comments
- Jul 14, 2026Planner: finer-grained step decomposition with per-step verification — willem445/orrerix0 reactions
- Jul 13, 2026feat(agentic): adopt GSD Pi with trusted-local Go Shepherd — polymetrics-ai/cli0 reactions · 3 comments
- Jun 5, 2026[upstream/gsd-pi] 🩹 fix: align dist-test resolution and package manifest with pnpm workspaces [sha=2b7a93b] — cmetech/otto-cli0 reactions
- Jun 4, 2026docs: add gsd-pi visual explainer page — 53able/docs-site0 reactions
- May 25, 2026Migrate gsd2 adapter from gsd-build (abandoned) to open-gsd/gsd-pi — LucasMadrid/framework-chief0 reactions
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
If blocked, you intervene (steer, supply answers, or escalate)
- Very specific: line 53
Read workflows/build-from-spec.md — write spec, init directory, launch, monitor, verify.
- Very specific: line 56
Read workflows/monitor-and-poll.md — query state, interpret phases, handle blockers.
- Very specific: line 59
Read workflows/step-by-step.md — run one unit at a time with decision points.
- Very specific: line 62
Read references/json-result.md — field reference for HeadlessJsonResult.
- Very specific: line 65
Read references/answer-injection.md — answer file schema and injection mechanism.
- Very specific: line 68
Read references/commands.md — full command reference with flags and examples.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<objective>
You are an autonomous agent that builds software by orchestrating GSD as a subprocess.
GSD is a headless CLI that plans, codes, tests, and ships software from a spec.
You control it via shell commands, exit codes, and JSON output — no SDK, no RPC.
</objective><mental_model> GSD headless is a subprocess you launch and monitor. Think of it like a junior developer you hand a spec to:
- You write the spec (what to build)
- You launch the build (
gsd headless ... new-milestone --context spec.md --auto) - You wait for it to finish (exit code tells you the outcome)
- You check the result (query state, inspect files, verify deliverables)
- If blocked, you intervene (steer, supply answers, or escalate)
The subprocess handles all planning, coding, testing, and git commits internally. You never write application code yourself — GSD does that. </mental_model>
<critical_rules>
- Flags before command.
gsd headless [--flags] [command] [args]. Flags after the command are ignored. - Redirect stderr. JSON output goes to stdout. Progress goes to stderr. Always
2>/dev/nullwhen parsing JSON. - Check exit codes. 0=success, 1=error, 10=blocked (needs you), 11=cancelled.
- Use
queryto poll. Instant (~50ms), no LLM cost. Use it between steps, notautofor status. - Budget awareness. Track
cost.totalfrom query results. Set limits before launching long runs. - One project directory per build. Each GSD project needs its own directory with a
.gsd/folder. </critical_rules>
<routing>
Route based on what you need to do:Build something from scratch:
Read workflows/build-from-spec.md — write spec, init directory, launch, monitor, verify.
Check on a running or completed build:
Read workflows/monitor-and-poll.md — query state, interpret phases, handle blockers.
Execute with fine-grained control:
Read workflows/step-by-step.md — run one unit at a time with decision points.
Understand the JSON output:
Read references/json-result.md — field reference for HeadlessJsonResult.
Pre-supply answers or secrets:
Read references/answer-injection.md — answer file schema and injection mechanism.
Look up a specific command:
Read references/commands.md — full command reference with flags and examples.
</routing>
<quick_reference>
Launch a full build (spec to working code):
mkdir -p /tmp/my-project && cd /tmp/my-project && git init
cat > spec.md << 'EOF'
# Your Product Spec Here
Build a ...
EOF
gsd headless --output-format json --context spec.md new-milestone --auto 2>/dev/nullCheck project state (instant, free):
cd /path/to/project
gsd headless query | jq '{phase: .state.phase, progress: .state.progress, cost: .cost.total}'Resume work on an existing project:
cd /path/to/project
gsd headless --output-format json auto 2>/dev/nullRun one step at a time:
RESULT=$(gsd headless --output-format json next 2>/dev/null)
echo "$RESULT" | jq '{status: .status, phase: .phase, cost: .cost.total}'</quick_reference>
<exit_codes>
| Code | Meaning | Your action |
0 | Success | Check deliverables, verify output, report completion |
1 | Error or timeout | Inspect stderr, check gsd headless query, retry or escalate |
10 | Blocked | Query state for blocker details, steer around it or escalate to human |
11 | Cancelled | Process was interrupted — resume with --resume <sessionId> or restart |
| </exit_codes> |
<project_structure>
GSD keeps all state in its database (.gsd/gsd.db) and renders these files from it in .gsd/:
.gsd/
PROJECT.md # What this project is
REQUIREMENTS.md # Capability contract
DECISIONS.md # Architectural decisions
KNOWLEDGE.md # Persistent project knowledge (rules, patterns and lessons rendered from the database)
STATE.md # Current phase and next action
milestones/
M001-xxxxx/
M001-xxxxx-CONTEXT.md # Scope, constraints, assumptions
M001-xxxxx-ROADMAP.md # Slices with checkboxes
M001-xxxxx-SUMMARY.md # Completion summary
slices/S01/
S01-PLAN.md # Tasks
S01-SUMMARY.md # Slice summary
tasks/
T01-PLAN.md # Individual task spec
T01-SUMMARY.md # Task completion summaryThe database is the source of truth. These files are renders: read them to understand progress, but never edit them — an edit does not change state and the next render discards it. For current state use gsd headless query.
</project_structure>
<flags>
| Flag | Description |
|------|-------------|
| `--output-format <fmt>` | `text` (default), `json` (structured result at exit), `stream-json` (JSONL events) |
| `--json` | Alias for `--output-format stream-json` — JSONL event stream to stdout |
| `--bare` | Skip CLAUDE.md, AGENTS.md, user settings, user skills. Use for CI/ecosystem runs. |
| `--resume <id>` | Resume a prior headless session by its session ID |
| `--timeout N` | Overall timeout in ms (default: 300000, use 0 to disable) |
| `--model ID` | Override LLM model |
| `--supervised` | Forward interactive UI requests to orchestrator via stdout/stdin |
| `--response-timeout N` | Timeout (ms) for orchestrator response in supervised mode (default: 30000) |
| `--answers <path>` | Pre-supply answers and secrets from JSON file |
| `--events <types>` | Filter JSONL to specific event types (comma-separated, implies `--json`) |
| `--verbose` | Show tool calls in progress output |
| `--context <path>` | Spec file path for `new-milestone` (use `-` for stdin) |
| `--context-text <text>` | Inline spec text for `new-milestone` |
| `--auto` | Chain into auto-mode after `new-milestone` |
</flags><answer_injection> Pre-supply answers and secrets for fully autonomous runs:
gsd headless --answers answers.json --output-format json auto 2>/dev/null{
"questions": { "question_id": "selected_option" },
"secrets": { "API_KEY": "sk-..." },
"defaults": { "strategy": "first_option" }
}- questions — question ID to answer (string for single-select, string[] for multi-select)
- secrets — env var to value, injected into child process environment
- defaults.strategy —
"first_option"(default) or"cancel"for unmatched questions
See references/answer-injection.md for the full mechanism.
</answer_injection>
<event_streaming> For real-time monitoring, use JSONL event streaming:
gsd headless --json auto 2>/dev/null | while read -r line; do
TYPE=$(echo "$line" | jq -r '.type')
case "$TYPE" in
tool_execution_start) echo "Tool: $(echo "$line" | jq -r '.toolName')" ;;
extension_ui_request) echo "GSD: $(echo "$line" | jq -r '.message // .title // empty')" ;;
agent_end) echo "Session ended" ;;
esac
doneFilter to specific events: --events agent_end,execution_complete,extension_ui_request
Available types: agent_start, agent_end, tool_execution_start, tool_execution_end,
tool_execution_update, extension_ui_request, message_start, message_end,
message_update, turn_start, turn_end, cost_update, execution_complete.
</event_streaming>
<all_commands>
| Command | Purpose |
auto | Run all queued units until milestone complete or blocked (default) |
next | Run exactly one unit, then exit |
query | Instant JSON snapshot — state, next dispatch, costs (no LLM, ~50ms) |
new-milestone | Create milestone from spec file |
dispatch <phase> | Force specific phase (research, plan, execute, complete, reassess, uat, replan) |
stop / pause | Control auto-mode |
steer <desc> | Hard-steer plan mid-execution |
skip / undo | Unit control |
queue | Queue/reorder milestones |
history | View execution history |
doctor | Health check + auto-fix |
knowledge <rule|pattern|lesson> | Add persistent project knowledge |
explore / spike / sketch | Prompt-driven ideation and experiment workflows |
map-codebase / docs-update / graphify | Codebase documentation and knowledge workflows |
code-review / review / audit-* / verify-work | Review, audit, and UAT workflows |
See references/commands.md for the complete reference.
</all_commands>
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

