Skip to content
Agent Orchestration
Skill

/subagent-dag-orchestration

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.

From plugin
raven
6.2k24 skills11 agents

Claude Code

$ npx -y skills add EverMind-AI/Raven --skill subagent-dag-orchestration --agent claude-code

SKILL.md

subagent-dag-orchestration.SKILL.md
name: subagent-dag-orchestration
description: 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. Checking a run's status is host coordination, not a reason to create graph nodes. Before dispatching tasks one at a time, test three things: are two or more tasks independent (they can run at once), does a task hand its result to the next (a graph wires that handoff with no turn of yours in between), do the tasks want different specialists (the roster closes the tool list). If any of the three holds, orchestrate the whole task as one run_subagent_dag call. A step whose result decides what runs next is a decision node: give it routes, and guard what follows with when, all in one graph. Iteration is graphs in series, one graph per round, driven by you.
metadata: {"raven":{"emoji":"🕸️","always":true,"inject":"description","requires":{"tools":["run_subagent_dag"]}}}

Subagent DAG Orchestration

When to use

The three tests in this skill's description decide it: tasks that can run at once, a task that hands its result to the next, or tasks that want different specialists. Persistence is not a reason -- every node's and every `spawn`'s prompt and output is written to disk either way. When none of the three holds, give the work to one agent: `spawn` if it is offered, otherwise a one-node graph.

Independent nodes run at the same time, up to `max_concurrent_subagents`, a cap `spawn` shares. A graph is acyclic and runs once, so iteration is graphs in series: one graph per round, driven by you, each round reusing the same `instance` handles so every side keeps its context.

Write the brief as the owner gave it

A node sees only its prompt. What the owner asked for, and what the owner allowed the node to change, reaches it only if the prompt carries it -- and the prompt is where a run's search space gets narrowed without anyone deciding to. (Measured: briefs that turned the owner's "training configuration, data mix, architecture, algorithm" into "gains can only come from three classes" left untried the one training setting worth most of the gap to the best known result.)

  • **Quote the owner's request, as written, in every node's prompt** -- every round, not

only the first. Your own steer is welcome, marked as a suggestion: "gains can only come from ..." is a boundary the owner never drew.

  • **A list of tried things stays a list; it does not become a category.** Pass the list

itself, and ask the node to check what is *not* on it before it picks directions.

  • **Each role's brief states the whole of its role, every round,** not this round's

chores. A duty left out of the brief is a duty the node takes to be someone else's.

A complete call

The owner asked: "Recommend a web framework for the new service, from benchmarks and recent papers on async runtimes." Two researchers run at once; a writer waits for both and reads their outputs by path. `Raven-General` stands in for whatever the `subagent` enum offers.

{
  "task_summary": "Recommend a web framework",
  "nodes": [
    {"id": "benchmark_findings", "subagent": "Raven-General", "node_summary": "Research framework benchmarks",
     "prompt_template": "Owner's request, as written: \"Recommend a web framework for the new service, from benchmarks and recent papers on async runtimes.\"\nYour part: research recent web-framework benchmarks and report your findings."},
    {"id": "runtime_paper_summary", "subagent": "Raven-General", "node_summary": "Summarize async runtime papers",
     "prompt_template": "Owner's request, as written: \"Recommend a web framework for the new service, from benchmarks and recent papers on async runtimes.\"\nYour part: summarize the latest papers on async runtimes."},
    {"id": "framework_recommendation", "subagent": "Raven-General", "node_summary": "Write the recommendation",
     "depends_on": ["benchmark_findings", "runtime_paper_summary"],
     "prompt_template": "Owner's request, as written: \"Recommend a web framework for the new service, from benchmarks and recent papers on async runtimes.\"\nYour part: write the recommendation from these two sources.\nBenchmarks: {{ benchmark_findings.output_path }}\nPapers: {{ runtime_paper_summary.output_path }}"}
  ]
}

The two researchers have no dependencies, so they start together; the writer starts when both finish, and as the terminal node its output comes back to you inline.

Input format

The call's top level holds `task_summary` (the graph's title, under ten words: name the goal), `nodes`, and optionally `background` (see `After you submit`) and `confirm` (default `false`; `true` has the user approve the graph before any node runs -- for effects outside this machine, such as publishing, sending or spending). Every other field belongs to a node:

| Node field | Required | Meaning | | --- | --- | --- | | `id` | yes | Unique across the whole conversation, not just this graph; letters, digits, `_`, `-`. Name what the node produces (`pricing_research`, `deck_script_v2`), not `step1`. | | `subagent` | yes | A value of the tool's `subagent` enum: an agent name, or, when a Worker Table is bound, a worker label -- the label itself, not the agent it runs on. | | `node_summary` | yes | The node's title in the run, under ten words. | | `prompt_template` | yes | The node's prompt, with the placeholders below. | | `depends_on` | no | Nodes of this graph that must finish first. | | `inputs` | no | Key to a literal string, `{"file": "<path>"}` or `{"node": "<id>"}` -- exactly one form per key. | | `instance` | no | A session handle; see `Wiring rules`. | | `

Read more
@evermind-ai
Ships withraven

One Surface, All Agents: Raven generates DAGs and orchestrates multiple specialized agents for complex tasks. Raven is the harness of harnesses, built for recursive self-improvement (RSI).

6.2k24 skills11 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6.2k
Star history of EverMind-AI/Raven on GitHub, a chart by star-history.com

Other skills on raven.

deck-to-pptx

deck-to-pptx

Build a PowerPoint .pptx file with python-pptx, on this deployment, without the deck engine. Use when the deliverable is a .pptx…

@evermind-ai@evermind-aiInstall Skill
image-gen

image-gen

Generate images via Nano Banana (Gemini 2.5/3.1 Flash Image) on OpenRouter. Use when the user asks to draw, illustrate, render or…

@evermind-ai@evermind-aiInstall Skill
build-content-websites

build-content-websites

构建以内容实体的发布、发现、阅读、引用、修订与归档为核心的网站;适用于单篇出版物、小型静态站、出版或机构站、文档与知识库、目录与档案、CMS 内容产品及内容迁移;不用于渠道图形、组件系统本体,或以反复操作业务对象为核心的产品界面。

@evermind-ai@evermind-aiInstall Skill
build-games-and-playful-experiences

build-games-and-playfu…

构建、重构、诊断和验证以玩家能动性为核心的二维游戏与趣味体验。用于二维规则/动作/益智游戏、互动玩具、叙事探索、节奏体验、生成体验和本地多人;按子型选择专业运行时与内容工具,分别验证机制、手感、内容、音频、可访问性、平台和玩家价值,且不以工程通过冒充好玩、公平…

@evermind-ai@evermind-aiInstall Skill
build-interactive-explainers

build-interactive-expl…

构建、改造或诊断由可执行模型驱动的交互解释器、计算器与仿真。适用于用户通过参数、状态、步骤或事件理解规律的任务;负责主型分路、reference model、独立 oracle、状态复现、表示忠实、学习任务、专业工具选择及限定…

@evermind-ai@evermind-aiInstall Skill
build-polished-visual-frontends

build-polished-visual-…

构建、重做、诊断或提升最终由浏览器消费的高完成度视觉前端。用于 HTML/CSS/JS/TS、React/Vue/Svelte/Astro、SVG/Canvas/WebGL 或 web-to-print…

@evermind-ai@evermind-aiInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw3d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca1d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip2d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about subagent-dag-orchestration.

Which coding agents can use subagent-dag-orchestration?
subagent-dag-orchestration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.