skills/_archived/dispatching-parallel-agents/SKILL.md
Parallel agent orchestrator with strict safety controls. Max 2 agents for research, max 3 for independent code tasks. Agents share context via briefings that include memory files, anti-patterns, and verified constants. NEVER parallelize data analysis. Sequential-first mindset — only parallelize when genuinely independent AND the overhead is justified.
npx skillsauth add nhouseholder/nicks-claude-code-superpowers dispatching-parallel-agentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Parallel agents have caused MORE problems than they've solved over the last 2 weeks:
Default posture: Do it yourself. Only dispatch agents when the task is genuinely large, genuinely independent, and the agents can succeed without shared state.
Before dispatching ANY subagent, ask ONE question:
"If this agent gets it wrong, produces bad data, or fails silently — can it hurt us?"
| Answer | Action | |--------|--------| | YES it can hurt us | Do it yourself. No agents. Period. | | NO it cannot hurt us | Safe to dispatch — but make it a GREAT agent (see briefing protocol below) |
Gate 2: Can each agent succeed independently? Each agent gets NO conversation history. If it needs context from this session, results from another agent, or domain knowledge — either include it ALL in the briefing or do it yourself.
Gate 3: Is the overhead justified? If you can do it yourself in <5 minutes, do it yourself. Agent briefing, dispatch, waiting, review, and reconciliation cost tokens too.
Gate 4: What's the fallback if the agent fails? If failure means "proceed with stale training data" — don't dispatch. If failure means "try a different search" — acceptable.
| Task Type | Max Agents | Why | |-----------|-----------|-----| | Data analysis | 0 (do it yourself) | Two agents counting the same data WILL disagree | | Research | 2 | More agents = more failures, harder to reconcile | | Code tasks | 3 | Beyond 3, merge conflicts and context loss outweigh speed | | Full-stack | 3 (1 per layer) | Frontend, backend, infrastructure — max |
NEVER launch more than 3 agents total. The NFL Draft disaster used 5 — most failed. 2 reliable agents > 5 flaky ones.
These tasks MUST be done by you, in a single chain, never delegated:
When a task passes the "can this hurt us?" gate and agents ARE dispatched, they must be excellent. A lazy agent is worse than no agent.
Before dispatching, build the agent's briefing. If you can't fill in ALL of these, the agent isn't ready:
AGENT BRIEF:
─────────────────────────────────────
ROLE: "You are a [domain] specialist working on [project]"
MISSION: [One specific deliverable — be precise]
CONTEXT (the agent's entire world):
- FILES TO READ: [List exact file paths — not "check the repo"]
- ANTI-PATTERNS: [Paste relevant entries from anti-patterns.md — not just "check anti-patterns"]
- PROJECT MEMORY: [Paste relevant sections — agent can't access ~/.claude/memory/]
- DOMAIN RULES: [If touching domain logic, paste the FULL spec — not a pointer]
VERIFIED FACTS (constants the agent must NOT re-derive):
- [Any numbers, stats, decisions already established in this session]
- [E.g., "There are 71 events in the backtest. Do not count them yourself."]
GUARDRAILS:
- DO NOT: [Specific things that have gone wrong before]
- DO NOT: modify, overwrite, or delete any data files
- DO NOT: re-derive numbers that are given as verified facts above
- IF UNCERTAIN: return "UNCERTAIN: [what you're unsure about]" instead of guessing
OUTPUT FORMAT:
- [Exact structure expected — e.g., "Return a JSON object with keys: ..."]
- [If returning numbers, include how you computed each one]
- [Include confidence level: HIGH/MEDIUM/LOW for each finding]
SELF-CHECK BEFORE RETURNING:
- Did I answer the specific mission, not a related-but-different question?
- Do my numbers match the verified facts I was given?
- Did I flag anything I'm uncertain about?
─────────────────────────────────────
An agent dispatch is only worth it if the agent will be BETTER than doing it yourself. That means:
When agents must be sequential (Agent B needs Agent A's output):
# Agent A runs first, returns results
agent_a_results = {
"verified_count": 36,
"verified_pnl": "+42.21u",
"key_finding": "R2 bets are -10.4% ROI"
}
# Agent B gets Agent A's results as CONSTANTS in its briefing
AGENT B BRIEF:
- VERIFIED INPUT (from prior analysis):
- Round bets: 36 total, +42.21u
- R2 ROI: -10.4%
- YOUR TASK: Build a display table using THESE numbers (do not recompute)
tools
Unified context management and session continuity skill. Combines total-recall, strategic-compact, /ledger, and session continuity. Runs in background to preserve critical context across compaction and sessions.
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suggest /ultraplan for complex planning tasks on Claude Code CLI (2.1.91+ only). Research preview.
tools
UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.