agent-briefing
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when two or more problems can each be solved without the others' results or shared state, such as unrelated test failures in separate subsystems, independent investigations, or separate modules with no common files.
Claude Code
$ npx -y skills add NoobyGains/godmode --skill parallel-execution --agent claude-code
Codex
$ npx skills add NoobyGains/godmode --skill parallel-execution -a codex -y
Cursor
$ npx skills add NoobyGains/godmode --skill parallel-execution -a cursor -y
Gemini CLI
$ npx skills add NoobyGains/godmode --skill parallel-execution -a gemini-cli -y
GitHub Copilot
$ npx skills add NoobyGains/godmode --skill parallel-execution -a github-copilot -y
OpenCode
$ npx skills add NoobyGains/godmode --skill parallel-execution -a opencode -y
Windsurf
$ npx skills add NoobyGains/godmode --skill parallel-execution -a windsurf -y
name: parallel-execution description: "Use when two or more problems can each be solved without the others' results or shared state, such as unrelated test failures in separate subsystems, independent investigations, or separate modules with no common files."
When several problems are genuinely independent, working them one after another wastes wall-clock time and fills one context with unrelated detail. Give each problem its own agent with a focused brief, let them run at the same time, and reconcile the results yourself.
**Core principle: one agent per independent problem domain, independence proven before dispatch, and a full test run after reconciliation.** Parallelism is only safe when nothing is shared; the check comes first, not after the merge conflict.
NO PARALLEL DISPATCH UNTIL INDEPENDENCE IS PROVEN AND ISOLATION IS IN PLACE
No exceptions. No workarounds. No shortcuts.
**Required:**
**Skip:**
1. **Enumerate the problems.** One line each: what is broken or wanted, and the evidence (failing test names, error text, the request).
2. **Map each to its domain.** For every problem, list the files it will likely read and write, the commands it will run, and any state it touches (test database, port, cache directory, lockfile, generated code).
3. **Prove independence.** Build a small table: rows are problems, columns are write sets and shared resources. Any overlap in written files or touched state means those problems are not independent; merge them into one domain or run them in sequence. Write the table down; it is the evidence for the decision.
digraph independence {
"Problems listed" -> "Write sets overlap?";
"Write sets overlap?" -> "Merge into one domain or run in sequence" [label="yes"];
"Write sets overlap?" -> "Shared state (DB, port, cache)?" [label="no"];
"Shared state (DB, port, cache)?" -> "Isolate the state or run in sequence" [label="yes"];
"Shared state (DB, port, cache)?" -> "Read-only work?" [label="no"];
"Read-only work?" -> "Dispatch in parallel, same checkout" [label="yes"];
"Read-only work?" -> "One worktree per agent, then dispatch" [label="no"];
}4. **Put isolation in place.** Read-only investigations can share the checkout. Any agent that writes gets its own worktree (`godmode:workspace-isolation`, or the harness's built-in per-subagent worktree option where it has one) so that a mistaken edit outside the expected files cannot clobber another agent's work. Confirm each worktree exists and its baseline is known before dispatch.
5. **Write one brief per agent** using `godmode:agent-briefing`. Each brief names: the single problem; the evidence (error text, test names, verbatim); the files in scope and the files out of scope; constraints ("do not change production code", "do not raise timeouts"); the exact verification command; the report-file path; and "do not dispatch subagents". Choose each agent's model and effort per `godmode:model-routing` and name both on the dispatch.
6. **Dispatch all of them in the same turn,** so they run concurrently. One per turn is sequential execution with extra overhead.
7. **Wait without burning context.** Do local work while they run. When idle, wait in bounded stretches; between stretches, check for agents that finished without reporting.
8. **Read the short replies, then the report files** only where a reply raises a concern. Each report says: root cause, what changed, files, verification command and output.
9. **Reconcile.** For each agent:
10. **Run the full suite** on the integrated result, not the per-agent subsets. Green per agent proves nothing about the combination. Read the output.
11. **Report** to the user: per problem, the root cause and the fix; the reconciliation (conflicts found, how resolved); the full-suite result with counts. Then hand off to `godmode:code-review` or `godmode:merge-protocol` as the work requires.
Role: You are fixing one problem in [repo], in [worktree path]. Problem: [one sentence] Evidence: [failing test names and error text, verbatim] In scope: [files you may change] Out of scope: [everything else; do not change] Constraints: [for example: find the real cause; do not raise timeouts; do not edit tests to pass] Verify with: [exact command]; it must pass and its output must be clean. Do not dispatch subagents. Report: write root cause, changes, files, the command and its output to [REPORT_FILE]; reply with status (DONE | BLOCKED | NEEDS_CONTEXT), commits, one-line test result, concerns.
| Rationalisation | Truth | |---|---| | "These look unrelated, n
Engineering discipline for AI coding agents: question the request, verify against current docs, plan, build test-first on the cheapest capable model, review with a second model family, prove it before saying done. One repo for Claude Code, Codex, Antigravity, Cursor, Gemini CLI and OpenCode.
Use when writing a prompt for a subagent or teammate, deciding how much context another agent needs, writing or reading a handoff…
Use when a task, feature or bug fix is implemented and before it is committed, merged or handed back to the user, and when the…
Use when about to add or change code in an existing codebase: a new file, module, route, component, service, test, migration,…
Use when about to say that work is done, fixed, passing, working, deployed or ready, before committing, opening or merging a pull…
Use when a reviewed change is about to land on a shared branch, be released or be deployed, and when the user asks for a second…
Use when a written implementation plan is ready to execute in the current session and its tasks are mostly independent, so each…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration