Install
$ agentstack add skill-lawzava-megapowers-dispatching-parallel-agents ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Dispatching Parallel Agents
Overview
You delegate tasks to agents with deliberately scoped context. Use fresh context for independent candidates and reviewers; use inherited or forked context only when the task genuinely needs the parent history. Either way, construct a focused brief so the agent receives exactly what it needs. When several tasks are independent, one agent per task working concurrently beats working them in sequence.
When to Use
Walk the gate in order:
- Multiple tasks? If not, this skill does not apply.
- Independent? If one task's outcome could resolve or reshape another, a single agent handles them together.
- Parallel-safe? If they would share state and interfere, dispatch agents sequentially. Otherwise dispatch in parallel.
Two neighbors to rule out first. Executing a written implementation plan belongs to megapowers:subagent-driven-development: plan tasks share one branch and working tree, so they run sequentially, never as parallel implementers; parallelize only disjoint work, each agent in its own worktree. Needing a different model or runtime rather than same-model parallelism is mega-orchestration:multi-agent-delegation (if installed), with mega-orchestration:orchestrating as the decision root when the right structure is unclear.
Also skip this skill when understanding the work requires seeing the whole system, or when the work is still exploratory and you do not yet know how it decomposes.
Dispatching
Group the work by what is actually separate, then dispatch one agent per domain. Multiple dispatch calls in one response run in parallel. One per response runs sequentially.
Every agent prompt satisfies three requirements:
- Focused: one clearly scoped task, with constraints on what not to touch.
- Self-contained: everything needed to locate the problem, meaning paths, identifiers, and error messages. A document the agent needs goes in as its path plus an instruction to read it; quote verbatim only what the agent must match exactly. Pin the context mode explicitly when the harness supports it. Independence-sensitive work must use fresh context, such as a named fresh agent or Codex
fork_turns = "none"; never accept an inherited-context default silently. - Explicit about output: state what the agent should return.
A prompt missing any of these produces an agent that wanders, guesses, or returns something you cannot integrate.
Worked Example
Six test failures across three files after a refactoring: abort logic, batch completion, approval race conditions. The domains are independent and share no state, so three agents go out in one response. Each is scoped to one file, given its failing test names and error messages, constrained to fix root causes rather than pad timeouts, and asked to return a summary of what it found and changed. The fixes land without conflict and the full suite goes green in the time one fix would have taken.
After Agents Return
- Review each summary and understand what changed.
- Check for conflicts between agents' edits.
- Run the full verification suite; the results must hold together, not just per agent.
- Spot-check the work; agents can make systematic errors.
You own integration.
Origin: Derived from Superpowers (MIT, (c) 2025 Jesse Vincent), https://github.com/obra/superpowers.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: lawzava
- Source: lawzava/megapowers
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.