dispatch

dispatch is a skill for Claude Code, Codex from andisab/swe-marketplace. It costs 43 tokens per session (2,194 once invoked), scanned A, original, MIT.

Shared scripts and prompt templates that let an agent send review work to several command-line AI tools, including Codex, Gemini, and Claude.

In plain words
What is it for?
It supports reviews of uncommitted changes, selected commits, changes since a reference, or the full repository. It is internal infrastructure for the adv review tools, not a user-facing command.
Why use it?
It handles common setup, dependency checks, tool health checks, and deciding which files or changes should be reviewed.

Skill for Claude CodeCodex

Written for Claude Code and Codex: user-invocable in frontmatter, but also runs codex exec. Also seen: mentions Codex; mentions Gemini CLI.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the adv plugin — 1 skill, 3 commands, 1 agent shipped together

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add andisab/swe-marketplace
Claude Code
/plugin install adv

Made for: Claude Code, Codex.

Or install adv, the plugin that ships this one along with the rest of its 1 skill, 3 commands, 1 agent.

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 dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/andisab/swe-marketplace/dispatch.svg)](https://agentmods.dev/skills/andisab/swe-marketplace/dispatch)
Your own site
<a href="https://agentmods.dev/skills/andisab/swe-marketplace/dispatch"><img src="https://agentmods.dev/badge/skills/andisab/swe-marketplace/dispatch.svg" alt="Measured on agentmods" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,194 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.00043 $0.02194
Opus 5 $0.00022 $0.01097
Sonnet 5 $0.00009 $0.00439
Haiku 4.5 $0.00004 $0.00219

Measured 6d ago against content hash c4472e072404, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/dispatch.sh, scripts/preflight.sh, scripts/run-phase.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/adv/skills/dispatch/SKILL.md · 211 lines

How it starts

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

Dispatch Infrastructure

This skill provides shared infrastructure for multi-model CLI dispatch. It is NOT user-invocable — it exists as reference material for the adv-review orchestrator agent and the adv-* commands.

Available Engines

Engine CLI Non-Interactive Flag Sandbox Flag
codex codex exec --full-auto -s read-only
gemini gemini -p <prompt> --sandbox --approval-mode plan
claude claude --print N/A (always sandboxed)

Scripts

preflight.sh

Path: ${CLAUDE_PLUGIN_ROOT}/skills/dispatch/scripts/preflight.sh

Combined pre-flight check: dependency verification, engine health checks, and scope resolution in a single call.

# Smart default (uncommitted changes > last commit > full repo)
bash preflight.sh

# Explicit scope modes
bash preflight.sh --commits abc123..def456
bash preflight.sh --since HEAD~5
bash preflight.sh --full

Arguments:

  • --commits <range> — Review a specific commit range.
  • --since <ref> — Review changes since a commit/ref.
  • --full — Full repo file manifest.
  • (no flags) — Smart default: uncommitted changes > last commit > full repo.

Output: Single JSON object to stdout:

{
  "deps": {"codex": true, "gemini": true, "claude": true, "jq": true},
  "engines": {
    "codex": {"available": true, "error_type": "none"},
    "gemini": {"available": true, "error_type": "none", "model": "gemini-2.5-pro"}
  },
  "scope": {
    "type": "working",
    "files_changed": 5,
    "diff_lines": 120,
    "untracked_files": 2,
    "content_file": ".claude/reviews/.tmp/scope-content.txt"
  }
}

Scope types: working (uncommitted changes), commits (commit range/since), full (file manifest).

Internally calls dispatch.sh --health-check for engine verification, including automatic Gemini flash fallback on quota errors.

run-phase.sh

Path: ${CLAUDE_PLUGIN_ROOT}/skills/dispatch/scripts/run-phase.sh

Parallel dispatch orchestrator for review and cross-examination phases. Handles dispatch, validation, and fallback in a single call.

Read the full file on GitHub · 211 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. 6d ago First seen · 211 lines · 43 tokens per session scan A c4472e072404

Subscribe to this mod's changes

dispatch is a skill published in the GitHub repository andisab/swe-marketplace (21 stars, last pushed 18d ago), licensed MIT. It adds 43 tokens to every session and 2,194 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.

Related

Other skills, from other repositories

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.

umputun/cc-thingz · 51 tokens

writing-style

Use for technical communication - GitHub/GitLab tickets, PR/MR descriptions, issue comments, code review comments, commit messages. Direct, brief style with no AI-speak. NOT for README.md, public docs, or blog posts.

umputun/cc-thingz · 52 tokens

root-cause-investigator

Systematic root cause analysis for errors, bugs, and unexpected behaviors using 5-Why methodology. Use when user reports errors, build failures, test failures, performance issues, integration problems, or any "it's not working" scenarios.

umputun/cc-thingz · 53 tokens

advisor

Anthropic Advisor Tool — pair a cheaper executor model with a more capable advisor model for guidance. TRIGGER when: user asks about advisor tool, model pairing, Sonnet+Opus, cost optimization with quality, or 'how to make Sonnet smarter'. DO NOT TRIGGER when: general API questions (use claude-api skill instead).

KevinZai/commander · 71 tokens

ccc-onboard

CC Commander contributor onboarding workflow. Detects project conventions, asks for contributor role, builds a tailored first-hour checklist, starter links, and…

KevinZai/commander · 32 tokens

ccc-qa

QA workflow. Runs unit + integration + E2E tests, coverage delta, edge case enumeration, flaky test quarantine. Delegates to qa-engineer agent.

KevinZai/commander · 36 tokens