From manifold
Executes multiple tasks in parallel using isolated git worktrees. Analyzes file overlaps and dependencies to form safe groups, runs concurrently, and merges results.
How this command is triggered — by the user, by Claude, or both
Slash command
/manifold:parallel "task1" "task2" ["task3"] [--dry-run] [--max-parallel=N]The summary Claude sees in its command listing — used to decide when to auto-load this command
# /manifold:parallel - Parallel Task Execution Execute multiple tasks in parallel using isolated git worktrees. ## Usage ## Options | Flag | Description | |------|-------------| | `--auto-parallel` | Enable automatic parallelization without confirmation | | `--max-parallel N` | Maximum concurrent tasks (default: 4) | | `--verbose, -v` | Show detailed output | | `--deep` | Use deep analysis (slower but more accurate) | | `--timeout N` | Task timeout in seconds (default: 300) | | `--strategy TYPE` | Merge strategy: sequential, squash, rebase | | `--no-cleanup` | Don't cleanup worktrees ...
Execute multiple tasks in parallel using isolated git worktrees.
/manifold:parallel "task1" "task2" "task3" [options]
| Flag | Description |
|---|---|
--auto-parallel | Enable automatic parallelization without confirmation |
--max-parallel N | Maximum concurrent tasks (default: 4) |
--verbose, -v | Show detailed output |
--deep | Use deep analysis (slower but more accurate) |
--timeout N | Task timeout in seconds (default: 300) |
--strategy TYPE | Merge strategy: sequential, squash, rebase |
--no-cleanup | Don't cleanup worktrees after completion |
--dry-run | Analyze but don't execute |
--file, -f FILE | Load tasks from YAML file |
User: /manifold:parallel "Add login form" "Add signup form" "Add password reset" --dry-run
Response:
🔄 Analyzing tasks for parallelization...
PARALLELIZATION ANALYSIS
────────────────────────
Recommendation: ✅ PARALLELIZE (85% confidence)
Safe Parallel Groups:
Group 1: [Add login form, Add signup form]
└─ No file overlap detected
Group 2: [Add password reset]
└─ Overlaps with Group 1 on src/auth/utils.ts
Sequential Tasks: None
Estimated Speedup: 1.8x (2 parallel + 1 sequential)
ℹ️ Dry run mode - no execution performed
Create .parallel.yaml in project root:
enabled: true
autoSuggest: true
autoParallel: false
maxParallel: 4
maxDiskUsagePercent: 90
maxMemoryUsagePercent: 85
maxCpuLoadPercent: 80
timeout: 300000
cleanupOnComplete: true
mergeStrategy: sequential
| Constraint | Description | Implementation |
|---|---|---|
| B1 | No merge conflicts | Overlap detection prevents file conflicts |
| B2 | Faster than sequential | Parallel execution with resource-aware concurrency |
| B3 | Auto-identify opportunities | Task analysis and file prediction |
| B4 | Opt-in control | Configuration and explicit flags |
| T1 | Clean branch state | Pre-check before worktree creation |
| T2 | Isolated worktrees | Each task runs in separate worktree |
| T3 | No same-file parallel | Overlap detector enforces |
When this command is invoked:
.parallel.yaml if present--dry-run, display analysis and exit--no-cleanup/manifold:m0-init - Initialize a constraint manifold/manifold:m-status - Show current manifold statenpx claudepluginhub dhanesh/manifold --plugin manifold/parallelOrchestrates parallel execution of 2+ independent tasks by analyzing dependencies, grouping them, and dispatching subagents for faster completion.
/sc-parallel-worktree-teamDecomposes specified work into parallel streams, creates isolated git worktrees per stream, symlinks dependencies, and spawns agent teams in tmux for simultaneous execution.
/spawn-workersAnalyzes tasks for dependencies and parallelism using Pebbles/Beads tools, then spawns isolated worker sessions with git worktrees for parallel issue resolution.
/SKILLSplits tasks into isolated git worktrees from parent commit, implements units with validation, commits per unit, merges sequentially back to parent branch, cleans up successful worktrees.
/parallelDecomposes compound tasks into independent work packages and delegates each to a separate Claude process for parallel execution with full plugin capabilities.
/parallelProvides guide to set up parallel Claude Code sessions using git worktrees, covering native claude -w support, manual setup, subagent isolation, usage patterns, and cleanup.