Quick Start
The sudocode CLI is a powerful command-line tool for managing specs, issues, relationships, and feedback in your git-native context management system. It provides a complete interface for spec-driven development with AI agents.Install sudocode
Initialize a project
Create your first spec
Create an implementation issue
Command Categories
The CLI is organized into logical command groups:Project Setup
init- Initialize .sudocode directory
Spec Management
spec create- Create new specsspec list- List and filter specsspec show- View spec detailsspec update- Update existing specsspec delete- Delete specs
Issue Management
issue create- Create new issuesissue list- List and filter issuesissue show- View issue detailsissue update- Update existing issuesissue close- Close completed issuesissue delete- Delete issues
Feedback System
feedback add- Add feedback to specsfeedback list- List feedbackfeedback show- View feedback detailsfeedback dismiss- Dismiss feedback
Common Command Patterns
Creating Entities
All create commands follow a similar pattern:Listing and Filtering
List commands support powerful filtering:Viewing Details
Show commands display complete entity information:- Entity metadata (title, priority, status, timestamps)
- Content/description
- Relationships (incoming and outgoing)
- Tags
- Feedback (for specs)
Updating Entities
Update commands support partial updates:Global Options
These options work with all commands:jq.Command Reference
Project Setup
sudocode init
sudocode init
.sudocode/ directory with database, JSONL files, and configuration.View full documentation →Spec Commands
sudocode spec create
sudocode spec create
sudocode spec list
sudocode spec list
sudocode spec show
sudocode spec show
sudocode spec update
sudocode spec update
sudocode spec delete
sudocode spec delete
Issue Commands
sudocode issue create
sudocode issue create
sudocode issue list
sudocode issue list
sudocode issue show
sudocode issue show
sudocode issue update
sudocode issue update
sudocode issue close
sudocode issue close
sudocode issue delete
sudocode issue delete
Relationship Commands
sudocode link
sudocode link
blocks, implements, depends-on, references, related, discovered-fromView full documentation →sudocode add-ref
sudocode add-ref
Feedback Commands
sudocode feedback add
sudocode feedback add
comment, suggestion, requestView full documentation →sudocode feedback list
sudocode feedback list
sudocode feedback show
sudocode feedback show
sudocode feedback dismiss
sudocode feedback dismiss
Query & Planning Commands
sudocode ready
sudocode ready
sudocode blocked
sudocode blocked
sudocode status
sudocode status
sudocode stats
sudocode stats
Sync & Export Commands
sudocode sync
sudocode sync
sudocode export
sudocode export
sudocode import
sudocode import
Typical Workflows
Starting a New Feature
Create a spec
Break into implementation issues
Link issues to spec
Model dependencies
Find ready work
Agent Workflow
Query for ready work
Claim an issue
Implement the feature
Provide feedback if needed
Close the issue
Daily Standup
What's in progress?
What's blocked?
What's ready to work on?
Project statistics
Tips & Best Practices
Use JSON output for scripting
Use JSON output for scripting
--json flag makes it easy to integrate sudocode into scripts:Leverage tab completion
Leverage tab completion
Use aliases for common commands
Use aliases for common commands
Combine with git workflows
Combine with git workflows
Use grep for quick searches
Use grep for quick searches
--grep flag supports fuzzy searching:Error Handling
Common errors and solutions:Error: sudocode not initialized
Error: sudocode not initialized
sudocode init in your project directoryError: Entity not found
Error: Entity not found
spec list or issue listError: Database locked
Error: Database locked
Error: Invalid priority/status value
Error: Invalid priority/status value
Next Steps
Initialize Your Project
sudocode init
