oh-my-opencode-slim

Configure agents, models, prompts, skills, and MCPs for oh-my-opencode-slim in OpenCode.

Updated Jun 16, 2022
One-click install
npx skills add https://github.com/SimonZimmer/dotfiles --skill oh-my-opencode-slim-simonzimmer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oh-my-opencode-slim
Source: https://github.com/SimonZimmer/dotfiles/tree/main/.config/opencode/skills/oh-my-opencode-slim
Command: npx skills add https://github.com/SimonZimmer/dotfiles --skill oh-my-opencode-slim-simonzimmer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Tuning an OpenCode agent setup requires knowing which config files, prompt override paths, and schema rules oh-my-opencode-slim supports, and mistakes can silently change cost, permissions, or delegation behavior. ## Core Features & Use Cases - Agent and Model Tuning: Assign models, variants, skills, and MCP permissions per built-in agent within presets in the plugin config file. - Prompt Customization: Append to or fully replace built-in agent prompts using markdown override files with a defined lookup order, including preset-specific variants. - Custom Agent Creation: Define narrow specialist agents under agents.<name> with prompt and orchestratorPrompt so the Orchestrator routes work correctly. - Use Case: If the Orchestrator repeatedly spawns overlapping parallel writers, add a small rule to orchestrator_append.md so future runs serialize that work automatically. ## Quick Start Ask the assistant to inspect your oh-my-opencode-slim config and propose a cheaper model assignment for the explorer, librarian, and fixer agents.

Frequently Asked Questions about oh-my-opencode-slim

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I change the model for a specific agent in oh-my-opencode-slim?▼

Edit the active preset under `presets.<preset>.<agent>` in `~/.config/opencode/oh-my-opencode-slim.jsonc` and set the `model` and optionally `variant` fields. The change applies on the next OpenCode run or after a restart.

How do I customize a built-in agent prompt in OpenCode?▼

Create `~/.config/opencode/oh-my-opencode-slim/{agent}_append.md` to append instructions, or `{agent}.md` to fully replace the bundled prompt. Preset-specific overrides go in a subdirectory named after the active preset.

Can I set prompt fields for built-in agents in the JSON config?▼

No, built-in agents do not support `prompt` or `orchestratorPrompt` in the config file; use markdown override files instead. Only custom agents defined under `agents.<name>` may set those fields directly in config.

How do I restrict which skills or MCPs an agent can use?▼

Set the `skills` or `mcps` array on the agent's preset entry using `['*']` for all, explicit names, or exclusions like `['*', '!codemap']`. Keep permissions minimal and intentional for each agent's role.

When should I create a custom agent instead of tuning a prompt?▼

Create a custom agent when a narrow, repeatable specialty needs its own lane with clear trigger conditions in `orchestratorPrompt`. Avoid duplicating existing specialists like explorer, librarian, oracle, designer, or fixer.

Why did my oh-my-opencode-slim config change not take effect?▼

OpenCode may need a restart for config, prompt, agent, skill, MCP, or plugin changes to load. Also verify the file is valid JSONC and that project-local `.opencode/` overrides are not taking precedence.