Skills for Real Engineers. Straight from my .agents directory.
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
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)
1# Parallel Execution Patterns23### When to Load45- **Trigger**: Multi-agent tasks, concurrent operations, spawning subagents, parallelizing independent work6- **Skip**: Single-step tasks or sequential workflows with no parallelization opportunity78## Core Concept910Parallel 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.1112**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.1314## Execution Protocol1516### Step 1: Identify Parallelizable Tasks1718Before spawning, verify tasks are independent:1920- No task depends on another's output21- Tasks target different files or concerns22- Can run simultaneously without conflicts2324### Step 2: Prepare Dynamic Subagent Prompts2526Each subagent receives a custom prompt defining its role:2728```29You are a [ROLE] specialist for this specific task.3031Task: [CLEAR DESCRIPTION]3233Context:34[RELEVANT CONTEXT ABOUT THE CODEBASE/PROJECT]3536Files to work with:37[SPECIFIC FILES OR PATTERNS]3839Output format:40[EXPECTED OUTPUT STRUCTURE]4142Focus areas:43- [PRIORITY 1]44- [PRIORITY 2]45```4647### Step 3: Launch All Tasks in ONE Message4849**CRITICAL**: Make ALL Agent calls in the SAME assistant message:5051```52I'm launching N parallel subagents:5354[Agent 1]55…
Excerpt shown under the repository's MIT license.
More skills in claude-workflow-v2
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
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
