orchestratelisted
Install: claude install-skill ek33450505/claude-agent-team
# Orchestrate
This is the `/orchestrate` skill. It reads a plan's Agent Dispatch Manifest and executes the agent queue directly from the main session.
> Native Dynamic Workflows (Phase 10) are preferred for new non-critical dispatches. This skill is the stable LEGACY fallback.
## Arguments
$ARGUMENTS
## Step 1 — Resolve the plan path
**If a file path was provided as an argument:** use it directly.
**If argument is `next` or no argument:** find the most recent plan file:
```bash
ls -t ~/.claude/plans/*.md | head -1
```
**If argument is `resume`:** find any checkpoint log in `~/.claude/cast/orchestrator-checkpoint-*.log`. Read the most recent one to extract the plan path and last completed batch.
If no plan file can be found, output: "No plan file found in ~/.claude/plans/. Run /plan first to write one."
## Step 2 — Read the Manifest
Read the plan file. Find the `## Agent Dispatch Manifest` section and parse the `json dispatch` block.
If no manifest exists: report "No Agent Dispatch Manifest found in [plan file]." and stop.
Check for a checkpoint:
```bash
PLAN_HASH=$(echo -n "$PLAN_FILE_PATH" | shasum -a 256 | cut -c1-8)
CHECKPOINT_FILE=~/.claude/cast/orchestrator-checkpoint-${PLAN_HASH}.log
```
If the checkpoint exists, read the last completed batch ID and skip batches with id <= that number.
### Log Dispatch
```bash
python3 ~/.claude/scripts/orchestrate-dispatch.py log-dispatch \
--plan "$PLAN_FILE_PATH" --session-id "${CAST_SESSION_ID:-${CLAUDE_SESSION_ID:-}