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.
npx agentmods add skills/edgehero/pi-dispatch/operate-pi-dispatchnpx skills add edgehero/pi-dispatch --skill operate-pi-dispatchgit clone --depth 1 https://github.com/edgehero/pi-dispatchWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00041 | $0.05146 |
| Opus 5 | $0.00020 | $0.02573 |
| Sonnet 5 | $0.00008 | $0.01029 |
| Haiku 4.5 | $0.00004 | $0.00515 |
Grade A, and why
operate-pi-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.
How it starts
The opening of the file, as written. The whole thing — 297 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Operating pi-dispatch
pi-dispatch is a queue that runs paid autonomous agent jobs. The admin extension exposes tools to observe and operate a deployment. Some tools only read; some turn processing on and off; some change money-affecting configuration and are gated behind a human confirmation.
The tools
Observe (no approval needed):
dispatch_status— queue/worker state, today's budget, settings overlay, schedulers.dispatch_runs— recent run records (PII-free). Raw job logs are never available to tools.dispatch_costs— cost analytics folded from the run history: window totals (window=7d/30d/mtd), daily buckets, per-flow and per-model rollups, subscription plan verdicts, provenance (flowfilters to one flow). Every dollar in the result is typed{ usd, class, ... }— quote the class with the number (meteredis measured,estimated/seededare not), and never present an estimate as an exact spend. The operator sees the same fold drawn as charts on the insights page (/dispatch insights [7d|30d|mtd]writes and opens it), and/dispatch insights whatif <provider/model> --flow <flow>estimates what a flow would cost per run on another model's rates.dispatch_triggers— the configured triggers with their arrayindex(needed to edit/delete one).
Control (no approval needed — reversible and money-safe):
dispatch_pause— stop starting new jobs (running ones finish). This is "turn dispatch off".dispatch_resume— re-enable processing. This is "turn dispatch on".
Start a run (paid, already gated producer-side):
dispatch_run— enqueue one agent run against an allowlisted local folder.
The human confirm gates — how to use them
These tools change money-affecting configuration and each one asks the operator to approve a confirmation dialog before it takes effect:
dispatch_set— change a limit/setting (e.g.dailyCap,weeklyCap,maxTurns,model). Omitvalueto unset.dispatch_trigger_add/dispatch_trigger_edit/dispatch_trigger_delete— manage triggers.dispatch_pause_add/dispatch_pause_edit/dispatch_pause_delete— manage scheduled pause windows (per folder/repo "quiet hours": runs for a scope are deferred between certain times and auto-resume after;dispatch_pauseslists them with their index).dispatch_pause_editis a partial change — pass the index plus only the fields to alter. Deferring never drops a job and costs no budget.dispatch_waits— list the jobs the worker is HOLDING on a trigger'srun.waitForcondition: job id, an id-only target, the operator's own words for what it waits on, and how long it has waited. Different from the queue'sdelayedcount, which also mixes cron next-occurrences, retry backoff and quiet hours.dispatch_wait_cancel— remove a held job so it never runs (confirm-gated). It is the only lever that reaches one: a held job has spent nothing, so no budget cap will ever refuse it, and deleting the trigger does not reach a job already enqueued.dispatch_limit_add/dispatch_limit_edit/dispatch_limit_delete— manage scoped limits (per repo/folder budget caps and concurrency:day/week/monthjob-count caps refuse a job pre-spend with reasonscope-cap, never retried;concurrentdefers the excess, never drops it;dispatch_limitslists them with their index and used counts).dispatch_limit_editis a partial change — pass the index plus only the fields to alter. Scopes match exactly (a repoowner/nameor an ABSOLUTE folder path, no globs).
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.
- 3d ago First seen · 297 lines · 41 tokens per session scan A 55d80f724a29
operate-pi-dispatch is a skill published in the GitHub repository edgehero/pi-dispatch (163 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 5,146 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.
Other skills, from other repositories
seo-audit
Audit and fix a website's technical SEO and AI-search (GEO) readiness against Google's official guidance, page by page, ending in a computed SEO/GEO score. Use when asked to audit SEO, fix indexing or crawling problems, check canonicals/hreflang/sitemaps/structured data, diagnose why pages are not indexed or traffic…
prompt-architect
Analyzes and improves prompts using 31 frameworks across 7 intent categories. Use when a user wants to improve, rewrite, structure, or engineer a prompt — including requests like "help me write a better prompt", "improve this prompt", "what framework should I use", "make this prompt more effective", or any prompt…
extreme-router-gateway-engine
AI Gateway routing, provider management, and core engine expertise for ExtremeRouter. Use when working on request routing, provider fallback, token refresh, format translation, streaming, or when the user asks about "how does routing work", "add a new provider", "fix the fallback logic", "optimize token usage", or…
extreme-router-refactor
Code refactoring, tech debt cleanup, and code review expertise for ExtremeRouter. Use when cleaning up code, fixing bugs, reviewing PRs, identifying tech debt, or when the user asks to "improve this code", "fix this mess", "why is this broken", "make this cleaner", or mentions code smells, duplication, or poor…
extremerouter-stt
Speech-to-text via ExtremeRouter /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI / NVIDIA / HuggingFace models. Use when the user wants to transcribe audio, convert speech to text, or get subtitles from audio files.
extremerouter-web-search
Web search via ExtremeRouter /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity. Use when the user wants to search the web, look up information, find articles, or query a search engine.