Tooluck logoTooluck
SKILL.md

parallel-execution

Agent skill fromCloudAI-X/claude-workflow-v2

Patterns for parallel subagent execution using the Agent tool (formerly Task). Use when coordinating multiple independent tasks, spawning dynamic subagents, or implementing features that can be parallelized.

How to install parallel-execution

install parallel-execution
# install the claude-workflow-v2 pack with the skills CLI
npx skills add CloudAI-X/claude-workflow-v2

# or add only this skill to Claude Code: copy the folder

skills/parallel-execution/

# into

~/.claude/skills/parallel-execution/ (all projects)

.claude/skills/parallel-execution/ (one project)

skills/parallel-execution/SKILL.md

MITFull file
1# Parallel Execution Patterns
2
3### When to Load
4
5- **Trigger**: Multi-agent tasks, concurrent operations, spawning subagents, parallelizing independent work
6- **Skip**: Single-step tasks or sequential workflows with no parallelization opportunity
7
8## Core Concept
9
10Parallel execution spawns multiple subagents simultaneously using the Agent tool (named `Task` before Claude Code 2.1.63; `Task` still works as an alias). Subagents run in the background by default, so N tasks run concurrently, dramatically reducing total execution time.
11
12**Critical Rule**: ALL Agent calls MUST be in a SINGLE assistant message for true parallelism. If the calls are in separate messages, they launch one after another.
13
14## Execution Protocol
15
16### Step 1: Identify Parallelizable Tasks
17
18Before spawning, verify tasks are independent:
19
20- No task depends on another's output
21- Tasks target different files or concerns
22- Can run simultaneously without conflicts
23
24### Step 2: Prepare Dynamic Subagent Prompts
25
26Each subagent receives a custom prompt defining its role:
27
28```
29You are a [ROLE] specialist for this specific task.
30
31Task: [CLEAR DESCRIPTION]
32
33Context:
34[RELEVANT CONTEXT ABOUT THE CODEBASE/PROJECT]
35
36Files to work with:
37[SPECIFIC FILES OR PATTERNS]
38
39Output format:
40[EXPECTED OUTPUT STRUCTURE]
41
42Focus areas:
43- [PRIORITY 1]
44- [PRIORITY 2]
45```
46
47### Step 3: Launch All Tasks in ONE Message
48
49**CRITICAL**: Make ALL Agent calls in the SAME assistant message:
50
51```
52I'm launching N parallel subagents:
53
54[Agent 1]
55…

Excerpt shown under the repository's MIT license.

More skills in claude-workflow-v2

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates