My personal OpenCode configuration - commands and settings.
- Copy
opencode.jsonto~/.config/opencode/opencode.json - Add your API keys to
opencode.json - Copy commands from
command/to your opencode commands folder
opencode-configs/
├── command/ # Slash commands
├── opencode.json # Main config template
├── README.md # English
└── README.vi.md # Vietnamese
| Command | Description |
|---|---|
/check |
Report current plan progress |
/commit |
Smart commit with conventional messages |
/continue |
Resume an in-progress plan |
/exec |
Execute a plan (parallel/sequential) |
/next |
Run next pending task in plan |
/plan |
Create implementation plan |
/push |
Push to GitHub, optionally create PR |
/recap |
Summarize what agent did |
/report |
Full project status report |
/wrap |
Create walkthrough + learning summary |
opencode.json is a template - you must add your own API keys:
{
"provider": {
"minimax": {
"options": {
"apiKey": "YOUR_MINIMAX_API_KEY"
}
},
"bailian-coding-plan": {
"options": {
"apiKey": "YOUR_ALIYUN_API_KEY"
}
}
}
}Personal config - feel free to adapt for your own use.