sub-agent-orchestrator

Orchestrates parent/child agent pipelines with YAML-defined sequential, parallel, and conditional workflows.

1|Updated Aug 8, 2026
One-click install
npx skills add https://github.com/th-efool/SKILLS --skill sub-agent-orchestrator-th-efool
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: sub-agent-orchestrator
Source: https://github.com/th-efool/SKILLS/tree/main/sub-agent-orchestrator
Command: npx skills add https://github.com/th-efool/SKILLS --skill sub-agent-orchestrator-th-efool

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Coordinating multiple AI agents whose outputs feed into each other requires manual prompt chaining, error handling, and result aggregation, which becomes unmanageable for multi-stage tasks. ## Core Features & Use Cases - YAML Workflow Definition: Define agent roles, dependencies, inputs, and handoffs in a declarative workflow file with variable interpolation. - Six Execution Patterns: Run sequential chains, parallel fan-out/fan-in, conditional routing, validation loops, map-reduce, and fallback pipelines. - Reliability Controls: Built-in retry logic with backoff, three-level timeouts, output validation rules, and failure policies (skip, abort, fallback). - Use Case: Build a research-to-proposal pipeline where a researcher agent gathers company intelligence, a pricing analyst creates tiers, a writer drafts the proposal, and a reviewer loops until quality passes. ## Quick Start Ask the AI to define and run a workflow that researches a company, drafts a proposal, and reviews it in a loop until it passes quality checks.

Frequently Asked Questions about sub-agent-orchestrator

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

FAQPage Schema
How do I orchestrate multiple AI agents in a pipeline?▼

Define a YAML workflow specifying agent roles, prompts, tools, and steps, then run it through the orchestrator. Steps execute in topological order with each agent's output stored and passed to dependent steps automatically.

What is the difference between sub-agent orchestration and agent swarms?▼

Sub-agent orchestration coordinates heterogeneous pipelines where agents have different roles and outputs feed subsequent inputs. Agent swarms deploy homogeneous agents for parallel data processing where items are independent with no task-level dependencies.

How do I run agents in parallel and aggregate their results?▼

Use a parallel step type listing multiple agents with output keys, set a wait policy (all, any, or N), then add a sequential aggregation step that receives the collected outputs. The lead scoring example shows three scorers fanning out into one aggregator.

What happens when an agent in a workflow fails or times out?▼

Failures trigger the agent's retry policy with configurable max attempts and backoff. If retries are exhausted, the on_failure policy applies: skip stores null and continues, abort stops the workflow, and fallback deploys a backup agent with the same input.

Can I validate agent outputs before passing them to the next step?▼

Yes, each agent supports validation with JSON schemas and plain-English rules such as field presence, array length, and value ranges. Failed validation is treated as a failure and triggers the retry or fallback policy.

When should I not use a multi-agent workflow?▼

Avoid it for single-step tasks or homogeneous bulk operations like mass code changes or independent data processing, where Agent Army or Agent Swarm patterns fit better. Circular dependencies are also rejected at parse time.