_dispatch

A routing system that chooses which coding skill should run before the assistant responds. It matches situations such as new features, bugs, security-sensitive changes, performance problems, and documentation work to named skills.

In plain words
What is it for?
Use it to route feature work to test-driven development, errors to debugging, security-sensitive changes to security review, and public API changes to documentation. It also routes code reviews, performance work, simplification, verification, and commits.
Why use it?
It provides a consistent response process when a task could require specialized checks. It also defines extra handling for risky ambiguity and for completing or shipping work.

Skill for Claude CodeCodex

Part of the epic plugin — 27 skills 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/epicsagas/epic-harness/_dispatch
Any agent
npx skills add epicsagas/epic-harness --skill _dispatch
Clone the repo
git clone --depth 1 https://github.com/epicsagas/epic-harness

Made for: Claude Code, Codex.

Or install epic, the plugin that ships this one along with the rest of its 27 skills.

Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,792 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.00026 $0.02792
Opus 5 $0.00013 $0.01396
Sonnet 5 $0.00005 $0.00558
Haiku 4.5 $0.00003 $0.00279

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

Security

Grade A, and why

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

skills/_dispatch/SKILL.md · 196 lines

How it starts

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

Skill Dispatch Engine

CRITICAL: When accessing harness data, run HARNESS_DIR=$(epic-harness path) first. NEVER use .harness/ in the project directory.

You have access to the following skills. Invoke the matching skill BEFORE responding or taking action. Even a 1% chance of relevance means you should invoke it.

Dispatch Rules

Context Signal Invoke Skill
New feature implementation starting tdd
Test failure, error, or unexpected behavior debug
Auth, DB, API, infra, or secrets code touched secure
Loops, queries, rendering, or data processing code perf
File > 200 lines or high cyclomatic complexity simplify
Public API/function added or changed document
Before completing /go or /ship verify
User wants to commit changes commit
Context window > 70% used context
User request is vague, unfocused, or presents a solution without a clear problem discover
User shares code for review, mentions code smells, or asks to refactor/analyze epistemeanalyze_code + suggest_refactorings → feed results into go:plan mode
User invokes /reflect, asks about AI usage quality, "am I using AI well", "thought amplifier", or requests AI usage self-assessment reflect
Session start (project has harness-mem psychographic node) Call mem_query type=psychographic → apply 5-dimension profile to all subsequent skill dispatch
Orchestration run active ($HARNESS_DIR/orchestrator/run.json exists with status "running") orchestrate
Agent tool output received with inter-agent message orchestrate
User runs /intervene orchestrate
요구사항 정의 필요, 스펙 없음 spec
빌드/구현 시작, 스펙 승인됨 go
리뷰/감사/테스트 필요 audit
PR 생성 / CI / 배포 준비 ship

Alias Routing

Users can still type legacy command names. Map them:

  • /spec → invoke skill spec directly
  • /go → invoke skill go directly
  • /audit → invoke skill audit directly
  • /ship → invoke skill ship directly
  • /discover → invoke skill discover directly
  • /intervene → invoke skill orchestrate (intervene mode)
  • /status → invoke skill orchestrate (status mode)

Read the full file on GitHub · 196 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 · 196 lines · 26 tokens per session scan A 83bbeb4c09b0

Subscribe to this mod's changes

_dispatch is a skill published in the GitHub repository epicsagas/epic-harness (17 stars, last pushed 3d ago), licensed Apache-2.0. It adds 26 tokens to every session and 2,792 once invoked, about $0.0001 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens