Complete reference for all Shape CLI commands.
These flags work with any command:
| Flag | Description |
|---|---|
-f, --format <FORMAT> |
Output format: text (default) or json |
-v, --verbose |
Enable debug output |
-h, --help |
Show help |
-V, --version |
Show version |
Initialize a new Shape project.
shape init # Current directory
shape init ./myproject # Specific pathCreates .shape/ directory with default configuration.
Show project overview: brief counts, task counts, what's ready.
shape statusFull-text search across briefs and tasks.
shape search "authentication"
shape search "OAuth" --format jsonCreate a new brief.
shape brief new "User Authentication"
shape brief new "API Redesign" --type shapeup
shape brief new "Database Migration" --type minimalBrief types:
minimal— Basic title and status (default)shapeup— Full ShapeUp pitch template
List all briefs.
shape brief list
shape brief list --status in_progress
shape brief list --format jsonStatuses: proposed, betting, in_progress, shipped, archived
Show brief details.
shape brief show b-7f2a3b1Update brief status.
shape brief status b-7f2a3b1 in_progress
shape brief status b-7f2a3b1 shippedAdd a task. If no brief ID, creates a standalone task.
shape task add b-7f2a3b1 "Implement OAuth"
shape task add "Fix typo in README" # StandaloneList tasks.
shape task list # All tasks
shape task list b-7f2a3b1 # Tasks for brief
shape task list --standalone # Standalone tasks only
shape task list --format jsonShow task details including dependencies, notes, and history.
shape task show b-7f2a3b1.1Mark task as in progress.
shape task start b-7f2a3b1.1Mark task as complete.
shape task done b-7f2a3b1.1Add a dependency between tasks.
shape task dep b-7f2a3b1.2 b-7f2a3b1.1 # Default: blocks
shape task dep b-7f2a3b1.2 b-7f2a3b1.1 --blocks # Explicit blocks
shape task dep b-7f2a3b1.2 b-7f2a3b1.1 --from # Provenance
shape task dep b-7f2a3b1.2 b-7f2a3b1.1 --related # Related
shape task dep b-7f2a3b1.2 b-7f2a3b1.1 --duplicates # DuplicateDependency types:
--blocks— Task cannot start until dependency is done (affects ready queue)--from— Provenance tracking (for debugging/forensics)--related— Informational link--duplicates— Marks as duplicate
Remove a dependency.
shape task undep b-7f2a3b1.2 b-7f2a3b1.1
shape task undep b-7f2a3b1.2 b-7f2a3b1.1 --relatedShow tasks that are unblocked and ready to work on.
shape ready
shape ready --brief b-7f2a3b1
shape ready --format jsonShow tasks that are blocked by dependencies.
shape blocked
shape blocked --brief b-7f2a3b1Suggest the best next task to work on.
shape next # Best task overall
shape next --brief b-7f2a3b1 # Best task for brief
shape next -n 3 # Top 3 suggestionsClaim a task for an agent.
shape claim b-7f2a3b1.1
shape claim b-7f2a3b1.1 --agent claude
shape claim b-7f2a3b1.1 --force --reason "Taking over from stuck agent"Release a claim on a task.
shape unclaim b-7f2a3b1.1Add a note to a task.
shape note b-7f2a3b1.1 "Found edge case in OAuth flow"Link artifacts to a task.
shape link b-7f2a3b1.1 --commit abc1234
shape link b-7f2a3b1.1 --pr 42
shape link b-7f2a3b1.1 --file src/auth.rs
shape link b-7f2a3b1.1 --url "https://docs.example.com"Remove links from a task.
shape unlink b-7f2a3b1.1 --commit abc1234
shape unlink b-7f2a3b1.1 --pr 42Explicitly block a task with a reason.
shape block b-7f2a3b1.1 "Waiting for API key"
shape block b-7f2a3b1.1 "Blocked by external team" --on b-7f2a3b1.2Remove explicit block from a task.
shape unblock b-7f2a3b1.1Show task timeline: status changes, notes, links.
shape history b-7f2a3b1.1Show summary of a brief or task.
shape summary b-7f2a3b1 # Brief summary
shape summary b-7f2a3b1.1 # Task summaryHand off task to another agent or human.
shape handoff b-7f2a3b1.1 "Need human review"
shape handoff b-7f2a3b1.1 "Passing to specialist" --to cursorExport project state for AI agents.
shape context # Full context
shape context --compact # Minimal tokens
shape context --brief b-7f2a3b1 # Single brief
shape context --days 14 # Include older tasksCompress old completed tasks to save context window.
shape compact # Default: 7 days
shape compact --days 30 # Keep 30 days uncompressed
shape compact --brief b-7f2a3b1 # Single brief
shape compact --dry-run # Preview changes
shape compact --undo # Restore from backupLaunch interactive terminal UI.
shape tui
shape tui --brief b-7f2a3b1
shape tui --view kanban
shape tui --view graph
shape tui --view overviewManage background sync daemon.
shape daemon start # Start daemon
shape daemon stop # Stop daemon
shape daemon status # Check if running
shape daemon logs # View daemon logsManage SQLite cache.
shape cache build # Rebuild cache
shape cache clear # Clear cache
shape cache analyze # Show cache statsConfigure git merge driver for JSONL conflict resolution.
shape merge-setupConfigure AI agent integration files.
shape agent-setup # Auto-detect and configure
shape agent-setup --show # Preview without writing
shape agent-setup --claude # Only CLAUDE.md
shape agent-setup --cursor # Only .cursorrules
shape agent-setup --windsurf # Only .windsurfrulesList available plugins.
shape advanced plugin listShow plugin details.
shape advanced plugin show shape-sync-githubRun sync with external tool.
shape advanced sync run github
shape advanced sync run linearShow sync status for all configured plugins.
shape advanced sync status