| name | gsd:sprint |
| description | Autonomous phase execution with Codex validation. Runs plan/execute/verify cycles in a bash loop until done or halted. |
| argument-hint | <start> <end> [--yolo] [--skip-codex] [--resume] |
GSD Sprint
Run multiple phases autonomously with Codex validation at each boundary. Based on the Ralph pattern - the loop is bash, state lives in files.
Usage
/gsd:sprint 3 6
/gsd:sprint 3 6 --yolo
/gsd:sprint 3 6 --skip-codex
/gsd:sprint --resume
What It Does
For each phase in range:
- Plan - Calls
/gsd:plan-phase if no PLAN.md exists
- Codex validates plans - Checks feasibility before execution
- Execute - Calls
/gsd:execute-phase
- Codex reviews code - Checks for bugs, security issues
- Checkpoint - Pauses for review (unless
--yolo)
Halt Conditions
Always halts (even in yolo):
- Codex
[HALT] critical - security/major bugs
- Auth gates - require credentials
- Verification failures - gaps found
- Git errors, build failures
Mode-dependent:
- Codex warnings - interactive: ask, yolo: log and continue
- Human-verify checkpoints - interactive: wait, yolo: continue
State Tracking
Sprint progress is tracked in .planning/SPRINT.md:
- Current phase position
- Completion status per phase
- Codex validation results
- Checkpoints for resume
Modes
| Mode | Behavior |
|---|
| Interactive (default) | Pause between phases, present checkpoints |
AFK (--yolo) | Auto-continue, use defaults, still halt on critical |
No Codex (--skip-codex) | Skip validation (faster but risky) |
Resume (--resume) | Continue from SPRINT.md checkpoint |
Examples
/gsd:sprint 3 6
/gsd:sprint 3 10 --yolo
/gsd:sprint 5 5 --skip-codex
/gsd:sprint --resume
Execution
This runs in a tmux session so you can detach and reattach.
ARGS="$ARGUMENTS"
SESSION_NAME="gsd-sprint"
if [[ -f ".claude/skills/gsd-sprint/scripts/sprint.sh" ]]; then
SCRIPT=".claude/skills/gsd-sprint/scripts/sprint.sh"
else
SCRIPT="$HOME/.claude/skills/gsd-sprint/scripts/sprint.sh"
fi
tmux kill-session -t "$SESSION_NAME" 2>/dev/null || true
tmux new-session -d -s "$SESSION_NAME" -c "$(pwd)"
tmux send-keys -t "$SESSION_NAME" "bash $SCRIPT $ARGS" Enter
echo ""
echo "โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ"
echo "GSD Sprint started in tmux session: $SESSION_NAME"
echo "โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ"
echo ""
echo "To attach and watch progress:"
echo " tmux attach -t $SESSION_NAME"
echo ""
echo "To detach (while attached):"
echo " Ctrl+b then d"
echo ""
echo "To check if still running:"
echo " tmux has-session -t $SESSION_NAME 2>/dev/null && echo 'Running' || echo 'Finished'"
echo ""