dispatching-parallel-agents
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
Skill by obra
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/obra-dispatching-parallel-agents
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/dispatching-parallel-agents
What's inside
- Skill name
dispatching-parallel-agents- Description
- Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
- License
- MIT
- Instructions
- 164 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Dispatching Parallel Agents
## Overview
You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
When you have multiple unrelated failures (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.
**Core principle:** Dispatch one agent per independent problem domain. Let them work concurrently.
## When to Use
```dot
digraph when_to_use {
"Multiple failures?" [shape=diamond];
"Are they independent?" [shape=diamond];
"Single agent investigates all" [shape=box];
"One agent per problem domain" [shape=box];
"Can they work in parallel?" [shape=diamond];
"Sequential agents" [shape=box];
"Parallel dispatch" [shape=box];
"Multiple failures?" -> "Are they independent?" [label="yes"];
"Are they independent?" -> "Single agent investigates all" [label="no - related"];
"Are they independent?" -> "Can they work in parallel?" [label="yes"];
"Can they work in parallel?" -> "Parallel dispatch" [label="yes"];
"Can they work in parallel?" -> "Sequential agents" [label="no - shared state"];
}
```
**Use when:**
- 3+ test files failing with different root causes
- Multiple subsystems broken independently
- Each problem can be understood without context from others
- No shared state between investigations
**Don't use when:**
- Failures are related (fix one might fix others)
- Need to understand full system state
- Agents would interfere with each other
## The Pattern
### 1. Identify Independent Domains
Group failures by what's broken:
- File A tests: Tool approval flow
- File B tests: Batch completion behavior
- File C tests: Abort functionality
Each domain is independent - fixing tool approval doesn't affect abort tests.
### 2. Create Focused Agent Tasks
Each agent gets:
- **Specific scope:** One test file or subsystem
- **Clear goal:** Make these tests pass
- **Constraints:** Don't change other code
- **Expected output:** Summary of what you found and fixed
### 3. Dispatch in Parallel
Issue all three subagent dispatches in the same response — they run in parallel:
```text
Subagent (general-purpose): "Fix agent-tool-abort.test.ts failures"
Subagent (general-purpose): "Fix batch-completion-behavior.test.ts failures"
Subagent (general-purpose): "Fix tool-approval-race-conditions.test.ts failures"
# All three run concurrently.
```
Multiple dispatch calls in one response = parallel execution. One per response = sequential.
### 4. Review and Integrate
When agents return:
- Read each summary
- Verify fixes don't conflict
- Run full test suite
- Integrate all changes
## Agent Prompt Structure
Good agent prompts are:
1. **Focused** - One clear problem domain
2. **Self-contained** - All context needed to understand the problem
3. **Specific about output** - What should the agent return?
```markdown
Fix the 3 failing tests in src/agents/agent-tool-abort.test.ts:
1. "should abort tool with partial output capture" - expects 'interrupted at' in message
2. "should handle mixed completed and aborted tools" - fast tool aborted instead of completed
3. "should properly track pendingToolCount" - expects 3 results but gets 0
These are timing/race condition issues. Your task:
1. Read the test file and understand what each test verifies
2. Identify root cause - timing issues or actual bugs?
3. Fix by:
- Replacing arbitrary timeouts with event-based waiting
- Fixing bugs in abort implementation if found
- Adjusting test expectations if testing changed behavior
Do NOT just increase timeouts - find the real issue.
Return: Summary of what you found and what you fixed.
```
## Common Mistakes
**❌ Too broad:** "Fix all the tests" - agent gets lost
**✅ Specific:** "Fix agent-tool-abort.test.ts" - focused scope
**❌ No context:** "Fix the race condition" - agent doesn't know where
**✅ Context:** Paste the error messages and test names
**❌ No constraints:** Agent might refactor everything
**✅ Constraints:** "Do NOT change production code" or "Fix tests only"From obra/superpowers, MIT.
More from obra/superpowers
- 0.891score
diagnosing-superpowers
obra
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.891score
executing-plans
obra
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.750score
using-superpowers
obra
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.750score
AGENTS.md · obra/superpowers
obra
AGENTS.md from obra/superpowers: 122 lines covering If You Are an AI Agent, Pull Request Requirements, What We Will Not Accept, New Harness Support and more.
TemplateAFreshness: A★ 304.6KCodex +5 - 0.749score
subagent-driven-development
obra
Use when executing implementation plans with independent tasks in the current session
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.747score
brainstorming
obra
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.745score
verification-before-completion
obra
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.745score
writing-skills
obra
Use when creating new skills, editing existing skills, or verifying skills work before deployment
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.745score
receiving-code-review
obra
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.745score
using-git-worktrees
obra
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.744score
finishing-a-development-branch
obra
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.744score
writing-plans
obra
Use when you have a spec or requirements for a multi-step task, before touching code
SkillAFreshness: A★ 304.6KClaude Code +9
Signals
- Stars
- 304,566
- Forks
- 27,135
- Open issues
- 185
- Contributors
- 44
- Last commit (this folder)
- Jul 24, 2026 (3 months ago)
- Last release
- Oct 21, 2026 (5 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/obra/superpowers
- Website
- www.andrei649.ro
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.340score
dispatching-parallel-agents
EthanYoQ
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: B★ 11Claude Code +9 - 0.337score
dispatching-parallel-agents
andrei649
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: B★ 9Claude Code +9 - 0.322score
dispatching-parallel-agents
guanyang
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillCFreshness: C★ 980Claude Code +9 - 0.320score
dispatching-parallel-agents
bresleveloper
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillAFreshness: AClaude Code +9 - 0.319score
dispatching-parallel-agents
BlinkVoid
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: B★ 2Claude Code +9 - 0.309score
dispatching-parallel-agents
cheyoung1983-sudo
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: B★ 1Claude Code +9 - 0.309score
dispatching-parallel-agents
DanhDue
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: B★ 1Claude Code +9 - 0.299score
dispatching-parallel-agents
chauipp
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: BClaude Code +9 - 0.299score
dispatching-parallel-agents
GFigting
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: BClaude Code +9 - 0.296score
dispatching-parallel-agents
Yazeed-Alotaibi
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: BClaude Code +9 - 0.296score
dispatching-parallel-agents
hao09052004
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: BClaude Code +9 - 0.296score
dispatching-parallel-agents
krmunio
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
SkillBFreshness: BClaude Code +9
More from obra
- 0.891score
diagnosing-superpowers
obra
Use when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.891score
executing-plans
obra
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool…
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.750score
using-superpowers
obra
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.750score
AGENTS.md · obra/superpowers
obra
AGENTS.md from obra/superpowers: 122 lines covering If You Are an AI Agent, Pull Request Requirements, What We Will Not Accept, New Harness Support and more.
TemplateAFreshness: A★ 304.6KCodex +5 - 0.749score
subagent-driven-development
obra
Use when executing implementation plans with independent tasks in the current session
SkillAFreshness: A★ 304.6KClaude Code +9 - 0.747score
brainstorming
obra
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in…
SkillAFreshness: A★ 304.6KClaude Code +9
Cite this page
dispatching-parallel-agents skill. Agent Mart. https://agentmart.dev/skills/obra-dispatching-parallel-agents (last updated 2026-10-24)