oh-my-opencode-slim

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

Updated May 23, 2021
One-click install
npx skills add https://github.com/Favot/.dotfiles --skill oh-my-opencode-slim-favot
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oh-my-opencode-slim
Source: https://github.com/Favot/.dotfiles/tree/main/.config/opencode/skills/oh-my-opencode-slim
Command: npx skills add https://github.com/Favot/.dotfiles --skill oh-my-opencode-slim-favot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Tuning an oh-my-opencode-slim installation requires knowing which config files, prompt override paths, and schema rules apply, and mistakes can silently change agent behavior or cost. This Skill guides safe, minimal configuration changes to agents, models, prompts, skills, MCPs, and presets while preserving existing user settings. ## Core Features & Use Cases - Agent and model tuning: Adjust models, variants, skills, and MCP permissions per built-in agent within the active preset in oh-my-opencode-slim.json or .jsonc. - Prompt overrides: Append or replace built-in agent prompts using markdown files like orchestrator_append.md, with preset-specific override support. - Custom agents: Define narrow specialist agents under agents.<name> with prompt and orchestratorPrompt fields so the Orchestrator routes work correctly. - Use Case: If the Orchestrator repeatedly spawns overlapping parallel writers, propose a small rule in orchestrator_append.md, get confirmation, apply it, and note the restart requirement. ## Quick Start Ask the assistant to review your current oh-my-opencode-slim config and propose a minimal change, such as lowering the librarian model cost or adding an orchestrator prompt rule.

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 built-in agent in oh-my-opencode-slim?▼

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

How do I customize a built-in agent prompt in oh-my-opencode-slim?▼

Create ~/.config/opencode/oh-my-opencode-slim/{agent}_append.md to append instructions, or {agent}.md to fully replace the prompt. Built-in agents do not support prompt fields in the JSON config; markdown override files are the supported mechanism.

Can I add custom agents to oh-my-opencode-slim config?▼

Yes, define unknown keys under the top-level agents object with model, prompt, orchestratorPrompt, skills, and mcps fields. Custom agents should be narrow specialists with clear trigger conditions so the Orchestrator routes work to them correctly.

Which config file takes precedence in oh-my-opencode-slim?▼

Project-local .opencode/oh-my-opencode-slim.json is checked before user config, and the .jsonc variant takes precedence over .json in the user config directory. Prompt overrides check the active preset folder first, then the base directory.

Why are my oh-my-opencode-slim config changes not taking effect?▼

OpenCode may need a restart for config, prompt, agent, skill, MCP, or plugin changes to load. Most edits apply on the next OpenCode run, so restart the application if you need the change immediately.