From godmode
Use when facing 2+ tasks that share no state and have no sequential dependencies - enables concurrent investigation or implementation by dispatching one agent per isolated problem domain
npx claudepluginhub noobygains/godmode --plugin godmodeThis skill uses the workspace's default tool permissions.
When multiple distinct failures appear across separate subsystems, tackling them one after another wastes time. Each investigation is self-contained and can run simultaneously.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Share bugs, ideas, or general feedback.
When multiple distinct failures appear across separate subsystems, tackling them one after another wastes time. Each investigation is self-contained and can run simultaneously.
Core principle: Assign one agent per isolated problem domain. Let them operate concurrently.
NO CONCURRENT DISPATCH WITHOUT CONFIRMING ISOLATION
No exceptions. No workarounds. No shortcuts.
digraph dispatch_decision {
"Multiple problems?" [shape=diamond];
"Are they isolated?" [shape=diamond];
"Single agent handles all" [shape=box];
"One agent per domain" [shape=box];
"Can they run concurrently?" [shape=diamond];
"Sequential agents" [shape=box];
"Parallel dispatch" [shape=box];
"Multiple problems?" -> "Are they isolated?" [label="yes"];
"Are they isolated?" -> "Single agent handles all" [label="no - coupled"];
"Are they isolated?" -> "Can they run concurrently?" [label="yes"];
"Can they run concurrently?" -> "Parallel dispatch" [label="yes"];
"Can they run concurrently?" -> "Sequential agents" [label="no - shared state"];
}
Appropriate when:
Not appropriate when:
Classify failures by root cause area:
Each domain is self-contained — fixing permissions has no bearing on cancellation tests.
Each agent receives:
// Dispatch parallel agents using the Agent tool in Claude Code
Agent("Fix permission-validation.test.ts failures")
Agent("Fix queue-drain-behavior.test.ts failures")
Agent("Fix cancellation-handling.test.ts failures")
// All three execute at the same time
When agents complete:
Effective agent briefs share these qualities:
Resolve the 3 failing tests in src/workers/queue-drain.test.ts:
1. "should drain remaining items on shutdown" - expects empty queue, finds 2 items
2. "should handle mixed priorities during drain" - high-priority item processed last
3. "should report drain metrics accurately" - expects 3 metrics but receives 0
These stem from async drain ordering. Your assignment:
1. Read the test file and understand the intended behavior
2. Determine root cause - ordering bug or stale test assumptions?
3. Fix by:
- Implementing deterministic drain ordering
- Correcting production bugs if found
- Updating test expectations if behavior legitimately changed
Do NOT just add delays or increase timeouts - identify the underlying issue.
Return: Root cause analysis and description of changes made.
Too broad: "Fix all the tests" — the agent loses focus Focused: "Fix queue-drain.test.ts" — narrow scope
No context: "Fix the ordering bug" — the agent has no starting point Contextual: Paste error messages and failing test names
No boundaries: Agent may restructure unrelated code Bounded: "Do NOT modify production code outside src/workers/"
Vague output request: "Fix it" — you have no idea what changed Specific output request: "Return root cause summary and list of modified files"
| Rationalization | Truth |
|---|---|
| "They're probably isolated enough" | Confirm isolation explicitly or agents will collide. |
| "We'll reconcile conflicts later" | Merge conflicts from concurrent agents are harder than sequential work. |
| "More agents = faster delivery" | Agents editing shared files = wasted effort and broken merges. |
| "The scope is self-evident" | Vague briefs yield vague outcomes. Specify scope, boundaries, and output. |
| "One agent can handle everything" | An agent with too wide a scope gets lost. Divide by domain. |
Coupled failures: Resolving one may cascade fixes to others — investigate holistically first Holistic understanding required: Comprehension demands seeing the full system Exploratory debugging: The problem space is unknown Shared resources: Agents would conflict (same files, same databases, same services)
Situation: 8 test failures across 3 files after a major refactor
Failures:
Judgment: Isolated domains — auth validation, queue drain, and cancellation logic are unrelated
Dispatch:
Agent 1 -> Fix permission-validation.test.ts
Agent 2 -> Fix queue-drain-behavior.test.ts
Agent 3 -> Fix cancellation-handling.test.ts
Outcomes:
Reconciliation: All fixes touched separate files, zero conflicts, full suite green
Value: Three problems solved concurrently instead of sequentially
After agents return:
godmode:merge-protocol to land the workProhibited:
Mandatory:
godmode:team-orchestration:
godmode:delegated-execution:
godmode:agent-messaging: