/dag:chartfrom DAG Engineering
Internal planning move reached through dag:plan — turn a grilled or specced plan into a DAG of GitHub issues with native blocking edges. Do not invoke directly outside the planning router.
Ships in DAG Engineering. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Take a plan that is already grilled or specced and lay it down as a chart: a map parent issue on
GitHub indexing child node issues, joined by the tracker's native blocking so the frontier
renders visually. The suite then walks it from /dag:preflight onward. Terms are defined once in
../../GLOSSARY.md; this skill uses them without redefining.
How to respond — the closing message, and any question put to the user — is in
../../RESPONSE-RULES.md.
The plan arrives from /dag:grill, /dag:grill-deep, or a spec/PRD the user points at. GitHub is the
tracker (issues + sub-issues + native blocking); run /dag:setup if it hasn't been configured.
Default posture: decompose, don't rediscover. The grilling already burned off the fog — your job is to
decompose a known plan into buildable nodes and wire their edges, not to rediscover the route. If the
destination or system boundary is still uncertain, return to dag:plan; that is Wayfinding, not chart
fog. Use local fog-of-war only when the destination is known but parts of the route cannot yet be sliced.
Every map and node is an issue with a title. In everything the human reads — narration, the map's
index — name it by that title, never a bare #42. A wall of numbers is illegible; the id rides inside
the name's link, never stands in for it.
dag:map, the canonical artifact. An index, not a store: it lists
each node once and links to it; detail lives in the node, never restated on the map.The map body and node body templates, and the create-then-wire GitHub mechanics, live in
node-template.md — read it before step 4.
Wide refactors are the exception. A mechanical change whose blast radius fans across the codebase — rename a shared symbol, retype a column — can't land green as one vertical slice. Sequence it expand → migrate-in-batches → contract: expand adds the new form beside the old (nothing breaks); each migrate batch (per package/dir) is its own node blocked by expand, CI green throughout because the old form survives; contract deletes the old form, blocked by every batch. If batches can't stay green alone, share an integration branch that all block a final integrate-and-verify node — green promised only there.
Classify every node's readiness while charting, then wire its de-fog move as a blocking node so the unknown is settled before the build reaches the frontier:
/dag:grill) that blocks the build
node./dag:research) that blocks the
build node; assign its research teammate in step 5./dag:prototype) that blocks the build node until it resolves. This is how the not-knowable gets
de-risked cheaply before the real build commits.A de-fog node is a real child issue with its own blocking edge into the build node — so the frontier never surfaces a build node whose premise is still unsettled.
The dag:needs-* label goes on the de-fog node, not the build node. The de-fog node is the one
sitting on the frontier with work to do; the build node is blocked and invisible to the router by
definition. A label on a blocked node is a label nothing ever reads. The label says what kind of
de-fogging this node is, so /dag:plan can route it without opening it.
Work from the grilling/spec already in context. If the user passed a reference (spec path, issue URL), fetch its full body and comments. Explore the codebase enough to name nodes in the project's glossary vocabulary and spot prefactoring opportunities.
Done when: you can state the destination, its scope edge, and every buildable region in one pass.
Decompose the plan into tracer-bullet nodes per the rules above, prefactoring first, wide refactors sequenced as expand/contract. For each node name its build-order blocking edges — the nodes that must merge before it can start.
Done when: every buildable slice of the plan is a named node with its build edges listed, and no node is a horizontal single-layer slice.
Give every build node one readiness verdict. For each non-clear node, add its de-fog node (grilling / research / spike) and record that it blocks the build node.
The verdict routes the work later, so it lands as a label on the de-fog node — dag:needs-grilling,
dag:needs-research, or dag:needs-prototype. A clear node has no de-fog node and no label at all.
Apply it when the de-fog issue is created (step 4). /dag:plan routes off these labels and reads nothing
else, and it only ever sees the frontier — so a label on the blocked build node is a label no router
will ever read.
Several nodes waiting on the same unknown is one de-fog node, not several. Before wiring them, check whether the readiness verdicts share a root — see looking for the nest in the glossary. Three nodes each marked needs-grilling for what is really one decision should be one grilling node blocking all three: that settles it once, and it is the difference between one round with the user and three.
Done when: every build node carries a readiness verdict in its body; every non-clear one has a de-fog
node blocking it; every de-fog node carries the dag:needs-* label matching what it is for; and no two
de-fog nodes ask the same question — no build node left resting on an unsettled premise, and no label
stranded on a blocked node.
Proof is decided here, at issue-creation, not by whoever builds the node later. An implementing agent that invents its own bar picks the bar it can clear — so the bar is written down before the code exists.
First settle the proof profile for this expedition and put it on the map: which tiers genuinely exist in this repo and the command or query that reaches each. Take it from the repo (its test command, how it runs its code and how a run is watched, where durable records live, whether errors and events are collected somewhere queryable) and confirm it with the user. Tiers this repo doesn't have are recorded as absent — but "we don't deploy anywhere" is not one of them: if the repo can run its code, it has tier 3.
Say which of the profile's commands this repo's CI actually gates. A tier command CI does not run is unverified by default, permanently and silently, and it will rot between the day it is charted and the day the DAG is signed — which puts every node naming it at risk at once, since a profile is shared by the whole chart. Either get it gated, or record it as ungated so pre-flight knows to baseline it with suspicion rather than habit.
Then, per node: name its surface — that fixes the evidence form — and fill its proof table from the profile, plus the nonce the run will carry. Every node has a surface and so has an evidence form: a backend node proves itself with a durable delta and exact ids, a CLI node with its captured output, a UI node with screenshots and a video.
When a node's proof can't be defined, do not chart it as buildable. That is a de-fog signal, exactly like readiness — route it: a decision about what would even count as proof → needs-grilling; nobody knows yet whether the thing can be observed at all → needs-prototype, and the spike's goal is to find out. A node whose proof stays undefinable is reshaped until it is provable, or it doesn't get built.
Write the run profile onto the map too — concurrency, models, autonomy — and the Skills line: what a teammate consults while building, and which review its PR gets. The suite delegates who does the work and owns only what they are told, so a skill left unnamed here is a teammate guessing. Defaults are fine; stating them is what keeps a fresh context window running the DAG the same way.
Done when: the map carries the proof profile and the run profile, every build node's issue body carries a proof table whose tiers are drawn from that profile plus a nonce, and every node whose proof could not be defined has a de-fog node blocking it instead of a proof table.
Create the map, then every node as a child issue — first pass creates, second pass wires the blocking
edges (issues need ids before they can reference each other). Follow the mechanics in
node-template.md.
Done when: the map indexes every node, and every build and de-fog edge exists as a native blocking link — the frontier renders correctly in GitHub's UI.
Research nodes resolve by teammate, one each, posting findings as a comment on their own issue — that
comment is what /dag:plan reads to close the node and unblock what it was blocking. Claude Code uses
Agent Teams; Codex uses native child agents. There is no subagent fallback. A finding that lands only in a
file is one the router cannot see.
Say what you are about to dispatch and how many, then dispatch. The planning orchestrator alone
assigns each node; research teammates never self-claim another node or delegate further. Spawning agents
is something a repo or a session may have its own standing rules about, and a chart with eight research
nodes is eight agents. Where such a rule says agents are not spawned unprompted, that rule wins: name
the research nodes, say they are ready to fire, and let the user trigger them. Handing the chart on with
its research unstarted is fine — /dag:plan routes each unanswered research node to /dag:research when
it comes up.
Fire each research node once. A node that already has its answer is one /dag:plan closes, not one it
re-fires; re-firing an answered node is how a chart loops forever.
Then hand the chart back to /dag:plan, which reads what returned, closes each answered node, and runs
the next move — pre-flight included, when the chart is complete.
Done when: every research node is either running or named as ready-to-fire with the reason it wasn't,
and the chart is handed to /dag:plan.
When an expedition is huge and the route is still foggy — whole regions toward its known destination cannot yet be sliced into nodes — do not force premature nodes. Chart what is specifiable and put the rest under Not yet specified on the map. As upstream de-fog nodes resolve, graduate each patch that becomes specifiable into fresh nodes. Every entry names the open de-fog issue expected to unlock it; an entry with no next decision is a dead end, not fog. A map cannot pass pre-flight until each entry is graduated or moved to Out of scope. If the destination itself becomes uncertain, return to Wayfinding instead.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub aaronabuusama/dag-engineering --plugin dag13 skills in this plugin
/diagnoseFind the one design gap behind a cluster of review findings and return a consolidating fix or a pre-validated escalation. Use when a bug-class recurs, or when a fix needs a new mechanism rather than a tightened check./executeThe execution door — walks a pre-flight-signed DAG or required Atlas portfolio, dispatching each node behind the merge gate, climbing the escalation ladder on findings, and driving every node to done-clean, wave by wave./feedbackCapture a DAG Engineering workflow failure, wrong route, lost state, or contradicted contract with reproducible evidence and return it to the dag-plugin source repository. Use when the user asks to record feedback or an observed DAG failure should become an actionable upstream report.