New advertisers: 50% off your first month with code FIRSTMONTHSee slots
reason-machines avatar

Gsd 2 Agent Framework

Autonomous spec-driven CLI that runs milestone-slice-task coding loops with crash recovery and cost controls.

skills.sh installs
1.4K
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers the full auto-mode state machine: research, plan, execute per task, complete, and reassess, each in a fresh session
  • Includes /gsd init, /gsd auto, /gsd status, /gsd run, /gsd migrate, and /gsd costs, with --budget and --dry-run options
  • Enforces task size limits, mechanically checkable must-haves, and a .gsd/LOCK file for automatic crash recovery
  • Designed for long-running Claude-driven projects that need git worktree isolation and per-unit token cost tracking

Install

$ npx -y skills add reason-machines/trending-skills --skill gsd-2-agent-framework -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

GSD 2 — Autonomous Spec-Driven Agent Framework

Skill by ara.so — Daily 2026 Skills collection

GSD 2 is a standalone CLI that turns a structured spec into running software autonomously. It controls the agent harness directly — managing fresh context windows per task, git worktree isolation, crash recovery, cost tracking, and stuck detection — rather than relying on LLM self-loops. One command, walk away, come back to a built project with clean git history.


Installation

npm install -g gsd-pi

Requires Node.js 18+. Works with Claude (Anthropic) as the underlying model via the Pi SDK.


Core Concepts

Work Hierarchy

Milestone  →  a shippable version (4–10 slices)
  Slice    →  one demoable vertical capability (1–7 tasks)
    Task   →  one context-window-sized unit of work

Iron rule: A task must fit in one context window. If it can't, split it into two tasks.

Directory Layout

Details

Repository
github.com/reason-machines/trending-skills
Categories
Agent Workflow & Planning, AI Agents & LLM Apps, CLI & Terminal
First seen
Apr 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Gsd 2 Agent Framework

More Agent Workflow & Planning