Complete installation instructions for oh-my-opencode-slim.
Run the interactive installer:
bunx oh-my-opencode-slim@latest installOr use non-interactive mode:
bunx oh-my-opencode-slim@latest install --no-tui --kimi=yes --openai=yes --tmux=noAuthenticate with your providers:
opencode auth login
# Select your provider → Complete OAuth flow
# Repeat for each provider you enabledOnce 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.
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
If you're an LLM Agent helping set up oh-my-opencode-slim, follow these steps.
opencode --versionIf not installed, direct the user to https://opencode.ai/docs first.
Ask these questions one at a time, waiting for responses:
- "Do you have access to Kimi For Coding?" (Provides Kimi k1.5 models)
- "Do you have access to OpenAI API?" (Enables
openai/models)
Help the user understand the tradeoffs:
- Kimi For Coding provides powerful k1.5 models for coding tasks.
- OpenAI is optional; it enables
openai/models. - If the user has no providers, the plugin still works using OpenCode Zen free 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 --kimi=<yes|no> --openai=<yes|no>Examples:
# Kimi + OpenAI
bunx oh-my-opencode-slim@latest install --no-tui --kimi=yes --openai=yes --tmux=no
# OpenAI only
bunx oh-my-opencode-slim@latest install --no-tui --kimi=no --openai=yes --tmux=no
# No providers (Zen free models only)
bunx oh-my-opencode-slim@latest install --no-tui --kimi=no --openai=no --tmux=noThe installer automatically:
- Adds the plugin to
~/.config/opencode/opencode.json - Generates agent model mappings in
~/.config/opencode/oh-my-opencode-slim.json
Crucial Advice for the User:
- They can easily assign different models to different agents by editing
~/.config/opencode/oh-my-opencode-slim.json. - If they add a new provider later, they just need to update this file.
- Read generated
~/.config/opencode/oh-my-opencode-slim.jsonfile and report the model configuration.
For Kimi (if enabled): Ask user to run the following command. Don't run it yourself, it requires user interaction.
opencode auth login
# Select "Kimi For Coding" provider and complete OAuth flowFor 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 flowCheck the expected config format:
bunx oh-my-opencode-slim@latest install --helpThen manually create the config files at:
~/.config/opencode/oh-my-opencode-slim.json
-
Check your authentication:
opencode auth status
-
Verify your config file exists and is valid:
cat ~/.config/opencode/oh-my-opencode-slim.json -
Check that your provider is configured in
~/.config/opencode/opencode.json
If providers are not working:
-
Check your authentication status:
opencode auth status
-
Re-authenticate if needed:
opencode auth login
-
Verify your config file has the correct provider configuration:
cat ~/.config/opencode/oh-my-opencode-slim.json
Make sure you're running OpenCode with the --port flag and the port matches your OPENCODE_PORT environment variable:
tmux
export OPENCODE_PORT=4096
opencode --port 4096See the Quick Reference for more details.
-
Remove the plugin from your OpenCode config:
Edit
~/.config/opencode/opencode.jsonand remove"oh-my-opencode-slim"from thepluginarray. -
Remove configuration files (optional):
rm -f ~/.config/opencode/oh-my-opencode-slim.json rm -f .opencode/oh-my-opencode-slim.json -
Remove skills (optional):
npx skills remove simplify npx skills remove agent-browser