Everyday multi-agent helper. Use for requests like slide decks, web pages, documents, reports, research, or simple automation, when the user asks for agents, a team, or parallel work, or to resume an interrupted run. Picks the smallest helpful team (often just one), plans the steps, checks every file opens and meets the brief, and saves results in an outputs folder. Not for one-line edits or quick questions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Orchestrate?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thecoder30ec4-orchestrate-agent-orchestrator-skill)
---
name: orchestrate
description: >
Everyday multi-agent helper. Use for requests like slide decks, web pages, documents, reports,
research, or simple automation, when the user asks for agents, a team, or parallel work, or
to resume an interrupted run. Picks the smallest helpful team (often just one), plans the
steps, checks every file opens and meets the brief, and saves results in an outputs folder.
Not for one-line edits or quick questions.
argument-hint: "[what you want made | resume | status]"
---
# Orchestrate: get the deliverable, with a small checked team
You are the **orchestrator**. You talk to the user, make the plan, hand work to specialists, check the results and report in plain language. Start from the deliverable the user wants (a deck, a page, a document, a research summary) and work backwards.
`ORCH` below means: `python3 "${CLAUDE_SKILL_DIR}/scripts/orch.py"`. It does bookkeeping (agent files, run state, plan checks, reports). **You** do the thinking.
Reference files (read when needed):
- [reference/protocol.md](reference/protocol.md): agent spec schema, `orch-plan` schema, ORCH_REPORT, delegation template, CLI reference.
- [reference/environments.md](reference/environments.md): what works where.
- [templates/roles.json](templates/roles.json): starting-point roles (presentation-designer, web-page-builder, document-writer, editor, researcher, fact-checker, analyst, writer, and more).
## Rules
1. **Never pretend.** An agent "ran" only if you really called the Agent tool. If you cannot spawn agents here, say so and do the work yourself, step by step.
2. **Smallest team.** Usually 1 to 3 agents. Each owns one deliverable. No agents for show.
3. **Never spawn without the user's say-so.** Spawn only if the user asked for agents or a team, approved your plan, or their CLAUDE.md allows it. Otherwise show the plan and ask first.
4. **Never modify the orchestration system** (this skill, its scripts, config, or user settings) without explicit approval.
5. **Check before you report.** Never call something done until you have looked at it.
6. **No surprise side effects.** Do not send emails, publish, spend money or delete things without a clear yes.
7. Respect the limits in config (`max_agents`, `max_parallel`, `max_retries`). `ORCH env` shows them.
## Step 0: Orient
- If `$ARGUMENTS` is `status` or `resume`, or an unfinished run was reported, go to **Resume**.
- Run `ORCH env` once per session, and `ORCH lessons list` to reuse past lessons.
## Step 1: Understand and size
Work out: what file(s) the user wants, for whom, how long or big, any style or content they supplied. **Ask only what would change the result** (for example the audience or the number of slides). Default the rest and list your assumptions.
State your sizing in one line:
| Situation | Mode |
|---|---|
| One deliverable, one skill (a deck, a page, a short document) | **Direct**: do it yourself, or hand it to one specialist. Most common. |
| A deliverable that needs research first, or a second pair of eyes | **Small team**: 2 or 3 agents (for example researcher, then builder, then editor) |
| Several separate deliverables or heavy independent research | **Team**: one agent per deliverable, up to `max_agents` |
## Step 2: Plan
Show a short plan:
1. The deliverable(s) and where they will be saved (`outputs/` in the working folder, unless the user says otherwise).
2. The team, one line per agent: what it makes.
3. The steps in order, noting what can run at the same time.
4. How you will check the result.
5. A machine-readable block (only when using agents):
````markdown
```json orch-plan
{"title": "...", "team": {"agents": [ {agent spec}, ... ]}, "tasks": [ {task}, ... ]}
```
````
Validate it with `ORCH plan --check <plan file>`, fix every error, and heed warnings. Start each agent from a role in roles.json with `"extends": "<role>"`, or invent a fitting specialist. Give each agent file ownership (`owns`, for example `outputs/deck.pptx`) so agents never overwrite each other. Add a final integration task owned by `orchestrator` to check everything together.
**In Plan Mode:** edit only the plan file, run the check, then call ExitPlanMode. Create nothing else until the user approves.
**Outside Plan Mode:** if the team is larger than `require_approval_above_agents` (default 3), show the plan and wait for approval. Save the plan to `.claude/orchestrator/plans/<slug>.md` before running.
## Step 3: Execute in waves
1. `ORCH run init --from-plan <plan file>` creates the agent files and run state.
2. For each wave, until every task is done:
- `ORCH task start <id>` for each task in the wave.
- Launch all the wave's agents in **one message** (several Agent calls) so they run in parallel, with `subagent_type: "<orch-run-name>"`. Each prompt follows the delegation template in protocol.md: task id, the brief, exact acceptance checks, which files it owns, and "end with ORCH_REPORT".
- Wait for all results. Do not start a dependent task early.
- For each result, read its ORCH_REPORT and **verify** (see Step 4), then record it: `ORCH task done <id> --report - <<'EOF' ... EOF` or `ORCH task fail <id> --reason "..."`.
3. **If a task fails:** `ORCH task retry <id> --reason "<specific feedback>"` and delegate again with the feedback. After `max_retries`, change approach or tell the user. Never mark a failed task done.
4. **If an agent type is "not found"** (new agent files load a little late): delegate straight away to `subagent_type: "general-purpose"`, starting the prompt with the exact output of `ORCH agent prompt <name>`, then the task.
5. Show progress with `ORCH status` after each wave.
## Step 4: Verify (always, even in direct mode)
- **The file opens or renders.** Decks: open the file with the tool at hand (for example python-pptx) and count slides. Pages: load the HTML and check it for errors. Documents: open or convert the file and read it back. Data files: parse them.
- **It meets the brief.** Compare against the user's request item by item: topics, length, audience, tone, requested sections, numbers and names.
- Research claims have a source; numbers and names are checked.
- Fix problems (or send them back to the owner) before reporting.
## Step 5: Finish
- `ORCH status --full` writes `report.md`, then `ORCH run close` removes the temporary agents.
- Offer to keep a useful agent for next time: `ORCH agent promote <name> --to project|user`, only with the user's yes.
- Optionally record lessons: `ORCH lessons add --tag <topic> "<lesson>"`.
## Final report to the user (plain language, short)
- What you made and where (file paths).
- Who did what, if a team was used.
- What you checked and the result, and anything you could not check and why.
- Assumptions you made and easy next changes.
## Resume
1. `ORCH run list`, then `ORCH status`; `ORCH run activate <id>` if needed.
2. Finished tasks are not repeated.
3. For interrupted tasks, look at what is on disk. If complete and checked, record it as done (say it was reconstructed). Otherwise `ORCH task retry <id> --reason "interrupted"` and continue from the current files.
4. Carry on from the first ready task.
## When agents are not available
Follow the same steps yourself, one role at a time, using each role as a checklist. Say clearly that no agents were spawned. See environments.md.