/dev-vitals:dispatching-parallel-agentsfrom dev-vitals
Dispatches parallel agents to investigate multiple independent failures or tasks concurrently, each with isolated context.
Ships in dev-vitals. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.
graph TD
MultipleFailures{"Multiple failures?"}
AreIndependent{"Are they independent?"}
SingleAgent["Single agent investigates all"]
OneAgent["One agent per problem domain"]
CanParallel{"Can they work in parallel?"}
Sequential["Sequential agents"]
Parallel["Parallel dispatch"]
MultipleFailures -->|yes| AreIndependent
AreIndependent -->|"no - related"| SingleAgent
AreIndependent -->|yes| CanParallel
CanParallel -->|yes| Parallel
CanParallel -->|"no - shared state"| Sequential
Use when:
Don't use when:
Group failures by what's broken:
Each domain is independent — fixing tool approval doesn't affect abort tests.
Each agent gets:
Send ALL agent calls in a single message. This is the only way they run concurrently. Making one Agent call, waiting, then another is sequential.
When agents return:
Good agent prompts are:
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
Do NOT just increase timeouts - find the real issue.
Return: Summary of what you found and what you fixed.
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"
Vague output: "Fix it" — you don't know what changed Specific: "Return summary of root cause and changes"
After agents return:
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub yeaight7/agent-powerups --plugin dev-vitals16 skills in this plugin
/agent-harness-designUse when designing tool definitions for a new agent or subagent, an agent shows high retry rates, ambiguous tool invocations, or silent failures, or an existing agent harness needs a quality review./agent-runtime-patternsUse when optimizing agent runtime loops, card packs, MCP session lifecycle, tool-call count, or multi-agent orchestration patterns./agent-session-forensicsUse when diagnosing agent session history, interrupted tool loops, missing tool results, timing bottlenecks, or subagent trace correlation./brainstormingUse when starting any creative work — creating features, building components, adding functionality, or modifying behavior — before any implementation begins./context-compressionUse when conversation context is bloated, constraints are being forgotten, or a compact handoff is needed before continuing work./context-minimizationUse when a task runs long and the context window is filling -- large files are being read whole, command output is flooding the transcript, or responses are getting verbose and slow.Other plugins' skills for the same job