OpenCode plugin with structured Brainstorm → Plan → Implement workflow and session continuity.
https://github.com/user-attachments/assets/85236ad3-e78a-4ff7-a840-620f6ea2f512
Add to ~/.config/opencode/opencode.json:
{ "plugin": ["micode"] }
Then run /init to generate ARCHITECTURE.md and CODE_STYLE.md.
Brainstorm → Plan → Implement
↓ ↓ ↓
research research executor
Refine ideas into designs through collaborative questioning. Fires research subagents in parallel. Output: thoughts/shared/designs/YYYY-MM-DD-{topic}-design.md
Transform designs into implementation plans with bite-sized tasks (2-5 min each), exact file paths, and TDD workflow. Output: thoughts/shared/plans/YYYY-MM-DD-{topic}.md
Execute in git worktree for isolation. The Executor orchestrates implementer→reviewer cycles with parallel execution via fire-and-check pattern.
Maintain context across sessions with structured compaction. Run /ledger to create/update thoughts/ledgers/CONTINUITY_{session}.md.
| Command | Description |
|---|---|
/init | Initialize project docs |
/ledger | Create/update continuity ledger |
/search | Search past plans and ledgers |
| Agent | Purpose |
|---|---|
| commander | Orchestrator |
| brainstormer | Design exploration |
| planner | Implementation plans |
| executor | Orchestrate implement→review |
| implementer | Execute tasks |
| reviewer | Check correctness |
| codebase-locator | Find file locations |
| codebase-analyzer | Deep code analysis |
| pattern-finder | Find existing patterns |
| project-initializer | Generate project docs |
| ledger-creator | Continuity ledgers |
| artifact-searcher | Search past work |
| Tool | Description |
|---|---|
ast_grep_search | AST-aware code pattern search |
ast_grep_replace | AST-aware code pattern replacement |
look_at | Extract file structure |
artifact_search | Search past plans/ledgers |
btca_ask | Query library source code |
pty_spawn | Start background terminal session |
pty_write | Send input to PTY |
pty_read | Read PTY output |
pty_list | List PTY sessions |
pty_kill | Terminate PTY |
micode reads your default model from opencode.json:
{
"model": "github-copilot/gpt-5-mini",
"plugin": ["micode"]
}
All micode agents will use this model automatically.
Create ~/.config/opencode/micode.json for micode-specific settings:
{
"agents": {
"brainstormer": { "model": "openai/gpt-4o", "temperature": 0.8 },
"commander": {
"maxTokens": 8192,
// Configure reasoning effort per agent
"thinking": { "type": "enabled", "budgetTokens": 100000 }
}
},
"features": {
"mindmodelInjection": true,
"context7": false
},
"compactionThreshold": 0.5,
"fragments": {
"commander": ["custom-instructions.md"]
}
}
Note: Both
.jsonand.jsoncformats are supported. JSONC allows comments and trailing commas.
| Option | Type | Description |
|---|---|---|
agents | object | Per-agent overrides (model, temperature, maxTokens, thinking) |
features.mindmodelInjection | boolean | Enable mindmodel context injection |
features.context7 | boolean | Register the bundled context7 MCP server. Set false when it already comes from another tool or proxy. Default: true |
compactionThreshold | number | Context usage threshold (0-1) for auto-compaction. Default: 0.7 |
fragments | object | Additional prompt fragments per agent |
micode.json (highest)opencode.json "model" fieldModels use provider/model format. The provider must match exactly what's in your opencode.json:
{
"provider": {
"github-copilot": {
"models": { "gpt-5-mini": {} }
}
}
}
Use "model": "github-copilot/gpt-5-mini" (not github/copilot:gpt-5-mini).
git clone git@github.com:vtemian/micode.git ~/.micode
cd ~/.micode && bun install && bun run build
// Use local path
{ "plugin": ["~/.micode"] }
npm version patch # or minor, major
git push --follow-tags
Both are OpenCode plugins, but with different philosophies:
| Aspect | micode | oh-my-opencode |
|---|---|---|
| Philosophy | Opinionated workflow (brainstorm→plan→implement) | Batteries-included framework |
| Agent Design | Role-based (Brainstormer, Planner, Executor) | Greek mythology theme (Sisyphus, Atlas, Prometheus) |
| Parallelism | Batch-first: 10-20 concurrent micro-tasks (2-5 min each) | Background tasks with tmux visual monitoring |
| Code Guidance | Mindmodel system with project-specific patterns | Comment checker, keyword modes (ultrawork) |
| Context Recovery | Ledger system (CONTINUITY files) | AGENTS.md hierarchy, preemptive compaction |
| Workflow | TDD-enforced with adaptation over escalation | Category-based delegation (visual-engineering, ultrabrain) |
| Configuration | Focused options | Extensive (34 hooks, 11 agents, fallback chains) |
TypeScript
99.0%
OpenCode plugin with structured Brainstorm → Plan → Implement workflow and session continuity.
https://github.com/user-attachments/assets/85236ad3-e78a-4ff7-a840-620f6ea2f512
Add to ~/.config/opencode/opencode.json:
{ "plugin": ["micode"] }
Then run /init to generate ARCHITECTURE.md and CODE_STYLE.md.
Brainstorm → Plan → Implement
↓ ↓ ↓
research research executor
Refine ideas into designs through collaborative questioning. Fires research subagents in parallel. Output: thoughts/shared/designs/YYYY-MM-DD-{topic}-design.md
Transform designs into implementation plans with bite-sized tasks (2-5 min each), exact file paths, and TDD workflow. Output: thoughts/shared/plans/YYYY-MM-DD-{topic}.md
Execute in git worktree for isolation. The Executor orchestrates implementer→reviewer cycles with parallel execution via fire-and-check pattern.
Maintain context across sessions with structured compaction. Run /ledger to create/update thoughts/ledgers/CONTINUITY_{session}.md.
| Command | Description |
|---|---|
/init | Initialize project docs |
/ledger | Create/update continuity ledger |
/search | Search past plans and ledgers |
| Agent | Purpose |
|---|---|
| commander | Orchestrator |
| brainstormer | Design exploration |
| planner | Implementation plans |
| executor | Orchestrate implement→review |
| implementer | Execute tasks |
| reviewer | Check correctness |
| codebase-locator | Find file locations |
| codebase-analyzer | Deep code analysis |
| pattern-finder | Find existing patterns |
| project-initializer | Generate project docs |
| ledger-creator | Continuity ledgers |
| artifact-searcher | Search past work |
| Tool | Description |
|---|---|
ast_grep_search | AST-aware code pattern search |
ast_grep_replace | AST-aware code pattern replacement |
look_at | Extract file structure |
artifact_search | Search past plans/ledgers |
btca_ask | Query library source code |
pty_spawn | Start background terminal session |
pty_write | Send input to PTY |
pty_read | Read PTY output |
pty_list | List PTY sessions |
pty_kill | Terminate PTY |
micode reads your default model from opencode.json:
{
"model": "github-copilot/gpt-5-mini",
"plugin": ["micode"]
}
All micode agents will use this model automatically.
Create ~/.config/opencode/micode.json for micode-specific settings:
{
"agents": {
"brainstormer": { "model": "openai/gpt-4o", "temperature": 0.8 },
"commander": {
"maxTokens": 8192,
// Configure reasoning effort per agent
"thinking": { "type": "enabled", "budgetTokens": 100000 }
}
},
"features": {
"mindmodelInjection": true,
"context7": false
},
"compactionThreshold": 0.5,
"fragments": {
"commander": ["custom-instructions.md"]
}
}
Note: Both
.jsonand.jsoncformats are supported. JSONC allows comments and trailing commas.
| Option | Type | Description |
|---|---|---|
agents | object | Per-agent overrides (model, temperature, maxTokens, thinking) |
features.mindmodelInjection | boolean | Enable mindmodel context injection |
features.context7 | boolean | Register the bundled context7 MCP server. Set false when it already comes from another tool or proxy. Default: true |
compactionThreshold | number | Context usage threshold (0-1) for auto-compaction. Default: 0.7 |
fragments | object | Additional prompt fragments per agent |
micode.json (highest)opencode.json "model" fieldModels use provider/model format. The provider must match exactly what's in your opencode.json:
{
"provider": {
"github-copilot": {
"models": { "gpt-5-mini": {} }
}
}
}
Use "model": "github-copilot/gpt-5-mini" (not github/copilot:gpt-5-mini).
git clone git@github.com:vtemian/micode.git ~/.micode
cd ~/.micode && bun install && bun run build
// Use local path
{ "plugin": ["~/.micode"] }
npm version patch # or minor, major
git push --follow-tags
Both are OpenCode plugins, but with different philosophies:
| Aspect | micode | oh-my-opencode |
|---|---|---|
| Philosophy | Opinionated workflow (brainstorm→plan→implement) | Batteries-included framework |
| Agent Design | Role-based (Brainstormer, Planner, Executor) | Greek mythology theme (Sisyphus, Atlas, Prometheus) |
| Parallelism | Batch-first: 10-20 concurrent micro-tasks (2-5 min each) | Background tasks with tmux visual monitoring |
| Code Guidance | Mindmodel system with project-specific patterns | Comment checker, keyword modes (ultrawork) |
| Context Recovery | Ledger system (CONTINUITY files) | AGENTS.md hierarchy, preemptive compaction |
| Workflow | TDD-enforced with adaptation over escalation | Category-based delegation (visual-engineering, ultrabrain) |
| Configuration | Focused options | Extensive (34 hooks, 11 agents, fallback chains) |
TypeScript
99.0%