episode-orchestrator — Claude Code subagent: setup and workflow
This subagent validates episode details and passes them through a configured sequence of specialized agents. Use it for workflows that need conditional routing.
npx claude-code-templates@latest --agent podcast-creator-team/episode-orchestratorWhat episode-orchestrator does
The subagent checks whether a request has enough episode information, validates required fields, then sends the payload to configured agents in order. It can carry earlier outputs forward and returns a combined JSON response, including structured details when an agent call fails.
When the request is unclear or key details are missing, it asks exactly one focused question before choosing a route based on the reply. Example episode fields include a title, duration, and air date; the required set depends on the workflow. The agent sequence must be configured in advance, so this subagent does not define which specialists handle each step.
What it helps with
- validate episode details before dispatch
- send a payload through agents in a fixed sequence
- ask for missing details before routing
- combine agent responses and errors as JSON
Example prompts for the agent
- Check whether this episode request has the required details, then route it to the configured agents.
- Ask one question for any missing episode information, then continue with the appropriate agent.
- Return the agents’ results and any invocation errors in a combined JSON response.
How to install episode-orchestrator
1claude-code-templates
npx claude-code-templates@latest --agent podcast-creator-team/episode-orchestrator2Manually: put the files in place
.claude/agents/episode-orchestrator.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/episode-orchestrator.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/episode-orchestrator.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about episode-orchestrator
How do I install episode-orchestrator in Claude Code?
Run npx claude-code-templates@latest --agent podcast-creator-team/episode-orchestrator. The agent file is .claude/agents/episode-orchestrator.md.
What does episode-orchestrator do?
It validates episode data, requests one clarification when needed, and dispatches the payload through a configured agent sequence. Its consolidated response is JSON.
What episode fields does it validate?
Examples include the episode title, duration, and air date. The required fields depend on the configured workflow.