/apex-dispatch:route plan <plan.md> --line N [--lanes L1,L2] [--dry-run] | adhoc --tags <csv> [--paths <globs>] [--acceptance <cmd>] [--dry-run]from apex-dispatch
Route one plan task or an ad-hoc ask through apex-dispatch's route.sh and print the ROUTE block (class, tier, model, effort, provider, roster, fan-out, review shape, budgets). Pass `plan <PLAN> --line N` or `adhoc --tags <csv> [--paths <globs>] [--acceptance <cmd>]` as $ARGUMENTS; add --dry-run to preview without writing state.
Ships in apex-dispatch. Installing the plugin adds it to Claude Code.
You are routing with apex-dispatch for $ARGUMENTS.
${CLAUDE_PLUGIN_ROOT}/scripts/route.sh $ARGUMENTS from the repository root.
$ARGUMENTS starts with neither plan nor adhoc: when it is a path to a plan file, run iterate.sh through /apex-scope-loop:iterate instead (it routes the next unblocked task itself); when it is a request in words, do not pass the words to route.sh. Ad-hoc asks take caller-supplied tag tokens only (--tags docs, --tags tests,backend), never free text. Ask the user for the tags, the owned paths and a runnable Acceptance command, then run route.sh adhoc --tags … --paths … --acceptance ….--adhoc (spec spelling) means the adhoc subcommand.dispatch-route skill:
READY (not --dry-run): the route is recorded in active-route.json and the ledger, and the ACTIVE lock is held for this plan or ad-hoc id. Say whether ROUTE_ENFORCED is yes or no (shadow mode). Offer /apex-dispatch:run to drive it.NEEDS_SPEC: report ROUTE_MISSING and what the plan owner must add. Nothing is dispatched.HUMAN_GATE, HALTED, BUSY: report the status and ROUTE_REASON verbatim and stop.ROUTE: none: APEX_DISPATCH_MODE=off; routing is the orchestrator's 0.2.0 choice.Exit codes: every status exits 0; 1 is an error (bad policy, unreadable plan, apex-scope-loop not found beside apex-dispatch — set APEX_SCOPE_LOOP_ROOT); 2 is a usage error. Quote any error verbatim.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
6 commands in this plugin
/compileCompile apex-dispatch's routing policy (compile.sh) into its committed artifacts — compiled policy, generated agents, settings snippet, hooks.json — or check them for staleness (--check), print this repo's overlay-merged policy (--print-merged), validate an overlay (--overlay PATH), or render the codex-side mirror (--target codex). Pass the mode as $ARGUMENTS; empty means --check./doctorRun apex-dispatch's preflight (doctor.sh) — claude version, the sibling apex-scope-loop, apex-guardrails, compile --check, the merged policy, provider binaries, CLAUDE_CODE_SUBAGENT_MODEL, the settings snippet, versions — and write doctor.json, which routing reads to choose degrade paths. Pass an optional plan path (or --state DIR / --repo DIR) as $ARGUMENTS./doneClose the active apex-dispatch task — verify the ledger chain (and, under enforcement, the route evidence), then checkpoint.sh complete for a plan task (gate, review, tier and G12 all bound to HEAD), or close an ad-hoc route and release its ACTIVE lock. Pass `<plan.md> [verdict summary]` or `adhoc <ROUTE_ID>` as $ARGUMENTS./reportPrint apex-dispatch's ledger report for a plan or a state directory — chain status, routes by class/tier/provider/mode, spawns, verdicts, escalations, tokens, estimated USD and the unverified-usage bucket; --compare for routed vs baseline, --decision for the decision layer vs routing. Pass a plan path (or --state DIR) plus any of --compare, --decision, --json as $ARGUMENTS./runDrive one routed task end to end with apex-dispatch and apex-scope-loop — iterate → route → dispatch exactly the route → gate → risk tier → review shape → review → complete (or fail and escalate). Pass a plan path as $ARGUMENTS (or `adhoc <ROUTE_ID>` for an ad-hoc route made with /apex-dispatch:route).npx claudepluginhub skobyn/apex-dev-skills --plugin apex-dispatchOther plugins' commands for the same job