Prerequisites
- OpenCode installed and configured
- Git installed for cloning the repository
- Access to
~/.config/opencode/directory
Installation Steps
1
Clone the repository
2
Run the installer
- Skills to
~/.config/opencode/skills/sdd-*/ - Commands to
~/.config/opencode/commands/sdd-*.md
3
Add orchestrator agent config
Open your OpenCode config:Merge the
You can either:
agent block from examples/opencode/opencode.json into your existing config.View agent configuration
View agent configuration
- Add to existing agent: Append SDD instructions to your primary agent’s prompt
- Create dedicated agent: Copy
sdd-orchestratordefinition as-is
Recommended: Keep your everyday agent (e.g.,
gentleman) as primary, and add sdd-orchestrator as a separate agent with mode: "all". Switch between them using the agent picker (Tab).4
Verify installation
Start OpenCode in any project:Use the agent picker (Tab key) and select Expected response:
sdd-orchestrator.Type:Configuration Locations
Skills
~/.config/opencode/skills/sdd-*/9 skill folders + _shared/ conventionsCommands
~/.config/opencode/commands/sdd-*.md8 slash command definitionsAgent Config
~/.config/opencode/opencode.jsonOrchestrator agent configurationAgent Configuration Options
Option 1: Dedicated SDD Agent (Recommended)
- Use Tab to switch to
sdd-orchestratorwhen starting SDD workflows - Use Tab to switch back to
gentlemanfor day-to-day coding
Option 2: Combined Agent
- All capabilities available in one agent
- No need to switch agents
Slash Commands
OpenCode’s native slash command support makes SDD commands discoverable:
Commands are auto-discovered by OpenCode. Type
/ to see all available commands.
Example Usage
Switch to SDD Orchestrator
Initialize SDD
Start a New Feature
Fast-Forward Planning
How Sub-Agent Delegation Works
OpenCode’s Task tool enables fresh-context sub-agents:- Starts with fresh context (no orchestrator history)
- Reads skill instructions from file
- Executes phase work (analyze code, write specs, implement, etc.)
- Returns structured result to orchestrator
- Orchestrator shows summary and asks user to proceed
Artifact Storage
- engram (Recommended)
- openspec
- none
- Repository stays clean (no openspec/ directory)
- Persistent across projects
- Fast search and recovery
- Automatic deduplication
Verification Checklist
1
Check skills directory
_shared/:2
Check commands directory
3
Verify agent config
4
Test in OpenCode
Troubleshooting
Command not found
Command not found
Problem:
/sdd-init shows “command not found”Solutions:- Check commands are in
~/.config/opencode/commands/sdd-*.md - Restart OpenCode to reload command index
- Verify file permissions allow reading
- Try typing
/to see if other commands appear
Agent not available
Agent not available
Problem:
sdd-orchestrator doesn’t appear in agent pickerSolutions:- Verify agent definition in
~/.config/opencode/opencode.json - Check JSON syntax is valid (no trailing commas)
- Ensure
mode: "all"ormode: "primary"is set - Restart OpenCode
Sub-agent doesn't launch
Sub-agent doesn't launch
Problem: Commands run inline instead of launching sub-agentsSolutions:
- Verify orchestrator prompt mentions Task tool
- Check skill paths in agent config:
~/.config/opencode/skills/sdd-*/SKILL.md - Ensure OpenCode version supports Task tool
- Review orchestrator instructions: should explicitly use Task tool
Artifacts not saving
Artifacts not saving
Problem: Results shown but not persistedSolutions:
- Check artifact_store mode in orchestrator output
- If engram mode: verify Engram MCP server is running
- If openspec mode: check write permissions in project directory
- If none mode: persistence is intentionally disabled
Next Steps
Quick Start
Learn the SDD workflow
Commands Reference
Complete command documentation
Agent Configuration
Advanced agent setup options
Engram Integration
Set up recommended persistence