subagent-dag-orchestration
하는 일
이 스킬은 큰 작업을 AI 에이전트 팀을 위해 구성하는 방법을 보여 줍니다. 어떤 단계가 함께 실행될 수 있고 어떤 단계가 기다려야 하는지 정합니다. 여러 부분으로 이루어진 복잡한 작업을 AI 호스트에 맡기는 사람을 위한 것입니다.
사용하는 경우
- ✓위임된 작업이 에이전트들이 수행할 수 있는 여러 작업으로 나뉠 때.
- ✓일부 단계는 동시에 실행할 수 있고, 다른 단계는 앞선 결과에 의존할 때.
- ✓한 단계의 출력이 다른 단계에 필요하며, 전달이 올바르게 설정되어야 할 때.
스킬 링크
https://github.com/EverMind-AI/Raven/blob/main/raven/memory_engine/skills/subagent-dag-orchestration/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 조사 작업을 제 에이전트들을 위한 병렬 작업으로 나누고, 각 결과를 작성 단계에 넘겨 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 작업들을 그래프로 묶고, 독립적인 단계는 공유된 한도 안에서 함께 실행하며, 각 단계의 출력을 다음 단계가 읽을 파일에 저장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Sub-Agent DAG Orchestration
When to use
The trigger is delegated work that breaks into several tasks.
The host's role decides what to delegate; this guide decides how to group the work.
A DAG node dispatches to an agent on the roster, including Raven-General; it cannot
call the host's tools. Choose from that tool's subagent parameter enum: agent names
on ordinary turns, worker labels when a Worker Table is bound. A worker label selects
the underlying agent together with that worker's brief. The roster describes the
underlying agents' capabilities; its names are not dispatch values on a worker turn.
The host's own coordination calls, such as reading a brief or
checking task status, are not delegated tasks and do not need a graph just because
there are several of them.
For the delegated tasks, test three things before dispatching them one at a time:
- Independence — can two or more steps run at the same time? Independent nodes are
scheduled concurrently, up to the shared sub-agent cap
(
max_concurrent_subagents—spawndraws on the same allowance). - Handoff — does a step hand its result to the next one? A node's output is written
to a file the downstream node reads, and the graph wires that handoff itself. A
spawncan hand its result on too — it takes anode_idand a later task names it the same way a node does — but only across a turn of yours; a graph needs none. - Specialism — do the steps want different sub-agents? The roster at the end of
the tool list says what each agent is for. When a Worker Table is bound, the
subagentparameter also describes each worker's brief; choose a label that fits.
If any of the three holds, express the whole task as one run_subagent_dag call
rather than dispatching sub-agents one at a time. Persistence is not one of the reasons:
every node's prompt and output is written to disk, and so is every spawn's.
Iteration is graphs in series, not a cycle in one graph. A graph is acyclic and
runs once. When the work loops — code changes feeding experiment rounds feeding the
next code change — dispatch one graph per round and drive the loop yourself: each
graph's outputs come back to you, and the next round's nodes reuse the same
instance handles, so each side keeps its context across rounds.
If none of the three holds, dispatch the work to one agent: use spawn if it is offered,
or a one-node graph if run_subagent_dag is the only dispatch path. The host's role still
governs the work; choosing one agent instead of a graph does not change that role.
Every install can run a graph: raven's own agents are on the roster whether or not any
third-party agent is configured, so run_subagent_dag is always available. Which agents
exist is still the roster's answer, not this file's — read it at the end of the tool list.
Use the current parameter enum to choose which names or worker labels you can pass.
Write the brief as the owner gave it
A node sees only its prompt. Whatever the owner asked for, and whatever the owner allowed the node to change, reaches the node only if the prompt carries it -- and the prompt is where a whole run's search space gets narrowed without anyone deciding to narrow it. Three rules, each from a measured loss on 2026-09-08, where a two-round search left the one knob worth most of the result untouched:
- The owner's words and scope go in as written; your steer is marked as yours. Quote the owner's request in every node's brief, not only the first round's. Your own reading of where the gains are is welcome as a suggestion, and it stays a suggestion: "gains can only come from ..." is a boundary the owner never drew. That day the owner allowed "training configuration, data mix, architecture, algorithm"; the round-one brief added "the hyperparameters are exhausted, so gains can only come from three classes outside the falsified list", and the round-two brief to the experiment runner opened with "you change no case". The runner changed nothing in 26 scored runs. One plain training setting, the kind the runner owned, was worth most of the gap to the best known result. It was never tried.
- A list of tried things stays a list; it does not become a category. When a handover names settings already swept, pass the list itself and ask the node to check what is not on it before it picks directions. Eighteen named hyperparameter groups became "the hyperparameters are exhausted"; the
자주 묻는 질문
모든 작업이 한꺼번에 실행되나요?
아니요. 독립적인 단계만 함께 실행되며, 동시에 실행되는 하위 에이전트 수의 공유 한도 안에서만 가능합니다.
결과는 단계 사이에서 어떻게 넘어가나요?
각 단계가 출력을 파일에 쓰고, 다음 단계가 그 파일을 읽습니다.
하위 에이전트가 호스트의 도구를 쓸 수 있나요?
아니요. 각 단계는 팀의 에이전트에서 실행되며, 호스트 자체의 도구를 호출할 수 없습니다.
상세 정보
작성자의 원본 설명
Use when delegated work breaks into several tasks that agents on the roster can carry out. The host's role decides what to delegate; this skill decides how to group that work. A DAG node dispatches to a roster agent, including the generic agent, and cannot call the host's tools. Choose from the tool's `subagent` parameter enum -- agent names on ordinary turns, worker labels when a Worker Table is bound. The roster describes underlying capabilities. Reading a brief or checking task status is host coordination, not a reason to create graph nodes. Before dispatching tasks one at a time, test thre
repo: EverMind-AI/Raven
인기도
- GitHub 스타
- 6.0k
- 순위
- #14476
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
deck-to-pptx
6.0k에이전트가 python-pptx로 아이콘, 차트, 수식을 갖춘 실제 PowerPoint .pptx 파일을 만들도록 가르칩니다.
image-gen
6.0k에이전트가 OpenRouter의 Google Nano Banana 이미지 모델로 텍스트 설명에서 그림을 그리거나 생성하도록 합니다.
ppt-script-authoring
6.0k에이전트가 명확한 이야기를 가진 슬라이드 덱을 설계하고, 자체 레이아웃을 갖춘 python-pptx 프로그램으로 만들도록 가르칩니다.
multi-agent-coding
6.0k에이전트가 코딩 작업을 적합한 코딩 에이전트에 넘기고, 작업마다 새로 시작해 결과를 파일로 전달하도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.