CLI Commands for Humans¶
This page covers the most common commands used by human developers for project management and oversight.
Getting Started¶
Initialize a New Project¶
This interactive wizard will:
- Create the .opencode/ directory structure
- Initialize the SQLite database
- Populate persona names
- Render templates and configuration files
View Project Status¶
Shows an overview including: - Active missions and personas - Task summary by status - Epic progress - Recent activity
Filter by role or epic:
Task Management¶
Create Tasks¶
s9 task create \
--role Operator \
--priority HIGH \
--title "Implement rate limiting" \
--description "Add rate limiting to API endpoints"
List Tasks¶
s9 task list # All tasks
s9 task list --role Operator # Filter by role
s9 task list --status TODO # Filter by status
Search Tasks¶
Get Task Suggestions¶
s9 task next # Suggest next tasks to work on
s9 task next --role Operator # Suggest for specific role
Generate Reports¶
Mission Management¶
List Missions¶
s9 mission list # All missions
s9 mission list --active-only # Only active missions
s9 mission list --role Operator # Filter by role
View Mission Details¶
Generate Mission Summary¶
Shows: - Files changed since mission start - Commits made (filtered by persona) - Tasks claimed and their status
List OpenCode Sessions¶
Helpful for finding active OpenCode sessions for this project.
Review Management¶
List Reviews¶
View Review Details¶
Approve or Reject Reviews¶
Show Blocked Tasks¶
Shows all tasks that are blocked by pending reviews.
Epic Management¶
Create an Epic¶
s9 epic create \
--title "User Authentication System" \
--priority HIGH \
--description "Complete authentication implementation"
List Epics¶
View Epic Details¶
Abort an Epic¶
This will abort the epic and all its linked tasks.
Architecture Decisions (ADRs)¶
Create an ADR¶
List ADRs¶
View ADR Details¶
Release Management¶
Generate Changelog¶
Generates a changelog from completed tasks since the last release.
Utilities¶
Health Checks¶
Runs health checks and validates data integrity.
Launch Agent¶
s9 summon operator # Launch OpenCode with Operator role
s9 summon operator --auto-assign # Auto-assign top priority task
Reset Project (Dangerous!)¶
Resets all project data. Use with extreme caution!
JSON Output¶
Most commands support --json output for scripting:
Next Steps¶
- See CLI Overview for command categorization
- See Complete Reference for detailed command documentation