orchestrate

Solid

Execute a CAST plan by reading the Agent Dispatch Manifest and dispatching agents in dependency order — parallel batches simultaneously, sequential batches one at a time. Pass a plan file path, 'next' for the most recent plan, or 'resume' to continue from a checkpoint.

AI & Automation 8 stars 1 forks Updated today MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# 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:-}...

Details

Author
ek33450505
Repository
ek33450505/claude-agent-team
Created
5 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category