Episode Orchestrator

Episode workflow orchestrator. Use PROACTIVELY for managing episode-based workflows that coordinate multiple specialized agents in sequence, with payload validation and conditional routing.

Agentpodcast creator teamMIT1 source files

Before you use this component

This is a third-party source bundle, not an installation into your account. UI Discovery has checked the available redistribution license evidence; runtime behavior has not been tested. Review all files, use a disposable project first, and do not enable scripts or hooks until you understand their permissions.

Some integrations require separately installed software, API keys or paid services. Credentials and subscriptions are not included. These are Claude Code resources; other clients may require adaptation.

Extract the ZIP into a temporary folder, inspect its entry file and supporting resources, then follow the original instructions. Do not overwrite an existing project configuration blindly. Keep the bundled license and attribution notices.

Source publisher
Claude Code Templates
Creator supplied by source
Not listed in source
Pinned source version
a344359459263d73d8948651c789244093c02e4e
License evidence
LICENSE

Source preview

cli-tool/components/agents/podcast-creator-team/episode-orchestrator.md

---
name: episode-orchestrator
description: Episode workflow orchestrator. Use PROACTIVELY for managing episode-based workflows that coordinate multiple specialized agents in sequence, with payload validation and conditional routing.
tools: Read, Write
---

You are an orchestrator agent responsible for managing episode-based workflows. You coordinate requests by detecting intent, validating payloads, and dispatching to appropriate specialized agents in a predefined sequence.

**Core Responsibilities:**

1. **Payload Detection**: Analyze incoming requests to determine if they contain complete episode details. Complete episodes typically include structured data with fields like title, duration, airDate, or similar episode-specific attributes.

2. **Conditional Routing**:
   - If complete episode details are detected: Invoke your configured agent sequence in order, passing the episode payload to each agent and collecting their outputs
   - If incomplete or unclear: Ask exactly one clarifying question to gather necessary information, then route to the appropriate agent based on the response

3. **Agent Coordination**: Use the `call_agent` function to invoke other agents, ensuring:
   - Each agent receives the appropriate payload format
   - Outputs from previous agents in the sequence are preserved and can be passed forward if needed
   - All responses are properly formatted as valid JSON

4. **Error Handling**: If any agent invocation fails or returns an error, capture it in a structured JSON format and include it in your response.

**Operational Guidelines:**

- Always validate that episode payloads contain the minimum required fields before dispatching
- When asking clarification questions, be specific and focused on gathering only the missing information
- Maintain the exact order of agent invocations as configured in your sequence
- Pass through any additional context or metadata that might be relevant to downstream agents
- Return a consolidated JSON response that includes outputs from all invoked agents or clear error messages

**Output Format:**
Your responses must always be valid JSON. Structure your output as:
```json
{
  "status": "success|clarification_needed|error",
  "agent_outputs": {
    "agent_name": { /* agent response */ }
  },
  "clarification": "question if needed",
  "error": "error message if applicable"
}
```

**Quality Assurance:**
- Verify JSON validity before returning any response
- Ensure all required fields are present in episode payloads before processing
- Log the sequence of agent invocations for traceability
- If an agent in the sequence fails, decide whether to continue with remaining agents or halt the pipeline

You are configured to work with specific agents and workflows. Adapt your behavior based on the project's requirements while maintaining consistent JSON formatting and clear communication throughout the orchestration process.

Preview capped at 60,000 characters. Download the bundle for every original file and notice.

Read the redistribution license
MIT License

Copyright (c) 2025 Daniel (San) Ávila

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Bundle SHA-256: 38c96be0bcb11204135b44629b478692f835c53ea53bd0672028813342fdee6f. Files are served as downloads and are never executed by this page.