dos-dispatch

dos-dispatch is a skill for Claude Code, Codex from anthony-chaudhary/dos-kernel. It costs 56 tokens per session (2,738 once invoked), scanned A, original, MIT.

A workflow for moving one work lane from discovery to delivery by taking a temporary lease, checking that work is safe to start, sending the work packet, and archiving the run.

In plain words
What is it for?
Use it to choose an available lane, reserve it, snapshot its work, run safety checks, dispatch the next packet, and archive the result.
Why use it?
It prevents multiple agents or processes from editing the same lane at once and avoids starting empty or conflicting work.

Skill for Claude CodeCodex

Part of the dos-kernel plugin — 18 skills, 3 hooks, 1 MCP server shipped together

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/anthony-chaudhary/dos-kernel/dos-dispatch
Any agent
npx skills add anthony-chaudhary/dos-kernel --skill dos-dispatch
Clone the repo
git clone --depth 1 https://github.com/anthony-chaudhary/dos-kernel

Made for: Claude Code, Codex.

Or install dos-kernel, the plugin that ships this one along with the rest of its 18 skills, 3 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dos-dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-dispatch.svg)](https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-dispatch)
Your own site
<a href="https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-dispatch"><img src="https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-dispatch.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,738 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.00056 $0.02738
Opus 5 $0.00028 $0.01369
Sonnet 5 $0.00011 $0.00548
Haiku 4.5 $0.00006 $0.00274

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

Security

Grade A, and why

dos-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 3d 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.

claude-plugin/skills/dos-dispatch/SKILL.md · 213 lines

How it starts

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

dos-dispatch — the generic chained snapshot→ship cycle

The concurrency-safe dispatch. It chains /dos-next-up (the packet) to a ship, but first takes a lane lease through the admission kernel so several dispatches on disjoint lanes run in parallel without editing the same files. The "may I run on this lane" decision is the kernel's (dos arbitrate), not inline prose. Every path/lane comes from dos doctor --json; nothing is hardcoded.

The shape: discover → take a lane → snapshot → gate → ship → archive. The lane taxonomy and the run-dir location are data ([lanes], [paths]); the admission and the gate verdict are kernel syscalls.

Inputs

  • --lane <name> (optional) — the lane to dispatch on (a name from the active [lanes]). Omitted = a bare auto-pick: the arbiter picks a free lane from the autopick ladder.
  • --leases <json> (optional) — the live leases other dispatches hold, as a JSON list of {lane, lane_kind, tree} (the arbiter keys exclusivity on lane_kind, so include it — cluster/keyword/global). In a real loop these come from a status query; for a single dispatch this is usually [].

Step 0 — Discover the layout + the lane taxonomy

dos doctor --workspace . --json

Read lanes (the taxonomy), paths.next_packets (packet output), and paths.runs (the run dir to archive under). Use these; never hardcode a lane name or a run path.

Step 1 — Take a lane lease (the admission kernel)

Ask the kernel whether this dispatch may run on the requested lane, given the live leases. The arbiter runs the tree-disjointness algebra over the lanes' declared trees — two dispatches on disjoint trees both ADMIT; overlapping trees COLLIDE.

dos arbitrate --workspace . --lane <LANE> --kind cluster --leases '<LIVE_LEASES>'

Read the LaneDecision JSON: {outcome, lane, tree, reason, free_clusters, …}.

  • outcome: "acquire" → admitted. lane is the lane to run on (may differ from the request when auto-pick reassigned it); tree is its file tree. Proceed.
  • outcome: "refuse" → not admitted. reason explains why; free_clusters lists lanes you could pick instead. Stop (or retry on a free lane). Do not force — --force is an operator-only override, not an automation default.

Read the full file on GitHub · 213 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. 3d ago First seen · 213 lines · 56 tokens per session scan A be802f8f7d37

Subscribe to this mod's changes

dos-dispatch is a skill published in the GitHub repository anthony-chaudhary/dos-kernel (19 stars, last pushed 9d ago), licensed MIT. It adds 56 tokens to every session and 2,738 once invoked, about $0.0003 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.