subagent-dispatch

subagent-dispatch is a skill for Claude Code, Codex from kitchen-engineer42/joharnessburg. It costs 52 tokens per session (2,285 once invoked), scanned A, original, MIT.

A guide for dividing large, repeated work across subagents, such as processing many entries or generating many files.

In plain words
What is it for?
Use it to plan parallel work, brief workers consistently, and select a suitable scale-out method for dozens, hundreds, or thousands of similar tasks.
Why use it?
It helps keep the main conversation manageable by choosing between a few inline workers, one large parallel run, or several batches.

Skill for Claude CodeCodex

Part of the john plugin — 28 skills, 5 commands, 5 agents, 3 hooks 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/kitchen-engineer42/joharnessburg/subagent-dispatch
Any agent
npx skills add kitchen-engineer42/joharnessburg --skill subagent-dispatch
Clone the repo
git clone --depth 1 https://github.com/kitchen-engineer42/joharnessburg

Made for: Claude Code, Codex.

Or install john, the plugin that ships this one along with the rest of its 28 skills, 5 commands, 5 agents, 3 hooks.

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 subagent-dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/kitchen-engineer42/joharnessburg/subagent-dispatch.svg)](https://agentmods.dev/skills/kitchen-engineer42/joharnessburg/subagent-dispatch)
Your own site
<a href="https://agentmods.dev/skills/kitchen-engineer42/joharnessburg/subagent-dispatch"><img src="https://agentmods.dev/badge/skills/kitchen-engineer42/joharnessburg/subagent-dispatch.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,285 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.00052 $0.02285
Opus 5 $0.00026 $0.01143
Sonnet 5 $0.00010 $0.00457
Haiku 4.5 $0.00005 $0.00229

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

Security

Grade A, and why

subagent-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 5d 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.

plugins/joharnessburg/skills/subagent-dispatch/SKILL.md · 134 lines

How it starts

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

subagent-dispatch

Subagents are the vertical axis. Your main session is the horizontal axis. Getting the line between them right is what makes John work at hundreds of knowledge entries instead of melting your context.

Three tiers: inline subagent, one scale-out run, or batched runs

Before how to dispatch, decide the mechanism by the size and shape of the fan-out:

a few units, result needed in your context       → inline subagent (dispatch in waves yourself)
dozens–hundreds, uniform per-entry work           → one provider-native scale-out run
thousands                                         → batched scale-out runs per chunk-range,
                                                       all writing to the same event log

A scale-out run fans out the same subagents, keeps their results off the main context, adversarially cross-checks them, and returns only a summary. In Claude Code, use a dynamic workflow per [[vertical-workflows]]. In Codex, use native waves over the durable run ledger per [[codex-vertical-workflows]]. This skill covers the inline tier and the briefing discipline all engines share.

In Claude Code, check dynamic-workflow availability before the first fan-out and follow [[vertical-workflows]] when it is misconfigured or absent. In Codex, create the run ledger first and dispatch native waves per [[codex-vertical-workflows]]. Both branches emit the same events and reduce to the same checkpoint. Record the engine choice in PLAN.md either way. The rest of this skill is the inline mechanism and the briefing rules.

When to spawn a subagent

Three triggers, in order of clarity:

  1. Per-entry work that fits one context window per entry but doesn't fit yours in aggregate. Classic case: 200 chunks to extract knowledge from. Each chunk is small; 200 of them through your context is not.
  2. Work where you want a context firewall. Some tasks produce large intermediate state (a 50KB raw extraction) that you don't need in your context — you only need the digest. The subagent handles the raw; you see the summary.
  3. Work that benefits from a tighter persona or cheaper model. A subagent can be given a narrow role ("you are a knowledge extractor; here is the schema; here is one chunk; emit entries to the event log and return a one-line digest") that focuses its output. John core delegates model selection to the active runtime; request the cheapest viable model when dispatching. Templates that need workerLLMs through external clients wire those themselves.

Read the full file on GitHub · 134 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. 5d ago First seen · 134 lines · 52 tokens per session scan A 63777a918bdc

Subscribe to this mod's changes

subagent-dispatch is a skill published in the GitHub repository kitchen-engineer42/joharnessburg (9 stars, last pushed 1mo ago), licensed MIT. It adds 52 tokens to every session and 2,285 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-31.