oh-my-opencode.json์์ ๋ฌด์์ ๋ฐ๊พธ๋ฉด ๋์์ด ์ด๋ป๊ฒ ๋ฌ๋ผ์ง๋์ง, ์์ ํ ๊ธฐ๋ณธ๊ฐ ์ค์ฌ์ผ๋ก ์ค๋ช
ํฉ๋๋ค.
๋น ๋ฅด๊ฒ ์คํ (๋ณต๋ถ)
cat ~/.config/opencode/oh-my-opencode.json
opencode models
bunx oh-my-opencode doctor --category authentication
bunx oh-my-opencode doctor --verboseflowchart TD A[ํ์ผ ์์น] --> B[๊ณต๊ธ์] B --> C[์์ด์ ํธ/์นดํ ๊ณ ๋ฆฌ] C --> D[์คํฌ/๋ธ๋ผ์ฐ์ /tmux] D --> E[doctor ๊ฒ์ฆ]
๋จ๊ณ๋ณ ์ ์ฉ
1) ์ค์ ํ์ผ ์ฐ์ ์์ ํ์ธ
- ์ค๋ช : ํ๋ก์ ํธ(.opencode) > ์ฌ์ฉ์(~/.config/opencode) ์ฐ์ ์์๋ฅผ ์ดํดํฉ๋๋ค.
- ์คํ ์์:
cat ~/.config/opencode/oh-my-opencode.json
2) JSONC๋ก ์ค์ ๊ธฐ๋ก
- ์ค๋ช : ์ฃผ์/ํธ๋ ์ผ๋ง ์ฝค๋ง๋ฅผ ํ์ฉํด ์ค์ ์๋์ ๋ณ๊ฒฝ ์ด์ ๋ฅผ ๋จ๊น๋๋ค.
- ์คํ ์์:
opencode models
3) Provider ์ค์ ์ ๊ฒ
- ์ค๋ช : Google Auth/Ollama(stream:false)/OpenCode Zen/Z.ai ๋ฑ ๊ณต๊ธ์๋ณ ์ฃผ์์ ์ ์ ์ฉํฉ๋๋ค.
- ์คํ ์์:
bunx oh-my-opencode doctor --category authentication
4) Agent/Category ํ๋
- ์ค๋ช : ๋น์ฉ๊ณผ ํ์ง ๊ท ํ์ ์ํด agent/category ๋ชจ๋ธ์ ๋ถ๋ฆฌ ์ค์ ํฉ๋๋ค.
- ์คํ ์์:
bunx oh-my-opencode doctor --verbose
5) Skills/Browser/Tmux/Hooks ํ์ฅ
- ์ค๋ช : ์คํฌ ๋ก๋, ๋ธ๋ผ์ฐ์ ์์ง, tmux, ํ ์๋ํ๋ฅผ ๋จ๊ณ์ ์ผ๋ก ์ผญ๋๋ค.
- ์คํ ์์:
bunx oh-my-opencode doctor --verbose
6) ๋ณ๊ฒฝ ํ doctor ๊ฒ์ฆ
- ์ค๋ช : ์ค์ ๋ณ๊ฒฝ๋ง๋ค doctor๋ก ์ํฅ ๋ฒ์๋ฅผ ํ์ธํฉ๋๋ค.
- ์คํ ์์:
bunx oh-my-opencode doctor --verbose
๋ถ๋ก) ์๋ฌธ ์ฝ๋ ์ค๋ํซ (๊ฒ์์ฉ, ์ด๋ณด์๋ ๊ฑด๋๋ฐ๊ธฐ)
bunx oh-my-opencode install{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
// Override specific agent models
"agents": {
"oracle": { "model": "openai/gpt-5.2" }, // Use GPT for debugging
"librarian": { "model": "zai-coding-plan/glm-4.7" }, // Cheap model for research
"explore": { "model": "opencode/gpt-5-nano" } // Free model for grep
},
// Override category models (used by task)
"categories": {
"quick": { "model": "opencode/gpt-5-nano" }, // Fast/cheap for trivial tasks
"visual-engineering": { "model": "google/gemini-3-pro" } // Gemini for UI
}
}{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json"
}{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
/* Agent overrides - customize models for specific tasks */
"agents": {
"oracle": {
"model": "openai/gpt-5.2" // GPT for strategic reasoning
},
"explore": {
"model": "opencode/gpt-5-nano" // Free & fast for exploration
},
},
}{
"agents": {
"explore": {
"model": "ollama/qwen3-coder",
"stream": false
}
}
} curl -s http://localhost:11434/api/chat \
-d '{"model": "qwen3-coder", "messages": [{"role": "user", "content": "Hello"}], "stream": false}'{
"agents": {
"explore": {
"model": "anthropic/claude-haiku-4-5",
"temperature": 0.5
},
"multimodal-looker": {
"disable": true
}
}
}{
"agents": {
"oracle": {
"thinking": {
"type": "enabled",
"budgetTokens": 200000
}
}
}
}๋ง๋ฌด๋ฆฌ ์ฒดํฌ
- ์ โ๋น ๋ฅด๊ฒ ์คํโ ๋ช ๋ น์ ์ต์ 1๊ฐ ์คํํ๋ค.
- ์คํจ ์ โ์๋ฌธ ์คํ ์ฝ๋ ํ์ฅโ์ ๊ด๋ จ ์ฝ๋๋ฅผ ์ฌ์ฉํด ์ฌ๊ฒ์ฆํ๋ค.
- ์๋ณธ ํญ๋ชฉ ๋์กฐ ์ธ๋ฑ์ค์์ ๋น ์ง ๊ธฐ๋ฅ์ด ์๋์ง ํ์ธํ๋ค.
์ถ์ฒ
- ์๋ฌธ(๋ก์ปฌ):
oh-my-opencode/docs/configurations.md - ์๋ฌธ(GitHub): https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/configurations.md