From 9ec20d4cb211436f6afb23b128bd5fe2095278df Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Thu, 11 Dec 2025 15:02:49 +0900 Subject: [PATCH] docs(readme): document subagent orchestration with omo_task tool MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add comprehensive documentation about omo_task tool feature in both English and Korean READMEs. - Document omo_task tool purpose: spawn explore/librarian as subagents - Explain use case: agents can delegate specialized tasks to subagents - Note recursion prevention: explore and librarian cannot use omo_task directly - Add to Agents section under Tools for discoverability πŸ€– GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode) --- README.ko.md | 6 ++++++ README.md | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/README.ko.md b/README.ko.md index 25ff496..f543e6f 100644 --- a/README.ko.md +++ b/README.ko.md @@ -204,6 +204,12 @@ OpenCode λŠ” μ•„μ£Ό ν™•μž₯κ°€λŠ₯ν•˜κ³  μ•„μ£Ό μ»€μŠ€ν„°λ§ˆμ΄μ €λΈ”ν•©λ‹ˆλ‹€. μ—μ΄μ „νŠΈμ˜ λͺ¨λΈ, ν”„λ‘¬ν”„νŠΈ, κΆŒν•œμ€ `oh-my-opencode.json`μ—μ„œ μ»€μŠ€ν…€ν•  수 μžˆμŠ΅λ‹ˆλ‹€. μžμ„Έν•œ λ‚΄μš©μ€ [μ„€μ •](#μ„€μ •)을 μ°Έκ³ ν•˜μ„Έμš”. +#### μ„œλΈŒ μ—μ΄μ „νŠΈ μ˜€μΌ€μŠ€νŠΈλ ˆμ΄μ…˜ (omo_task) + +`omo_task` 도ꡬλ₯Ό μ‚¬μš©ν•˜λ©΄ μ—μ΄μ „νŠΈ(`oracle`, `frontend-ui-ux-engineer` λ“±)κ°€ `explore`λ‚˜ `librarian`을 μ„œλΈŒ μ—μ΄μ „νŠΈλ‘œ ν˜ΈμΆœν•˜μ—¬ νŠΉμ • μž‘μ—…μ„ μœ„μž„ν•  수 μžˆμŠ΅λ‹ˆλ‹€. 이λ₯Ό 톡해 μ—μ΄μ „νŠΈκ°€ μž‘μ—…μ„ μ§„ν–‰ν•˜κΈ° 전에 μ „λ¬Έν™”λœ λ‹€λ₯Έ μ—μ΄μ „νŠΈμ—κ²Œ 정보λ₯Ό μš”μ²­ν•˜λŠ” κ°•λ ₯ν•œ μ›Œν¬ν”Œλ‘œμš°κ°€ κ°€λŠ₯ν•©λ‹ˆλ‹€. + +> **μ°Έκ³ **: λ¬΄ν•œ μž¬κ·€λ₯Ό λ°©μ§€ν•˜κΈ° μœ„ν•΄ `explore`와 `librarian` μ—μ΄μ „νŠΈλŠ” `omo_task` 도ꡬλ₯Ό 직접 μ‚¬μš©ν•  수 μ—†μŠ΅λ‹ˆλ‹€. + ### Tools #### λ‚΄μž₯ LSP Tools diff --git a/README.md b/README.md index 097d8df..3768bb3 100644 --- a/README.md +++ b/README.md @@ -200,6 +200,12 @@ Each agent is automatically invoked by the main agent, but you can also explicit Agent models, prompts, and permissions can be customized via `oh-my-opencode.json`. See [Configuration](#configuration) for details. +#### Subagent Orchestration (omo_task) + +The `omo_task` tool allows agents (like `oracle`, `frontend-ui-ux-engineer`) to spawn `explore` or `librarian` as subagents to delegate specific tasks. This enables powerful workflows where an agent can "ask" another specialized agent to gather information before proceeding. + +> **Note**: To prevent infinite recursion, `explore` and `librarian` agents cannot use the `omo_task` tool themselves. + ### Tools #### Built-in LSP Tools