dag-planner

Plan and optimize DAG execution graphs for multi-step tasks.

2|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/curiositech/port-daddy --skill dag-planner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dag-planner
Source: https://github.com/curiositech/port-daddy/tree/main/skills/dag-planner
Command: npx skills add https://github.com/curiositech/port-daddy --skill dag-planner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Plans and optimizes DAG execution graphs for multi-step tasks, enabling reliable orchestration and scalable scheduling.

Core Features & Use Cases

  • Build DAGs from task graphs with node and dependency definitions.
  • Validate graphs for cycles, conflicts, and execution feasibility.
  • Dynamically modify DAGs at runtime to adapt to new requirements or failures.
  • Schedule waves of parallel tasks to maximize throughput and minimize latency.

Quick Start

Design a three-step DAG with two parallel branches and a final merge.

Frequently Asked Questions about dag-planner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule parallel tasks in a DAG to maximize throughput?

Scheduling parallel tasks in a DAG requires grouping independent nodes into execution waves. This approach maximizes throughput and minimizes latency by running concurrent steps while respecting topological sorting and dependency management constraints.

What is topological sorting used for in workflow orchestration?

Topological sorting in workflow orchestration orders multi-step tasks by resolving dependency graphs. It determines the linear execution sequence needed for data pipelines and AI workflows, ensuring dependent steps execute only after prerequisite nodes finish.

How do I detect cycles and validate dependencies in a task graph?

Detecting cycles and validating dependencies involves checking the task graph for execution feasibility before scheduling. The process enforces dependency management by identifying circular references and conflicts, preventing deadlocks in multi-step automation orchestration.

Can I dynamically modify a DAG at runtime to handle task failures?

Dynamically modifying a DAG at runtime allows you to adapt execution graphs to new requirements or failures. You can adjust node and dependency definitions during workflow orchestration without restarting the entire multi-step pipeline.

When do I need a DAG planner for my data pipelines?

You need a DAG planner for data pipelines when your workflow contains multi-step tasks with complex dependency graphs. It is essential for reliable orchestration and scalable scheduling of parallel branches and dependent execution steps.

What's the best way to build a DAG with parallel branches and a final merge step?

Building a DAG with parallel branches requires defining task graph nodes and their dependencies. You configure independent paths to run concurrently, then merge them into a final dependent node to complete the multi-step workflow orchestration.