parallel-agent-dispatch

A dispatch guide for running multiple coding agents at the same time on separate pieces of work.

In plain words
What is it for?
Planning parallel investigations or implementations, defining ownership and return requirements, isolating worktrees, and deciding when a task should run alone.
Why use it?
It reduces conflicts from shared files, overflowing task scope, dirty worktrees, and agents that stop without reporting results.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/laurigates/claude-plugins/parallel-agent-dispatch
Any agent
npx skills add laurigates/claude-plugins --skill parallel-agent-dispatch
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code, Codex.

Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00037 $0.06138
Opus 5 $0.00018 $0.03069
Sonnet 5 $0.00007 $0.01228
Haiku 4.5 $0.00004 $0.00614

Measured 2d ago against content hash b6889602d678, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

parallel-agent-dispatch scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agent-patterns-plugin/skills/parallel-agent-dispatch/SKILL.md · 431 lines

How it starts

The opening of the file, as written. The whole thing — 431 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Parallel Agent Dispatch

Conventions that apply every time more than one agent runs in parallel. Prevents the top failure modes observed across real multi-agent sessions: dirty-worktree cross-contamination, context overflow mid-task, and silent exits that require manual salvage from orphan branches.

Supporting material is split across references/ by the path that needs it; REFERENCE.md is the index. Sections below link the specific file.

When to Use This Skill

Use this skill when... Use agent-teams instead when...
Spawning >1 agent via plain Agent tool fan-out (N concurrent invocations) Single-agent delegation or one-off subagent spawn
Using the implicit team + teammate spawn for coordinated parallel work A simple background task with no parallel siblings
Running worktree-isolated parallel implementation across repos/features A read-only inline subagent that does not write to disk
Coordinating parallel investigation or audit swarms The work fits in the current session without forking

Dispatch from the Main Thread When Possible

Agent and other parallel-spawn tools may be absent from a sub-agent's sandbox even when available in the main conversation, so designing a fan-out from inside a coordinating sub-agent risks silent degradation to sequential execution.

  • Default: dispatch from the main conversation — the full tool surface is guaranteed.
  • Sub-agent orchestrator: only when the team's outputs need not feed back into the main thread. Brief it to verify tool availability up front and report sequential fallback as a first-class outcome (agent-teams → "Sub-Agent Caveat").

The Three Pillars

1. Worktree Preflight

Before spawning, the orchestrator must verify:

Check Rationale
Main working tree is clean (git status --porcelain empty) Agents inherit cwd; uncommitted changes cross-contaminate worktrees
No existing worktree at each planned path (git worktree list) Nested or duplicate worktrees are the #1 source of salvage work
Each agent gets a unique branch name Prevents commits landing on the wrong branch when cwd resolution drifts
Fixed target branch name not already taken (see Target-branch preflight below) A conventional per-issue/milestone name is one two sessions pick identically; the collision otherwise surfaces only at end-of-task rename
Shared counters snapshot (next ADR/PRP number, feature-tracker IDs) Prevents numbering collisions in parallel doc writes

Read the full file on GitHub · 431 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 431 lines · 37 tokens per session scan A b6889602d678

Subscribe to this mod's changes

parallel-agent-dispatch is a skill published in the GitHub repository laurigates/claude-plugins (54 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 6,138 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

a0-review-plugin

Full audit of Agent Zero plugins in usr/plugins/. Reviews manifest validity, directory structure, code patterns (Store Gating, notifications, imports), security, and duplicate detection against the community index. Use when asked to review, audit, validate, or check an existing plugin before using or contributing it.

agent0ai/agent-zero · 64 tokens

dev-environment-bootstrapping

Use this skill when the user asks to bootstrap, set up, create, or initialize a Shopware development environment from scratch — phrases like "set up a Shopware dev environment", "clone and install Shopware", "initialize a Shopware plugin project", "bootstrap Shopware and a new plugin called X", "get a fresh Shopware…

shopwareLabs/ai-coding-tools · 144 tokens

phpunit-integration-to-unit-migrating

Use this skill ONLY when the user explicitly requests an audit, migration, or evaluation of whether a Shopware integration test belongs in the unit suite — trigger phrases like "audit integration tests", "migrate integration tests to unit", "is this an integration test or a unit test", "evaluate integration tests for…

shopwareLabs/ai-coding-tools · 152 tokens

commit-message-writing

Use this skill when the user explicitly asks to generate, write, draft, or create a commit message, squash commit, commit title, or merge commit message for the Shopware core repository (shopware/shopware). Supports two modes — full commit messages (title + body) for branch commits, and squash merge titles…

shopwareLabs/ai-coding-tools · 160 tokens

hermes-diagnostic-review

Use when running a read-only diagnostic review of recent Hermes sessions to find recurring mistakes, failed tool calls, and repeated fixes, then propose suggestion-only improvements and reusable skills. Human-gated; never auto-applies.

AtlasOmnia/hermes-custom-pack · 49 tokens

a0-manage-plugin

Manage Agent Zero plugins lifecycle: browse the Plugin Hub, scan for security, install from Git/ZIP/Plugin Hub, update, uninstall, enable, disable, debug, and troubleshoot. Use when asked to install, update, uninstall, remove, scan, find, search, enable, disable, debug, or troubleshoot a plugin.

agent0ai/agent-zero · 72 tokens