dag-fleet

Orchestrate AI worker tasks in a DAG with budget caps and tmux panes.

1|Updated Apr 16, 2026
One-click install
npx skills add https://github.com/quickcall-dev/skills --skill dag-fleet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dag-fleet
Source: https://github.com/quickcall-dev/skills/tree/main/skills/dag-fleet
Command: npx skills add https://github.com/quickcall-dev/skills --skill dag-fleet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, jq, tmux, flock, jq, python3, claude, codex, pi, git, jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the complexity of coordinating multiple long-running AI worker tasks that must run in dependency order while staying within per-worker and fleet-wide budgets.

Core Features & Use Cases

  • DAG-ordered parallelism: Launches workers in layers so each task starts only after its depends_on workers complete.
  • Budget enforcement: Applies per-worker hard caps (max_budget_usd) and optional fleet total cap (max_budget_fleet) to control spending.
  • Tmux-based persistence and visibility: Runs each worker in its own tmux window for attach-and-monitor workflows across sessions.
  • Multi-provider support: Supports Claude (claude -p), Codex (codex exec), and Pi (pi -p) with provider-specific settings and tool restrictions.

Quick Start

Use the dag-fleet skill to launch a fleet by creating a fleet.json with your workers and dependencies, then run: npx skills add quickcall-dev/skills --skill dag-fleet

Frequently Asked Questions about dag-fleet

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

FAQPage Schema
How do I orchestrate parallel AI agents with dependency ordering in tmux?

Orchestrating parallel AI agents with dependency ordering in tmux is done by defining a DAG in fleet.json. The system applies a topological sort to launch workers in layers, ensuring each task starts only after its depends_on workers complete successfully.

Can I enforce per-worker budget caps for Claude and Codex CLI tasks?

Yes, you can enforce per-worker budget caps for Claude and Codex CLI tasks. The system applies hard max_budget_usd limits per worker and an optional max_budget_fleet cap for the total fleet, preventing runaway spending across multi-provider execution.

What is the best way to manage persistent tmux panes for long-running AI worker tasks?

Managing persistent tmux panes for long-running AI worker tasks is handled by running each worker in its own tmux window. This provides persistent visibility and manual control, allowing operators to attach, monitor, and inspect ongoing sessions across disconnects.

Does dag-fleet support multi-provider workflows with Claude, Codex, and Pi?

Yes, it supports multi-provider workflows with Claude, Codex, and Pi. The system executes tasks using provider-specific commands like claude -p, codex exec, and pi -p, applying individual provider settings and tool restrictions per worker.

How do I relaunch a failed worker in a DAG without restarting the entire fleet?

To relaunch a failed worker in a DAG without restarting the entire fleet, use the operator-managed lifecycle scripts. The relaunch-worker script targets individual failed tasks while preserving the state of completed dependencies in the tmux session.

Why do I need to specify absolute output paths in prompt files for AI worker tasks?

Specifying absolute output paths in prompt files for AI worker tasks is required for reliable dependency resolution. Downstream workers in the DAG topo-sort layer read these absolute paths to locate upstream results, preventing broken dependencies during parallel execution.