Complete installation instructions for oh-my-opencode-slim.
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 --kimi=yes --openai=yes --antigravity=yes --chutes=yes --opencode-free=yes --opencode-free-model=auto --tmux=no --skills=yes
The installer supports multiple providers:
opencode/* modelschutes/* models via OpenCode auth flowWhen OpenCode free mode is enabled, the installer runs:
opencode models --refresh --verbose
It then filters to free opencode/* models only, picks a coding-first primary model, and picks a support model for search/implementation agents.
Enable during installation:
bunx oh-my-opencode-slim install --kimi=yes --openai=yes --antigravity=yes --chutes=yes --opencode-free=yes --opencode-free-model=auto
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.json(or.jsoncfor comments support) to 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 --version
If not installed, direct the user to https://opencode.ai/docs first.
Ask these questions one at a time, waiting for responses:
openai/ models)google/ models via Antigravity)chutes/ models with daily-cap aware selection)opencode/* models)Help the user understand the tradeoffs:
opencode/* models using opencode models --refresh --verbose.designer remains on the external provider mapping.openai/ models.opencode auth login -> select chutes).ARTIFICIAL_ANALYSIS_API_KEY (quality/coding/latency/price)OPENROUTER_API_KEY (model pricing metadata)
If set, installer dynamic planning uses these signals to improve model ranking.Based on answers, run:
bunx oh-my-opencode-slim@latest install --no-tui --kimi=<yes|no> --openai=<yes|no> --antigravity=<yes|no> --chutes=<yes|no> --opencode-free=<yes|no> --opencode-free-model=<id|auto> --tmux=<yes|no> --skills=<yes|no>
Examples:
# Kimi + OpenAI + Antigravity
bunx oh-my-opencode-slim@latest install --no-tui --kimi=yes --openai=yes --antigravity=yes --chutes=yes --opencode-free=yes --opencode-free-model=auto --tmux=no --skills=yes
# OpenAI only
bunx oh-my-opencode-slim@latest install --no-tui --kimi=no --openai=yes --antigravity=no --chutes=no --opencode-free=no --tmux=no --skills=yes
# OpenCode free models only (auto-select)
bunx oh-my-opencode-slim@latest install --no-tui --kimi=no --openai=no --antigravity=no --chutes=no --opencode-free=yes --opencode-free-model=auto --tmux=no --skills=yes
# OpenCode free models + OpenAI (manual primary model)
bunx oh-my-opencode-slim@latest install --no-tui --kimi=no --openai=yes --antigravity=no --chutes=no --opencode-free=yes --opencode-free-model=opencode/gpt-5-nano --tmux=no --skills=yes
The installer automatically:
~/.config/opencode/opencode.json~/.config/opencode/oh-my-opencode-slim.json (or .jsonc)Crucial Advice for the User:
~/.config/opencode/oh-my-opencode-slim.json (or .jsonc).~/.config/opencode/oh-my-opencode-slim.json (or .jsonc) file 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 flow
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
For Antigravity (if enabled): Ask user to run the following command. Don't run it yourself, it requires user interaction.
opencode auth login
# Select "Antigravity (Google)" provider and complete OAuth flow
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.json (or .jsonc)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 4096
See the Quick Reference for more details.
Edit ~/.config/opencode/opencode.json and remove "oh-my-opencode-slim" from the plugin array.
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