subagent-dag-orchestration

subagent-dag-orchestration is a skill for Claude Code, Codex from EverMind-AI/Raven. It costs 240 tokens per session (6,737 once invoked), scanned A, original, Apache-2.0.

A way to split a large task into a directed graph of separate jobs for specialist sub-agents. A directed graph records which jobs depend on others, so independent jobs can run at the same time and later jobs can receive earlier results.

In plain words
What is it for?
Use it to plan multi-step work across several configured agents, schedule independent tasks concurrently, pass results between dependent tasks, and respect the shared limit on active sub-agents.
Why use it?
It prevents unrelated work from being run in an arbitrary order and makes handoffs and concurrency explicit. It also limits the process to work that an available sub-agent can actually perform.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to plan multi-step work across several configured agents, schedule independent tasks concurrently, pass results between dependent tasks, and respect the shared limit on active sub-agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evermind-ai/raven/subagent-dag-orchestration
About the project

Raven is an open-source agent harness for running long-term AI work with terminal execution, tracing, memory, skills, evaluation, and reusable workflows. People use the current release to operate and improve persistent AI workflows, while its described future direction is a multi-agent system that combines specialized harnesses.

EverMind-AI/Raven · 3,825 stars · on GitHub · raven.evermind.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EverMind-AI/Raven --skill subagent-dag-orchestration
Clone the repo
git clone --depth 1 https://github.com/EverMind-AI/Raven

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for subagent-dag-orchestration

README.md
[![agentmods](https://agentmods.dev/badge/skills/evermind-ai/raven/subagent-dag-orchestration/github.svg)](https://agentmods.dev/skills/evermind-ai/raven/subagent-dag-orchestration)
Your own site
<a href="https://agentmods.dev/skills/evermind-ai/raven/subagent-dag-orchestration"><img src="https://agentmods.dev/badge/skills/evermind-ai/raven/subagent-dag-orchestration/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for subagent-dag-orchestration

Your own site · 80×15
<a href="https://agentmods.dev/skills/evermind-ai/raven/subagent-dag-orchestration"><img src="https://agentmods.dev/badge/skills/evermind-ai/raven/subagent-dag-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 240 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,737 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00240 $0.06737
Opus 5 $0.00120 $0.03368
Sonnet 5 $0.00048 $0.01347
Haiku 4.5 $0.00024 $0.00674

Measured today against content hash b9b6c3bfaa4b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

subagent-dag-orchestration scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

raven/memory_engine/skills/subagent-dag-orchestration/SKILL.md · 472 lines

How it starts

The opening of the file, as written. The whole thing — 472 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sub-Agent DAG Orchestration

When to use

The trigger is a task that breaks into several distinct steps — not a task you have already decided needs sub-agents.

First, the hard bound. A DAG node dispatches only to a configured third-party sub-agent; it cannot call your own tools. So steps that are just your own tool calls — reading files, small edits, running commands — are not a DAG for being many or independent: do those yourself. The bound is about who can carry the work, not what kind of work it is: when the roster carries a specialist for it (a coding agent for code changes, an on-call agent for long runs) and the owner's request assigns the work that way, it clears the bound like any other. Only work a sub-agent on the roster could carry out gets as far as the tests below.

For work that clears that bound, test three things before running the steps 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_subagentsspawn draws 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 spawn can hand its result on too — it takes a node_id and 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 tool's own description lists the roster and what each one is for.

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.

Read the full file on GitHub · 472 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 472 lines · 0 tokens per session scan A b9b6c3bfaa4b

Subscribe to this mod's changes

subagent-dag-orchestration is a skill published in the GitHub repository EverMind-AI/Raven (3,825 stars, last pushed today), licensed Apache-2.0. It adds 240 tokens to every session and 6,737 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.