dispatch

A command that sends a planned development phase to a local language-model executor. It uses the project’s phase documents and task notes to guide implementation.

In plain words
What is it for?
Use it to start a new phase or continue one returned for fixes, after an architect has written its specification.
Why use it?
It separates planning from execution and checks that the project is ready before work begins. This avoids running a phase with missing setup or an invalid status.

Skill for Claude CodeCodex

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

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,456 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.00038 $0.02456
Opus 5 $0.00019 $0.01228
Sonnet 5 $0.00008 $0.00491
Haiku 4.5 $0.00004 $0.00246

Measured 2d ago against content hash d7582196ad9e, 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 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.

plugin/skills/dispatch/SKILL.md · 188 lines

How it starts

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

Dispatch Skill

This skill is thin glue around the execute_phase MCP tool. It does not review, does not re-dispatch, does not decide escalation levers. It invokes the executor, surfaces the result, and suggests the next step. Each step is a user gate.

Read these first

Before any action:

  1. Read <repo>/docs/dev/NEXT.md to confirm the active phase pointer. If it says "none," there is no active phase — tell the user and stop.
  2. Read the phase doc itself (resolve <phase> from the argument — it may be a short id like phase-01 or a full path). Confirm its Status: line is todo or in-progress. todo = fresh first dispatch; in-progress = re-dispatch after a bounce or escalation refinement (the executor reads the phase doc + any bug docs + the Update Log's Notes-for-executor block and continues). If it is review or done, tell the user the phase is not dispatchable in its current state and stop.
  3. Read <repo>/rexymcp.toml to confirm bootstrap is complete (the [executor] and [commands] sections are present). If missing, point the user at /rexymcp:architect to bootstrap first.

The repo root is <repo> — resolve it from CLAUDE_PROJECT_DIR, ANTIGRAVITY_PROJECT_DIR, or the nearest directory containing the milestone layout (docs/dev/milestones/).

1. Pre-flight: executor reachability

Invoke the executor_health MCP tool (no args, or pass base_url if the user supplied an override from rexymcp.toml). If the endpoint is unreachable, surface the error to the user and stop. Do not invoke execute_phase against a dead endpoint.

Example healthy response: {"status": "ok", "model": "qwen-32b", ...} Example unhealthy response: connection refused, timeout, or 5xx.

2. Invoke execute_phase — and reap the result (async)

Call the execute_phase MCP tool with these arguments:

  • phase_doc_path: the absolute path to the phase doc. Resolve from the <phase> argument using the milestone convention: docs/dev/milestones/M<n>-<slug>/phase-<nn>-<slug>.md.
  • repo_path: the target repo root (from CLAUDE_PROJECT_DIR, ANTIGRAVITY_PROJECT_DIR, or the client's workspace roots).
  • model (optional): if the user supplied a model override, pass it here.

Read the full file on GitHub · 188 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 · 188 lines · 38 tokens per session scan A d7582196ad9e

Subscribe to this mod's changes

dispatch is a skill published in the GitHub repository ryanczak/rexyMCP (86 stars, last pushed 16d ago), licensed MIT. It adds 38 tokens to every session and 2,456 once invoked, about $0.0002 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.