wang-et-al-2025-tdag

Decompose dynamic tasks and generate just-in-time agents to prevent cascading failures.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prevents cascading task failures in complex, multi-step agent workflows by turning one-time plans into continuously updated, state-aware decompositions that adapt to execution results and environmental changes.

Core Features & Use Cases

  • Dynamic Task Decomposition: Interleave planning and execution so each subsequent subtask is generated from actual results, not assumed outcomes.
  • Just-in-Time Agent Generation: Create subagent specializations with subtask-specific tool documentation and retrieved past skills to reduce context bloat and tool misuse.
  • Failure Containment & Replanning: Detect cascading failure signals, backtrack to the last valid state, and regenerate downstream subtasks to contain error propagation.
  • Skill Library & Context Precision: Store and retrieve semantic skills as institutional memory and provide subtask-scoped context to keep LLM attention focused.
  • Use Cases: Travel itinerary orchestration, multi-stage research pipelines, complex API-driven automations where later steps depend on earlier outcomes.

Quick Start

Replan the remaining subtasks after a failed subtask (e.g., an unavailable train booking) to adapt timelines, regenerate specialized subagents, and prevent cascading failures.

Frequently Asked Questions about wang-et-al-2025-tdag

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

FAQPage Schema
How do I prevent cascading failures in multi-step agent workflows?

Prevent cascading failures in multi-step agent workflows by using dynamic task decomposition, which detects failure signals, backtracks to the last valid state, and regenerates downstream subtasks to contain error propagation.

What is dynamic task decomposition for adaptive replanning?

Dynamic task decomposition for adaptive replanning is a technique that interleaves planning and execution, generating each subsequent subtask from actual execution results rather than assumed outcomes to adapt to environmental changes.

How do I reduce context bloat and tool misuse when generating subagents?

Reduce context bloat and tool misuse during subagent generation by applying just-in-time specialization, which provides subtask-specific tool documentation and subtask-scoped context to keep LLM attention focused.

Can I use dynamic replanning for complex travel itinerary orchestration?

Yes, you can use dynamic replanning for complex travel itinerary orchestration. It adapts timelines by replanning remaining subtasks after a failed step, such as an unavailable train booking, to prevent workflow disruption.

How does semantic skill retrieval support multi-stage research pipelines?

Semantic skill retrieval supports multi-stage research pipelines by storing and retrieving past skills as institutional memory, ensuring subtask-scoped context is available to maintain focus and prevent errors in interdependent steps.

When should I not use just-in-time agent generation?

You should not use just-in-time agent generation for simple, linear tasks that lack interdependencies, as the overhead of dynamic replanning, backtracking, and subtask-scoped context provides no benefit without complex, multi-step execution requirements.