wave-based-dispatch

A planning method for dependent work chains, where one work item needs the files, types, or results produced by an earlier item.

In plain words
What is it for?
Sequencing research, implementation, and follow-up tasks; coordinating shared files; and deciding when work can proceed to the next wave.
Why use it?
It prevents later work from starting with missing inputs and defines checks between successive groups of tasks.

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/wave-based-dispatch
Any agent
npx skills add laurigates/claude-plugins --skill wave-based-dispatch
Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins

Made for: Claude Code, Codex.

Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,517 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.00039 $0.03517
Opus 5 $0.00019 $0.01758
Sonnet 5 $0.00008 $0.00703
Haiku 4.5 $0.00004 $0.00352

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

Security

Grade A, and why

wave-based-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/wave-based-dispatch/SKILL.md · 252 lines

How it starts

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

Wave-Based Dispatch

The agent-side dispatch discipline for sequential WO chains. Same pillars as parallel-agent-dispatch — disjoint ownership, return contracts, shared-file exclusion — but the gates between waves are different from the gates inside a wave. This skill is those between-wave gates.

When to Use This Skill

Use wave-based dispatch when… Use parallel-agent-dispatch alone when… Use exclusive-lock-dispatch when…
A later WO needs a file, type, or API the earlier WO defines All WOs operate on disjoint, lock-free scopes One tool holds an exclusive lock and N agents need its outputs
A research probe (Ghidra decomp, spec experiment, API trace) gates downstream scope Scope is fully known up front Lock-holder is slow enough to amortise via pre-dump
Two candidate agents would both modify the same shared manifest / tracker / build file Shared-file exclusion list is small and stable Pre-computed artefacts can replace re-running the lock holder
A bug surfaced during orchestrator-apply needs the same context as the dispatched agent Issues are recoverable inside a single wave Lock contention is the only sequencing reason

The three skills compose: each wave is itself a parallel-agent-dispatch, lock-holding waves use exclusive-lock-dispatch for the pre-dump, and this skill covers the boundary between waves.

Picking Wave-Based Over Parallel

Trigger Why parallel fails Wave-based response
Dependency chain — WO-B imports types from WO-A WO-B's brief is stale before WO-A lands; the agent guesses or stalls WO-A in wave 1, WO-B in wave 2 referencing WO-A's landed paths
Shared lock — Ghidra project, taskwarrior bulk modify, single-writer cache Second concurrent invocation fails with a lock error; orchestrator burns a turn diagnosing Lock holder runs alone in its wave; downstream waves read pre-dumped artefacts
Orchestrator-edit contention — multiple agents return verbatim patches against the same CMakeLists.txt / justfile / manifest Last-writer-wins silently loses the earlier edit; merge conflicts pile up at apply time Stage edits to those files between waves so the orchestrator applies them serially

Read the full file on GitHub · 252 lines

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 · 252 lines · 39 tokens per session scan A eaa11de1d9e1

Subscribe to this mod's changes

wave-based-dispatch is a skill published in the GitHub repository laurigates/claude-plugins (54 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 3,517 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.