dag-iteration-detector

Analyzes task outputs to decide whether re-execution is needed and selects a strategy.

10|1|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/curiositech/windags-skills --skill dag-iteration-detector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dag-iteration-detector
Source: https://github.com/curiositech/windags-skills/tree/main/skills/dag-iteration-detector
Command: npx skills add https://github.com/curiositech/windags-skills --skill dag-iteration-detector

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

DAG-based task pipelines often waste time and resources when outputs require rework. The dag-iteration-detector identifies when to re-execute tasks by analyzing quality signals, validation results, confidence scores, and explicit feedback, and it guides the subsequent iteration strategy.

Core Features & Use Cases

  • Detects when re-execution is needed based on validation failures, low confidence, missing requirements, or explicit feedback.
  • Chooses between retry, refinement, expansion, or escalation strategies and manages iteration budgets for safe, bounded execution.
  • Integrates with dag-dynamic-replanner and dag-convergence-monitor to close the feedback loop.

Quick Start

Run the detector on a completed task to receive an explicit iteration decision and recommended strategy.

Frequently Asked Questions about dag-iteration-detector

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

FAQPage Schema
How do I decide when to re-run a task in a DAG pipeline?

To decide when to re-run a task in a DAG pipeline, analyze quality signals, validation results, confidence scores, and explicit feedback to identify if outputs require re-execution, then apply retry, refine, or escalate strategies.

What triggers a task iteration in automated DAG workflows?

Task iteration in DAG workflows is triggered by validation failures, low confidence scores, missing requirements, or explicit feedback, which signal that the current output quality is insufficient and needs rework.

How can I manage iteration budgets for DAG task retries?

You can manage iteration budgets for DAG task retries by configuring bounded execution limits that automatically select between retry, refinement, expansion, or escalation strategies to prevent unbounded resource consumption.

Can I integrate iteration detection with other DAG monitoring tools?

Yes, iteration detection integrates with dag-dynamic-replanner and dag-convergence-monitor to close the feedback loop, enabling coordinated re-execution decisions and pipeline convergence across your DAG-based task pipelines.

What inputs are required to detect re-execution needs in a DAG?

Detecting re-execution needs requires structured inputs including the completed task output, quality signals, and configuration parameters, which are processed to produce a structured iteration decision with triggers, strategy, and next steps.

What is the best way to handle failed validation in DAG task pipelines?

The best way to handle failed validation in DAG task pipelines is to run an iteration detector that evaluates the quality signals and validation results to output a structured decision recommending whether to retry, refine, or escalate the task.