Agent skill · writing content · aiskillstore
spawn-parallel
Pattern for spawning parallel subagents efficiently. Use when you need multiple independent tasks done concurrently.
Why this skill is useful
Provides a structured pattern for efficiently spawning and coordinating parallel subagents, which enhances the AI's ability to manage concurrent tasks effectively.
What it needs
About 2k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Spawn Parallel Skill Pattern for spawning and coordinating parallel subagents. When to Load This Skill You have multiple independent tasks Tasks don't depend on each other's output You want to maximize concurrency Spawning Pattern 1. Identify Independent Tasks Tasks are independent if: No data dependencies between them No file conflicts (different files or read-only) Can complete in any order 2. Prepare Contexts Each subagent needs minimal, focused context: 3. Spawn All at Once Use multiple Task calls in single response: Subagent Type Reference (Custom Dotagent Agents): Type Model Use For ------ ------- --------- explorer haiku Fast codebase scouting implementer sonnet Focused code writing verifier haiku Independent verification tester haiku Test execution Note: These are custom dotagent agents (lowercase). Built-in Claude Code agents like Explore and Plan (capitalized) have different behavior. 4. Collect and Validate After all complete: Check each output file exists Validate against schema Handle failures (retry or escalate) Coordination Rules Prevent Conflicts Define clear file ownership per agent Use contracts for shared interfaces Read-only access to shared resources Handle Failures Individual failures don't fail the batch. Apply recovery strategies from @.claude/skills/error-recovery/SKILL.md: Retry with Context Enhancement Example: Example: Parallel Explorers All run concurrently, results collected when all complete. Example: Mixed Agent Types
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/spawn-parallel