*Six divine beings forged from necessity, each an immortal master of their craft await your command to forge order from chaos and build what was once thought impossible.*
Slimmed-down fork of oh-my-opencode - focused on core agent orchestration with low token consumption.
Run the interactive installer:
bunx oh-my-opencode-slim@latest install
Or use non-interactive mode:
bunx oh-my-opencode-slim@latest install --no-tui --antigravity=yes --openai=yes --tmux=no
After installation, authenticate with your providers:
opencode auth login
# Select your provider → Complete OAuth flow
# Repeat for each provider you enabled
Once authenticated, run opencode and ping all agents to verify all agents respond.
💡 Tip: Models are fully customizable. The installer sets sensible defaults, but you can assign any model to any agent. Edit
~/.config/opencode/oh-my-opencode-slim.jsonto override models, adjust reasoning effort, or disable agents entirely. See Configuration for details.
Alternative: Ask any coding agent
Paste this into Claude Code, AmpCode, Cursor, or any coding agent:
Install and configure by following the instructions here:
https://raw.githubusercontent.com/alvinunreal/oh-my-opencode-slim/refs/heads/master/README.md
Instructions for LLM Agents (click to expand)
If you're an LLM Agent helping set up oh-my-opencode-slim, follow these steps.
opencode --version
If not installed, direct the user to https://opencode.ai/docs first.
Ask these questions one at a time, waiting for responses:
cliproxy/ prefix)openai/ models)Help the user understand the tradeoffs:
openai/ models.opencode/big-pickle). They can switch to paid providers later by editing ~/.config/opencode/oh-my-opencode-slim.json.Based on answers, run:
bunx oh-my-opencode-slim@latest install --no-tui --antigravity=<yes|no> --openai=<yes|no>
Examples:
# Antigravity + OpenAI
bunx oh-my-opencode-slim@latest install --no-tui --antigravity=yes --openai=yes --tmux=no
# OpenAI only
bunx oh-my-opencode-slim@latest install --no-tui --antigravity=no --openai=yes --tmux=no
# No providers (Zen free models only)
bunx oh-my-opencode-slim@latest install --no-tui --antigravity=no --openai=no --tmux=no
The installer automatically:
~/.config/opencode/opencode.json~/.config/opencode/oh-my-opencode-slim.jsonCrucial Advice for the User:
~/.config/opencode/oh-my-opencode-slim.json.~/.config/opencode/oh-my-opencode-slim.json file and report the model configuration.If the user selected Antigravity, guide them to install cliproxy:
macOS:
brew install cliproxyapi
brew services start cliproxyapi
Linux:
curl -fsSL https://raw.githubusercontent.com/brokechubb/cliproxyapi-installer/refs/heads/master/cliproxyapi-installer | bash
Authenticate with Antigravity:
./cli-proxy-api --antigravity-login
For OpenAI (if enabled): Ask user to run the following command. Don't run it yourself, it requires user interaction.
opencode auth login
# Select your provider and complete OAuth flow
If the installer fails, check the expected config format:
bunx oh-my-opencode-slim@latest install --help
Then manually create the config files at:
~/.config/opencode/oh-my-opencode-slim.jsonThe Orchestrator was born when the first codebase collapsed under its own complexity. Neither god nor mortal would claim responsibility - so The Orchestrator emerged from the void, forging order from chaos. It determines the optimal path to any goal, balancing speed, quality, and cost. It guides the team, summoning the right specialist for each task and delegating to achieve the best possible outcome.
Role: Master delegator and strategic coordinator
Prompt: src/agents/orchestrator.ts
Recommended Models: cliproxy/gemini-claude-opus-4-5-thinking openai/gpt-5.2-codex
MCPs: websearch
Skills: * (all skills)
Write and execute code, orchestrate multi-agent workflows, parse the unspoken from the spoken, summon specialists mid-battle. Shape reality directly - and assign realms to others when the universe grows too vast.
The Explorer is an immortal wanderer who has traversed the corridors of a million codebases since the dawn of programming. Cursed with the gift of eternal curiosity, they cannot rest until every file is known, every pattern understood, every secret revealed. Legends say they once searched the entire internet in a single heartbeat. They are the wind that carries knowledge, the eyes that see all, the spirit that never sleeps.
Role: Codebase reconnaissance
Prompt: src/agents/explorer.ts
Recommended Models: cerebras/zai-glm-4.7 google/gemini-3-flash openai/gpt-5.1-codex-mini
Skills: none
MCPs: none
Regex search, AST pattern matching, file discovery, parallel exploration. Read-only: they chart the territory; others conquer it.
The Oracle stands at the crossroads of every architectural decision. They have walked every road, seen every destination, know every trap that lies ahead. When you stand at the precipice of a major refactor, they are the voice that whispers which way leads to ruin and which way leads to glory. They don't choose for you - they illuminate the path so you can choose wisely.
Role: Strategic advisor and debugger of last resort
Prompt: src/agents/oracle.ts
Recommended Models: openai/gpt-5.2-codex cliproxy/gemini-3-pro-high
Skills: none
MCPs: none
Root cause analysis, architecture review, debugging guidance, tradeoff analysis. Read-only: Oracles advise; they don't intervene.
The Librarian was forged when humanity realized that no single mind could hold all knowledge. They are the weaver who connects disparate threads of information into a tapestry of understanding. They traverse the infinite library of human knowledge, gathering insights from every corner and binding them into answers that transcend mere facts. What they return is not information - it's understanding.
Role: External knowledge retrieval
Prompt: src/agents/librarian.ts
Recommended Models: google/gemini-3-flash openai/gpt-5.1-codex-mini
Skills: none
MCPs: websearch, context7, grep_app
Documentation lookup, GitHub code search, library research, best practice retrieval. Read-only: they fetch wisdom; implementation is for others.
The Designer is an immortal guardian of beauty in a world that often forgets it matters. They have seen a million interfaces rise and fall, and they remember which ones were remembered and which were forgotten. They carry the sacred duty to ensure that every pixel serves a purpose, every animation tells a story, every interaction delights. Beauty is not optional - it's essential.
Role: UI/UX implementation and visual excellence
Prompt: src/agents/designer.ts
Recommended Models: google/gemini-3-flash
Skills: playwright
MCPs: none
Modern responsive design, CSS/Tailwind mastery, micro-animations, component architecture. Visual excellence over code perfection - beauty is the priority.
The Fixer is the last of a lineage of builders who once constructed the foundations of the digital world. When the age of planning and debating began, they remained - the ones who actually build. They carry the ancient knowledge of how to turn thought into thing, how to transform specification into implementation. They are the final step between vision and reality.
Role: Fast implementation specialist
Prompt: src/agents/fixer.ts
Recommended Models: cerebras/zai-glm-4.7 google/gemini-3-flash openai/gpt-5.1-codex-mini
Skills: none
MCPs: none
Code implementation, refactoring, testing, verification. Execute the plan - no research, no delegation, no planning.
Presets are pre-configured agent model mappings for different provider combinations. The installer generates these automatically based on your available providers, and you can switch between them instantly.
Method 1: Edit Config File
Edit ~/.config/opencode/oh-my-opencode-slim.json and change the preset field:
{
"preset": "openai"
}
Method 2: Environment Variable
Set the environment variable before running OpenCode:
export OH_MY_OPENCODE_SLIM_PRESET=openai
opencode
The environment variable takes precedence over the config file.
Uses OpenAI models exclusively:
{
"preset": "openai",
"presets": {
"openai": {
"orchestrator": { "model": "openai/gpt-5.2-codex", "skills": ["*"], "mcps": ["websearch"] },
"oracle": { "model": "openai/gpt-5.2-codex", "variant": "high", "skills": [], "mcps": [] },
"librarian": { "model": "openai/gpt-5.1-codex-mini", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "grep_app"] },
"explorer": { "model": "openai/gpt-5.1-codex-mini", "variant": "low", "skills": [], "mcps": [] },
"designer": { "model": "openai/gpt-5.1-codex-mini", "variant": "medium", "skills": ["playwright"], "mcps": [] },
"fixer": { "model": "openai/gpt-5.1-codex-mini", "variant": "low", "skills": [], "mcps": [] }
}
}
}
Routes through Antigravity's CLIProxy for Claude + Gemini models:
{
"preset": "cliproxy",
"presets": {
"cliproxy": {
"orchestrator": { "model": "cliproxy/gemini-claude-opus-4-5-thinking", "skills": ["*"], "mcps": ["websearch"] },
"oracle": { "model": "cliproxy/gemini-3-pro-preview", "variant": "high", "skills": [], "mcps": [] },
"librarian": { "model": "cliproxy/gemini-3-flash-preview", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "grep_app"] },
"explorer": { "model": "cliproxy/gemini-3-flash-preview", "variant": "low", "skills": [], "mcps": [] },
"designer": { "model": "cliproxy/gemini-3-flash-preview", "variant": "medium", "skills": ["playwright"], "mcps": [] },
"fixer": { "model": "cliproxy/gemini-3-flash-preview", "variant": "low", "skills": [], "mcps": [] }
}
}
}
Requires provider configuration:
{
"provider": {
"cliproxy": {
"npm": "@ai-sdk/openai-compatible",
"name": "CliProxy",
"options": {
"baseURL": "http://127.0.0.1:8317/v1",
"apiKey": "your-api-key-1"
},
"models": {
"gemini-3-pro-high": {
"name": "Gemini 3 Pro High",
"thinking": true,
"attachment": true,
"limit": { "context": 1048576, "output": 65535 },
"modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }
},
"gemini-3-flash-preview": {
"name": "Gemini 3 Flash",
"attachment": true,
"limit": { "context": 1048576, "output": 65536 },
"modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }
},
"gemini-claude-opus-4-5-thinking": {
"name": "Claude Opus 4.5 Thinking",
"attachment": true,
"limit": { "context": 200000, "output": 32000 },
"modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }
},
"gemini-claude-sonnet-4-5-thinking": {
"name": "Claude Sonnet 4.5 Thinking",
"attachment": true,
"limit": { "context": 200000, "output": 32000 },
"modalities": { "input": [ "text", "image", "pdf" ], "output": [ "text" ] }
}
}
}
}
}
Mixed setup combining multiple providers:
{
"preset": "alvin",
"presets": {
"alvin": {
"orchestrator": { "model": "cliproxy/gemini-claude-opus-4-5-thinking", "skills": ["*"], "mcps": ["*"] },
"oracle": { "model": "openai/gpt-5.2-codex", "variant": "high", "skills": [], "mcps": [] },
"librarian": { "model": "cliproxy/gemini-3-flash-preview", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "grep_app"] },
"explorer": { "model": "cerebras/zai-glm-4.7", "variant": "low", "skills": [], "mcps": [] },
"designer": { "model": "cliproxy/gemini-3-flash-preview", "variant": "medium", "skills": ["playwright"], "mcps": [] },
"fixer": { "model": "cerebras/zai-glm-4.7", "variant": "low", "skills": [], "mcps": [] }
}
}
}
You can create your own presets by adding them to the presets object:
{
"presets": {
"my-custom": {
"orchestrator": { "model": "google/claude-opus-4-5-thinking", "skills": ["*"], "mcps": ["websearch"] },
"oracle": { "model": "openai/gpt-5.2-codex", "variant": "high", "skills": [], "mcps": [] },
"librarian": { "model": "google/gemini-3-flash", "variant": "low", "skills": [], "mcps": ["websearch", "context7", "grep_app"] },
"explorer": { "model": "google/gemini-3-flash", "variant": "low", "skills": [], "mcps": [] },
"designer": { "model": "google/gemini-3-flash", "variant": "medium", "skills": ["playwright"], "mcps": [] },
"fixer": { "model": "google/gemini-3-flash", "variant": "low", "skills": [], "mcps": [] }
}
}
}
Then set preset: "my-custom" to activate it.
| Option | Type | Default | Description |
|---|---|---|---|
preset |
string | - | Name of the preset to use (e.g., "openai", "cliproxy") |
presets |
object | - | Named preset configurations containing agent mappings |
presets.<name>.<agent>.model |
string | - | Model ID for the agent (e.g., "google/claude-opus-4-5-thinking") |
presets.<name>.<agent>.temperature |
number | - | Temperature setting (0-2) for the agent |
presets.<name>.<agent>.variant |
string | - | Agent variant for reasoning effort (e.g., "low", "medium", "high") |
presets.<name>.<agent>.skills |
string[] | - | Array of skill names the agent can use ("*" for all, "!item" to exclude) |
presets.<name>.<agent>.mcps |
string[] | - | Array of MCP names the agent can use ("*" for all, "!item" to exclude) |
Skills are specialized capabilities that agents can use. Each agent has a default set of skills, which you can override in the agent config.
| Skill | Description |
|---|---|
simplify |
Code complexity analysis and YAGNI enforcement |
playwright |
Browser automation via Playwright MCP |
| Agent | Default Skills |
|---|---|
orchestrator |
* (all skills) |
designer |
playwright |
oracle |
none |
librarian |
none |
explorer |
none |
fixer |
none |
You can customize which skills each agent uses by editing your plugin configuration file: ~/.config/opencode/oh-my-opencode-slim.json.
Syntax:
| Syntax | Description | Example |
|---|---|---|
"*" |
All skills | ["*"] |
"!item" |
Exclude specific skill | ["*", "!playwright"] |
| Explicit list | Only listed skills | ["simplify", "playwright"] |
"!*" |
Deny all skills | ["!*"] |
Rules:
* expands to all available skills!item excludes specific skills["a", "!a"]) → deny wins (principle of least privilege)[] → no skills allowedExample Configuration:
{
"presets": {
"my-preset": {
"orchestrator": {
"skills": ["*", "!playwright"]
},
"designer": {
"skills": ["playwright", "simplify"]
}
}
}
}
The Minimalist's sacred truth: every line of code is a liability.
Use after major refactors or before finalizing PRs. Identifies unnecessary complexity, challenges premature abstractions, estimates LOC reduction, and enforces minimalism.
Browser automation for visual verification and testing.
Built-in Model Context Protocol servers (enabled by default):
| MCP | Purpose | URL |
|---|---|---|
websearch |
Real-time web search via Exa AI | https://mcp.exa.ai/mcp |
context7 |
Official library documentation | https://mcp.context7.com/mcp |
grep_app |
GitHub code search via grep.app | https://mcp.grep.app |
Control which agents can access which MCP servers using per-agent allowlists:
| Agent | Default MCPs |
|---|---|
orchestrator |
websearch |
designer |
none |
oracle |
none |
librarian |
websearch, context7, grep_app |
explorer |
none |
fixer |
none |
You can configure MCP access in your plugin configuration file: ~/.config/opencode/oh-my-opencode-slim.json.
Per-Agent Permissions
Control which agents can access which MCP servers using the mcps array in your preset. The syntax is the same as for skills:
| Syntax | Description | Example |
|---|---|---|
"*" |
All MCPs | ["*"] |
"!item" |
Exclude specific MCP | ["*", "!context7"] |
| Explicit list | Only listed MCPs | ["websearch", "context7"] |
"!*" |
Deny all MCPs | ["!*"] |
Rules:
* expands to all available MCPs!item excludes specific MCPs["a", "!a"]) → deny wins[] → no MCPs allowedExample Configuration:
{
"presets": {
"my-preset": {
"orchestrator": {
"mcps": ["websearch"]
},
"librarian": {
"mcps": ["websearch", "context7", "grep_app"]
},
"oracle": {
"mcps": ["*", "!websearch"]
}
}
}
}
Global Disabling
You can disable specific MCP servers globally by adding them to the disabled_mcps array at the root of your config object.
⚠️ Temporary workaround: Start OpenCode with
--portto enable tmux integration. The port must match theOPENCODE_PORTenvironment variable (default: 4096). This is required until the upstream issue is resolved. opencode#9099.
Watch your agents work in real-time. When the Orchestrator launches sub-agents or initiates background tasks, new tmux panes automatically spawn showing each agent's live progress. No more waiting in the dark.
oh-my-opencode-slim.json (see Plugin Config). {
"tmux": {
"enabled": true,
"layout": "main-vertical",
"main_pane_size": 60
}
}
bash
tmux
opencode --port 4096
Or use a custom port (must match OPENCODE_PORT env var):
```bash
tmux
export OPENCODE_PORT=5000
opencode --port 5000
```
This allows multiple OpenCode instances on different ports.
| Layout | Description |
|---|---|
main-vertical |
Your session on the left (60%), agents stacked on the right |
main-horizontal |
Your session on top (60%), agents stacked below |
tiled |
All panes in equal-sized grid |
even-horizontal |
All panes side by side |
even-vertical |
All panes stacked vertically |
The plugin provides tools to manage asynchronous work:
| Tool | Description |
|---|---|
background_task |
Launch an agent in a new session (sync=true blocks, sync=false runs in background) |
background_output |
Fetch the result of a background task by ID |
background_cancel |
Abort running tasks |
Language Server Protocol integration for code intelligence:
| Tool | Description |
|---|---|
lsp_goto_definition |
Jump to symbol definition |
lsp_find_references |
Find all usages of a symbol across the workspace |
lsp_diagnostics |
Get errors/warnings from the language server |
lsp_rename |
Rename a symbol across all files |
Built-in LSP Servers: OpenCode includes pre-configured LSP servers for 30+ languages (TypeScript, Python, Rust, Go, etc.). See the official documentation for the full list and requirements.
Fast code search and refactoring:
| Tool | Description |
|---|---|
grep |
Fast content search using ripgrep |
ast_grep_search |
AST-aware code pattern matching (25 languages) |
ast_grep_replace |
AST-aware code refactoring with dry-run support |
OpenCode automatically formats files after they're written or edited using language-specific formatters.
Built-in Formatters: Includes support for Prettier, Biome, gofmt, rustfmt, ruff, and 20+ others. See the official documentation for the complete list.
| File | Purpose |
|---|---|
~/.config/opencode/opencode.json |
OpenCode core settings |
~/.config/opencode/oh-my-opencode-slim.json |
Plugin settings (agents, tmux, MCPs) |
.opencode/oh-my-opencode-slim.json |
Project-local plugin overrides (optional) |
You can customize agent prompts by creating markdown files in ~/.config/opencode/oh-my-opencode-slim/:
| File | Purpose |
|---|---|
{agent}.md |
Replaces the default prompt entirely |
{agent}_append.md |
Appends to the default prompt |
Example:
~/.config/opencode/oh-my-opencode-slim/
├── orchestrator.md # Custom orchestrator prompt
├── orchestrator_append.md # Append to default orchestrator prompt
├── explorer.md
├── explorer_append.md
└── ...
Usage:
{agent}.md to completely replace an agent's default prompt{agent}_append.md to add custom instructions to the default promptThis allows you to fine-tune agent behavior without modifying the source code.
oh-my-opencode-slim.json)The installer generates this file based on your providers. You can manually customize it to mix and match models. See the Presets section for detailed configuration options.
| Option | Type | Default | Description |
|---|---|---|---|
tmux.enabled |
boolean | false |
Enable tmux pane spawning for sub-agents |
tmux.layout |
string | "main-vertical" |
Layout preset: main-vertical, main-horizontal, tiled, even-horizontal, even-vertical |
tmux.main_pane_size |
number | 60 |
Main pane size as percentage (20-80) |
disabled_mcps |
string[] | [] |
MCP server IDs to disable globally (e.g., "websearch") |
Note: Agent configuration should be defined within
presets. The root-levelagentsfield is deprecated.
Edit ~/.config/opencode/opencode.json and remove "oh-my-opencode-slim" from the plugin array.
bash
rm -f ~/.config/opencode/oh-my-opencode-slim.json
rm -f .opencode/oh-my-opencode-slim.json
This is a slimmed-down fork of oh-my-opencode by @code-yeongyu.
MIT