Skip to main content
ClaudeWave
Slash Command3.6k repo starsupdated yesterday

parallel

The parallel slash command decomposes large compound tasks into independent work packages, each executed in a separate Claude process with full plugin capabilities. Use it when tackling multi-component projects with three or more independent parts that would benefit from isolated, simultaneous execution, such as building authentication systems, e-commerce platforms, or CI/CD pipelines.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nyldn/claude-octopus/HEAD/.claude/commands/parallel.md -o ~/.claude/commands/parallel.md
Then start a new Claude Code session; the slash command loads automatically.

parallel.md

# Parallel - Team of Teams

## INSTRUCTIONS FOR CLAUDE

When the user invokes this command (e.g., `/octo:parallel <arguments>`):

**CORRECT - Use the Skill tool:**
```
Skill(skill: "octo:parallel", args: "<user's arguments>")
```

**INCORRECT:**
```
Skill(skill: "flow-parallel", ...)  ❌ Wrong! Internal skill name, not resolvable by Skill tool
Task(subagent_type: "octo:parallel", ...)  ❌ Wrong! This is a skill, not an agent type
```

---

**Auto-loads the parallel skill for Team of Teams orchestration.**

## Quick Usage

Describe the compound task you want decomposed:
```
"Build a full authentication system with OAuth, RBAC, and audit logging"
"Create a complete e-commerce platform with payments, inventory, and shipping"
"Implement CI/CD pipeline with testing, linting, and deployment stages"
```

## What Is Parallel?

**Team of Teams** orchestration — decomposes compound tasks into independent work packages and delegates each to a separate `claude -p` process. Each process loads the full Octopus plugin, giving every work package its own Double Diamond, agents, and quality gates.

Key architectural distinction: Task tool subagents don't load plugins. Independent `claude -p` processes do.

## What You Get

- Work Breakdown Structure (WBS) decomposition
- Adversarial WBS cross-check to catch missed dependencies and scope overlaps before agents launch
- Independent `claude -p` processes per work package
- Full plugin capabilities in each worker
- Parallel execution with staggered launch
- Aggregated results with exit code verification

## When To Use

- Compound tasks with 3+ independent components
- Tasks that would benefit from parallel execution
- Projects where each component needs full AI capabilities
- When you want isolated, non-interfering work streams

## Natural Language Examples

```
"Parallel build auth system with OAuth, sessions, and RBAC"
"Team up on building a dashboard with charts, filters, and export"
"Decompose and parallelize the API migration across 5 services"
```