Get up and running with Shape CLI in 5 minutes.
cargo install shape-cliOr see other installation options.
cd your-project
shape initThis creates a .shape/ directory with:
briefs/— Your markdown documentstasks.jsonl— Task dataconfig.toml— Project settings
A brief is a document that drives work. Create one:
shape brief new "Add user authentication"
# → Created brief b-7f2a3b1Edit the brief in your editor — it's just markdown:
$EDITOR .shape/briefs/b-7f2a3b1.mdTasks belong to briefs. Add some:
shape task add b-7f2a3b1 "Research OAuth providers"
shape task add b-7f2a3b1 "Implement OAuth flow"
shape task add b-7f2a3b1 "Add login endpoint"
shape task add b-7f2a3b1 "Write authentication tests"List them:
shape task list b-7f2a3b1
# → b-7f2a3b1.1 Todo Research OAuth providers
# → b-7f2a3b1.2 Todo Implement OAuth flow
# → b-7f2a3b1.3 Todo Add login endpoint
# → b-7f2a3b1.4 Todo Write authentication testsSome tasks block others. The OAuth flow needs research first:
shape task dep b-7f2a3b1.2 b-7f2a3b1.1 # flow depends on research
shape task dep b-7f2a3b1.3 b-7f2a3b1.2 # endpoint depends on flow
shape task dep b-7f2a3b1.4 b-7f2a3b1.3 # tests depend on endpointshape ready
# → b-7f2a3b1.1 Research OAuth providersOnly unblocked tasks appear. As you complete them, more become ready.
# Start working
shape task start b-7f2a3b1.1
# When done
shape task done b-7f2a3b1.1
# Check what's ready now
shape ready
# → b-7f2a3b1.2 Implement OAuth flowGet project state in a format optimized for AI agents:
shape context --compactThis outputs minimal tokens while preserving essential context.
- Commands Reference — All available commands
- Briefs Guide — Document types and templates
- AI Integration — Set up Claude, Cursor, or Windsurf
- Multi-Agent — Coordinate multiple agents
shape brief new "Title" # Create brief
shape brief list # List briefs
shape task add <brief> "Title" # Add task
shape task dep <task> <blocker> # Set dependency
shape ready # Show unblocked tasks
shape task start <task> # Start working
shape task done <task> # Complete task
shape context --compact # Export for AI
shape tui # Interactive UI