Agent skill · Workflow & Productivity

parallel-execution

Patterns for parallel subagent execution using Task tool with run_in_background. Use when coordinating multiple independent tasks, spawning dynamic subagents, or implementing features that can be parallelized.

CloudAI-Xgithub.com/CloudAI-XGitHub ↗
claude-codecodexcursorMIT
Install
npx skills add CloudAI-X/claude-workflow-v2 --skill parallel-execution --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/parallel-execution/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,397
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Parallel Execution Patterns ### When to Load - **Trigger**: Multi-agent tasks, concurrent operations, spawning subagents, parallelizing independent work - **Skip**: Single-step tasks or sequential workflows with no parallelization opportunity ## Core Concept Parallel execution spawns multiple subagents simultaneously using the Task tool with `run_in_background: true`. This enables N tasks to run concurrently, dramatically reducing total execution time. **Critical Rule**: ALL Task calls MUST be in a SINGLE assistant message for true parallelism. If Task calls are in separate messages, they run sequentially. ## Execution Protocol ### Step 1: Identify Parallelizable Tasks Before spawning, verify tasks are independent: - No task depends on another's output - Tasks target different files or concerns - Can run simultaneously without conflicts ### Step 2: Prepare Dynamic Subagent Prompts Each subagent receives a custom prompt defining its role: ``` You are a [ROLE] specialist for this specific task. Task: [CLEAR DESCRIPTION] Context: [RELEVANT CONTEXT ABOUT THE CODEBASE/PROJECT] Files to work with: [SPECIFIC FILES OR PATTERNS] Output format: [EXPECTED OUTPUT STRUCTURE] Focus areas: - [P

What's inside
Steps it walks through
  1. When to Load
  2. Core Concept
  3. Execution Protocol
  4. Step 1: Identify Parallelizable Tasks
  5. Step 2: Prepare Dynamic Subagent Prompts
  6. Step 3: Launch All Tasks in ONE Message
  7. Step 4: Retrieve Results with TaskOutput
  8. Step 5: Synthesize Results
  9. Dynamic Subagent Patterns
  10. Pattern 1: Task-Based Parallelization
  11. Pattern 2: Directory-Based Parallelization
  12. Pattern 3: Perspective-Based Parallelization
  13. TodoWrite Integration
  14. When to Use Parallel Execution
More from claude-workflow-v2
All skills →
About this skill
What does the parallel-execution skill do?

Patterns for parallel subagent execution using Task tool with run_in_background. Use when coordinating multiple independent tasks, spawning dynamic subagents, or implementing features that can be parallelized.

How do I install it?

Run `npx skills add CloudAI-X/claude-workflow-v2 --skill parallel-execution --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From CloudAI-X/claude-workflow-v2, a repository with 1,397 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going