code-dispatch

code-dispatch is a skill for Claude Code, Codex from aaronnat23/disp8ch. It costs 0 tokens per session (671 once invoked), scanned A, original, MIT.

A delegation guide for sending coding, file, and research work to a command-line agent running on your computer. The main agent coordinates while the local specialist handles repository work and tools.

In plain words
What is it for?
Use it for multi-file coding tasks, refactors, scaffolding, migrations, repository research, and test runs with a local CLI agent.
Why use it?
It keeps large tasks from filling the main agent's context and allows work that needs multiple file changes, tests, Git, compilers, or package managers.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; mentions Codex.

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

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaronnat23/disp8ch/code-dispatch.svg)](https://agentmods.dev/skills/aaronnat23/disp8ch/code-dispatch)
Your own site
<a href="https://agentmods.dev/skills/aaronnat23/disp8ch/code-dispatch"><img src="https://agentmods.dev/badge/skills/aaronnat23/disp8ch/code-dispatch.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 671 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.1 $0.00000 $0.00671
Opus 5 $0.00000 $0.00336
Sonnet 5 $0.00000 $0.00134
Haiku 4.5 $0.00000 $0.00067

Measured 2d ago against content hash 984b83592a54, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

code-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.

skills/code-dispatch/SKILL.md · 69 lines

How it starts

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

Code Dispatch (ACP-style Coding Agent Delegation)

Delegate coding, file-system, and research tasks to a real CLI agent running on the user's machine. The orchestrator stays clean — no token overhead, no context window bloat. The specialist executes.

When to use

  • Complex coding tasks that require multi-file edits, running tests, or reading the repo
  • File-system operations beyond simple read/write (refactors, scaffolding, migrations)
  • Research tasks that benefit from live CLI tools (git, grep, compilers, package managers)
  • Any task where Claude Code's local tools + MCP servers give better results than inline agent calls

Rules

Agent ID: Always agent: "claude" (not "claude-code"). Use "gemini" or "codex" only when explicitly requested.

Mode selection by channel:

  • Discord: mode: "session" + thread: true for multi-step work; mode: "run" for one-shot
  • Telegram / WhatsApp / Slack / Teams / BlueBubbles / WebChat: Always mode: "run" — async thread binding is not available on these channels

Permission mode:

  • permission_mode: "approve-reads" (default): allows reads, prompts for writes/exec — safe for most tasks
  • permission_mode: "approve-all": auto-approves all tool calls — only use for trusted, well-defined tasks
  • permission_mode: "deny-all": read-only (Read, Glob, Grep, LS only) — use for audits or safe exploration

Timeout: Always set timeout_seconds (default 120, max 300). For complex refactors use 300.

Never nest: Do not call sessions_spawn from within a spawned session. The orchestrator dispatches; the specialist does the work.

Working directory: Always specify cwd pointing to the relevant project directory.

Example — Discord multi-step session

{
  "tool": "sessions_spawn",
  "agent": "claude",
  "mode": "session",
  "thread": true,
  "permission_mode": "approve-all",
  "cwd": "/path/to/project",
  "task": "Refactor the auth module to use JWT. Run tests after each file change.",
  "timeout_seconds": 300,
  "label": "Auth JWT refactor"
}

Read the full file on GitHub · 69 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 · 69 lines · 0 tokens per session scan A 984b83592a54

Subscribe to this mod's changes

code-dispatch is a skill published in the GitHub repository aaronnat23/disp8ch (98 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 671 tokens. 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-09-03.

Related

Other skills, from other repositories