Project: OpenCode Configuration Workspace Type: AI Tooling / Configuration VCS: Jujutsu (jj) — agents MUST NOT commit, push, or manipulate VCS Generated: 2026-02-25 — updated 2026-05-19 for oh-my-opencode-slim migration Scope: AI agents and security guidelines
This is an OpenCode configuration workspace powered by oh-my-opencode-slim. The plugin provides a team of specialized agents (orchestrator, oracle, librarian, explorer, designer, fixer) with automatic delegation. Model presets manage which AI models each agent uses.
| Preset | Purpose |
|---|---|
openai |
Work — OpenAI models (active by default) |
whitescars |
Work — Fast OpenAI models (gpt-5.5-fast / gpt-5.3-codex-spark) |
alphalegion |
Personal — Opencode Go models (deepseek-v4-pro, kimi-k2.6) |
gozen |
Personal — Opencode Go free-tier models |
Custom agent retained:
- Planner agent (
@planner): Writable strategic planning with decision-complete output — the only custom agent kept from the original configuration
.
├── opencode.jsonc # Workspace settings, model, plugin, MCP servers
├── oh-my-opencode-slim.json # Plugin config — openai preset + agent models
├── agents/
│ └── planner.md # @planner agent (strategic planning)
└── LICENSE # MIT License
| File | Purpose |
|---|---|
opencode.jsonc |
Workspace settings: main model, plugin registration, planner agent, MCP servers |
oh-my-opencode-slim.json |
Plugin configuration: active preset (openai), per-agent models/skills/MCPs |
agents/planner.md |
System prompt for the @planner primary agent |
| Agent | Role |
|---|---|
| Orchestrator | Master delegator — main coding agent, routes work to specialists |
| Explorer | Codebase reconnaissance |
| Oracle | Strategic advisor and code review |
| Librarian | External documentation and library research |
| Designer | UI/UX implementation and visual polish |
| Fixer | Fast implementation specialist for scoped tasks |
| Council | Multi-LLM consensus (manual invocation) |
| Observer | Visual analysis (disabled by default) |
| Agent | Role |
|---|---|
| Planner | Strategic planning — decision-complete plans, interviews user, explores codebase |
OpenCode-specific:
- Agent files use YAML frontmatter with metadata
- Configuration uses JSONC (JSON with comments) format
oh-my-opencode-slim.jsonselects preset and configures plugin-managed agents
Content style:
- Prompts are instructional — clear imperatives over descriptions
- Use concrete examples in skill documentation
| Task | Location | Notes |
|---|---|---|
| Change main model | opencode.jsonc |
Edit model field |
| Change preset | oh-my-opencode-slim.json |
Edit preset (e.g. "openai", "whitescars", "alphalegion", "gozen") |
| Change agent models | oh-my-opencode-slim.json |
Edit presets.<preset>.<agent>.model |
| Change planner model | opencode.jsonc |
Edit agent.planner.model |
| Change planner prompt | agents/planner.md |
YAML frontmatter + markdown body |
| Add MCP server | opencode.jsonc |
Add to mcp section |
| Switch preset at runtime | TUI | Use /preset command |
| Change skills per agent | oh-my-opencode-slim.json |
Edit presets.<preset>.<agent>.skills |
No build/test commands — this is a configuration repository. To use:
- Install OpenCode CLI:
npm install -g opencode - Install plugin:
bunx oh-my-opencode-slim@latest install - Run from workspace:
opencode - Use agents:
@agent-name(e.g.,@planner design the auth system)
Switch between model presets at runtime:
/preset openai # Use OpenAI models throughout
/preset whitescars # Use fast OpenAI models
/preset alphalegion # Use Opencode Go models
/preset gozen # Use Opencode Go free-tier models
Workspace-local skills (in skills/):
| Skill | Assigned to | Purpose |
|---|---|---|
| ast-grep | explorer, fixer | Structural code search with AST patterns |
| exa-search | librarian | Web search via Exa API |
| find-docs | librarian | Context7 documentation and API reference lookup |
| karpathy-guidelines | oracle, fixer | Behavioral guardrails to reduce LLM coding mistakes |
| security-awareness | oracle, fixer | Phishing detection, credential protection, security review |
Orchestrator gets * (all skills) in all presets.
- No tests — validation happens through OpenCode's agent execution
- No CI/CD — configuration is deployed via OpenCode plugin system
- openai preset (default): orchestrator/oracle use
openai/gpt-5.5, others useopenai/gpt-5.4-mini - whitescars preset: orchestrator/oracle use
openai/gpt-5.5-fast, designer usesopenai/gpt-5.4, others useopenai/gpt-5.3-codex-spark - alphalegion preset: orchestrator uses
opencode-go/deepseek-v4-pro, oracle usesopenai/gpt-5.5, designer usesopencode-go/kimi-k2.6, others useopencode-go/deepseek-v4-flash - gozen preset: orchestrator uses
opencode-go/deepseek-v4-pro, oracle usesopenai/gpt-5.5, designer usesopencode-go/kimi-k2.6, others useopencode/deepseek-v4-flash-free(free tier). Switch via/preset gozen - Planner uses
openai/gpt-5.5 (high variant)with temperature 0.1 (same across presets)