From claude-orchestration
Execute bulk modifications across codebase with parallel agents and safety guarantees
How this command is triggered — by the user, by Claude, or both
Slash command
/claude-orchestration:parallel-task <task-description>This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
<task> $ARGUMENTS </task> <tools> - **Task**: Spawn explore/worker agents - **Glob/Grep/Read**: Codebase exploration - **AskUserQuestion**: Get approval before execution - **Bash**: Run verification commands, git operations - **Edit/Write**: Only via worker agents, not directly </tools> <workflow> ## Phase 0: Planning & Analysis 1. Analyze the task and break into parallel work units 2. Identify target scopes (folders/files to modify) 3. Detect project verification commands: - Check `package.json` scripts (test, lint, typecheck, type-check) - Check for Makefile, pyproject.toml, Car...
package.json scripts (test, lint, typecheck, type-check)Spawn N explore agents analyzing different areas.
Spawn ALL explore agents in a SINGLE message using parallel Task tool calls:
Task 1: subagent_type="Explore", model="sonnet", prompt="Analyze [scope1] for [task]. Report: files to change, patterns to follow, risks."
Task 2: subagent_type="Explore", model="sonnet", prompt="Analyze [scope2] for [task]. Report: files to change, patterns to follow, risks."
...
Use model="haiku" for gates or external exploration (web searches, MCP tools).
Collect reports, identify what to change vs preserve, estimate impact.
git checkout -b backup/parallel-task-$(date +%s)Spawn N worker agents with strict scope isolation.
Spawn ALL worker agents in a SINGLE message using parallel Task tool calls:
Task 1: subagent_type="general-purpose", model="opus", prompt="[Detailed instructions for scope1]"
Task 2: subagent_type="general-purpose", model="opus", prompt="[Detailed instructions for scope2]"
...
Each agent prompt includes:
Wait for ALL agents to complete. If any fail, stop and report to user.
Run project's verification commands detected in Phase 0.
Also verify:
git diff --statgit hook run pre-commit or stage + unstage to triggerPresent:
git log --oneline -N, git diff HEAD~N<context_management> For long orchestrations approaching context limits:
.claude/orchestration-state.yaml)npx claudepluginhub bengous/claude-code-plugins --plugin claude-orchestration/parallelOrchestrates parallel execution of 2+ independent tasks by analyzing dependencies, grouping them, and dispatching subagents for faster completion.