Oh-My-OpenCode์ ๊ธฐ๋ฅ์ ์์ด์ ํธยท์คํฌยท์ปค๋งจ๋ยทํ ยท๋๊ตฌยทMCP ๊ด์ ์ผ๋ก ์ดํดํ๊ณ ๋ฐ๋ก ์ฐ๋ ๋ฌธ์์ ๋๋ค.
๋น ๋ฅด๊ฒ ์คํ (๋ณต๋ถ)
task(subagent_type="explore", load_skills=[], prompt="Find auth implementations", run_in_background=true)
background_output(task_id="bg_abc123")
/start-work
/refactor <target>flowchart LR A[Agents] --> B[Skills] B --> C[Commands] C --> D[Hooks] D --> E[์๋ํ]
๋จ๊ณ๋ณ ์ ์ฉ
1) ์์ด์ ํธ ์ญํ ๋ถํฐ ๊ตฌ๋ถ
- ์ค๋ช : Sisyphus(๊ธฐ๋ณธ), Hephaestus(๋ฅ์ํฌ), oracle/librarian/explore ๋ฑ ์ญํ ์ ๋จผ์ ๋๋ ์ดํดํฉ๋๋ค.
- ์คํ ์์:
task(subagent_type="explore", load_skills=[], prompt="Find auth implementations", run_in_background=true)
2) ์คํฌ ํธ๋ฆฌ๊ฑฐ ์ตํ๊ธฐ
- ์ค๋ช : playwright, frontend-ui-ux, git-master์ฒ๋ผ ํธ๋ฆฌ๊ฑฐ ๊ธฐ๋ฐ ์คํฌ์ ์ํฉ๋ณ๋ก ์ฌ์ฉํฉ๋๋ค.
- ์คํ ์์:
background_output(task_id="bg_abc123")
3) ์ปค๋งจ๋ ์๋ํ ํ์ฉ
- ์ค๋ช : /init-deep, /start-work, /refactor ๋ฑ ๋ฐ๋ณต๋๋ ์ํฌํ๋ก์ฐ๋ฅผ ์ปค๋งจ๋๋ก ํ์คํํฉ๋๋ค.
- ์คํ ์์:
/start-work
4) ๋ฐฑ๊ทธ๋ผ์ด๋ ๋ณ๋ ฌ ์คํ
- ์ค๋ช : task(โฆ run_in_background=true)๋ก ์ฌ๋ฌ ์์ ์ ๋์์ ๋๋ฆฌ๊ณ background_output์ผ๋ก ํ์ํฉ๋๋ค.
- ์คํ ์์:
/refactor <target>
5) ํ ๊ณผ ์ปจํ ์คํธ ์ฃผ์ ์ดํด
- ์ค๋ช : Pre/PostToolUse, UserPromptSubmit ํ ์ผ๋ก ํ์ง/์์ ์๋ํ๋ฅผ ๊ฑธ์ด๋ก๋๋ค.
- ์คํ ์์:
/refactor <target>
๋ถ๋ก) ์๋ฌธ ์ฝ๋ ์ค๋ํซ (๊ฒ์์ฉ, ์ด๋ณด์๋ ๊ฑด๋๋ฐ๊ธฐ)
# Launch in background
task(subagent_type="explore", load_skills=[], prompt="Find auth implementations", run_in_background=true)
# Continue working...
# System notifies on completion
# Retrieve results when needed
background_output(task_id="bg_abc123"){
"tmux": {
"enabled": true,
"layout": "main-vertical"
}
}๋ง๋ฌด๋ฆฌ ์ฒดํฌ
- ์ โ๋น ๋ฅด๊ฒ ์คํโ ๋ช ๋ น์ ์ต์ 1๊ฐ ์คํํ๋ค.
- ์คํจ ์ โ์๋ฌธ ์คํ ์ฝ๋ ํ์ฅโ์ ๊ด๋ จ ์ฝ๋๋ฅผ ์ฌ์ฉํด ์ฌ๊ฒ์ฆํ๋ค.
- ์๋ณธ ํญ๋ชฉ ๋์กฐ ์ธ๋ฑ์ค์์ ๋น ์ง ๊ธฐ๋ฅ์ด ์๋์ง ํ์ธํ๋ค.
์ถ์ฒ
- ์๋ฌธ(๋ก์ปฌ):
oh-my-opencode/docs/features.md - ์๋ฌธ(GitHub): https://github.com/code-yeongyu/oh-my-opencode/blob/dev/docs/features.md