ai-dispatch

ai-dispatch is a command for Claude Code from gettalon/talon-plugins. It costs 46 tokens per session (664 once invoked), scanned A, original, MIT.

A command for sending a coding or analysis request to one of several AI backends, which are separate AI services or models. It also provides a command for checking the latest dispatch progress.

In plain words
What is it for?
Dispatch prompts for code generation, codebase analysis, research, complex reasoning, long-context tasks, and translation. List available backends and check the latest task status.
Why use it?
It gives you one interface for trying different AI backends instead of setting up and calling each one separately. It helps match requests such as code generation, analysis, long-context work, or Chinese translation to listed backends.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Codex.

Part of the talon plugin — 8 skills, 11 commands shipped together

Good fit Dispatch prompts for code generation, codebase analysis, research, complex reasoning, long-context tasks, and translation. List available backends and check the latest task status.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gettalon/talon-plugins/ai-dispatch
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.

Clone the repo
git clone --depth 1 https://github.com/gettalon/talon-plugins

Made for: Claude Code.

Or install talon, the plugin that ships this one along with the rest of its 8 skills, 11 commands.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/gettalon/talon-plugins/ai-dispatch/github.svg)](https://agentmods.dev/commands/gettalon/talon-plugins/ai-dispatch)
Your own site
<a href="https://agentmods.dev/commands/gettalon/talon-plugins/ai-dispatch"><img src="https://agentmods.dev/badge/commands/gettalon/talon-plugins/ai-dispatch/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-dispatch

Your own site · 80×15
<a href="https://agentmods.dev/commands/gettalon/talon-plugins/ai-dispatch"><img src="https://agentmods.dev/badge/commands/gettalon/talon-plugins/ai-dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 664 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00046 $0.00664
Opus 5.5 $0.00018 $0.00266
Sonnet 5.5 $0.00009 $0.00133
Haiku 4.5 $0.00005 $0.00066

Measured 3mo ago against content hash bf25309af3a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-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 3mo 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.

plugins/talon/commands/ai-dispatch.md · 97 lines

How it starts

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

AI Dispatch

Dispatch tasks to different AI backends via dispatch <backend> "prompt".

First Use — Auto Setup

Before dispatching, check if dispatch is available:

which dispatch

If not found, run setup:

bash $SKILL_DIR/../../scripts/setup.sh

If config is missing (~/.config/ai-dispatch/config.json), setup will:

  1. Check environment for existing ANTHROPIC_API_KEY / ANTHROPIC_AUTH_TOKEN
  2. If found, auto-create config from env
  3. If not, ask the user for API keys
  4. Install dispatch and dcheck to PATH

Usage

# Simple — backend + prompt (auto-adds all flags)
dispatch ark-code "implement binary search"
dispatch glm "translate to Chinese: hello world"
dispatch ark-minimax "analyze this codebase"

# Check progress
dcheck --latest

# List backends
dispatch --list

Available Backends

Command Model Best for
ark-code Doubao Seed 2.0 Code Code generation
ark-pro Doubao Seed 2.0 Pro General reasoning
ark-minimax MiniMax M2.5 Analysis, research
ark-kimi Kimi K2.5 Long context
ark-deepseek DeepSeek V3.2 Complex reasoning
ark-glm GLM-4.7 Chinese via Ark
ark-auto Auto routing Smart selection
glm GLM-5 Chinese language

Adding Custom Backends

Edit ~/.config/ai-dispatch/config.json:

{
  "backends": {
    "my-api": {
      "description": "My custom API",
      "env": {
        "ANTHROPIC_BASE_URL": "https://my-api.example.com",
        "ANTHROPIC_API_KEY": "sk-..."
      },
      "models": { "opus": "my-model", "sonnet": "my-model", "haiku": "my-model" }
    }
  }
}

Then: dispatch my-api "hello"

Advanced

# Explicit mode (full control over claude flags)
dispatch ark claude -p --dangerously-skip-permissions "prompt"

# Interactive (named pipe for follow-ups)
dispatch ark claude-interactive

# Resume session
dispatch ark claude -p --resume <SESSION_ID> "follow up"

# Codex
dispatch ark codex "prompt"

Read the full file on GitHub · 97 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. 3mo ago First seen · 97 lines · 46 tokens per session scan A bf25309af3a3

Subscribe to this mod's changes

ai-dispatch is a command published in the GitHub repository gettalon/talon-plugins (6 stars, last pushed 8mo ago), licensed MIT. It adds 46 tokens to every session and 664 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

ai-dispatch compared with commands from other repositories

ai-dispatch next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-dispatchgettalon/talon-pluginsCommand68mo agoMITA46Claude Code
qaDevZonayed/MochiCommand328d agoMITA49Claude Code
design-qaDevZonayed/MochiCommand328d agoMITA52Claude Code
checkpointDevZonayed/MochiCommand328d agoMITA17Claude Code
dreamDevZonayed/MochiCommand328d agoMITA25Claude Code
review-sessionDevZonayed/MochiCommand328d agoMITA29Claude Code
feedbackDevZonayed/MochiCommand328d agoMITA16Claude Code