operate-pi-dispatch

operate-pi-dispatch is a skill for Claude Code, Codex from edgehero/pi-dispatch. It costs 41 tokens per session (7,630 once invoked), scanned A, original, MIT.

Instructions for operating pi-dispatch, a queue that runs paid autonomous agent jobs. They describe observing deployments and using human-confirmation gates for settings that can affect spending or processing.

In plain words
What is it for?
Checking worker status, recent runs, budgets, cost reports, insights, and provider or model cost estimates, as well as managing gated settings and triggers.
Why use it?
They help an operator understand queue health, costs, and safeguards before changing money-related configuration.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Checking worker status, recent runs, budgets, cost reports, insights, and provider or model cost estimates, as well as managing gated settings and triggers.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edgehero/pi-dispatch/operate-pi-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.

Any agent
npx skills add edgehero/pi-dispatch --skill operate-pi-dispatch
Clone the repo
git clone --depth 1 https://github.com/edgehero/pi-dispatch

Made for: Claude Code, Codex.

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 operate-pi-dispatch

README.md
[![agentmods](https://agentmods.dev/badge/skills/edgehero/pi-dispatch/operate-pi-dispatch/github.svg)](https://agentmods.dev/skills/edgehero/pi-dispatch/operate-pi-dispatch)
Your own site
<a href="https://agentmods.dev/skills/edgehero/pi-dispatch/operate-pi-dispatch"><img src="https://agentmods.dev/badge/skills/edgehero/pi-dispatch/operate-pi-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 operate-pi-dispatch

Your own site · 80×15
<a href="https://agentmods.dev/skills/edgehero/pi-dispatch/operate-pi-dispatch"><img src="https://agentmods.dev/badge/skills/edgehero/pi-dispatch/operate-pi-dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,630 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 14
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 26
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00041 $0.07630
Opus 5.5 $0.00016 $0.03052
Sonnet 5.5 $0.00008 $0.01526
Haiku 4.5 $0.00004 $0.00763

Measured today against content hash 7080c11a1258, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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 today.

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.

admin/skills/operate-pi-dispatch/SKILL.md · 408 lines

How it starts

The opening of the file, as written. The whole thing — 408 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 (flow filters to one flow). Every dollar in the fold is typed { usd, class, ... }: quote the class with the number (metered is measured, estimated/seeded are not), and never present an estimate as an exact spend. When a dollar cap applies, a dollars block sits beside the fold: the dollar windows (each window's counter, spent and held, against its cap, and what settled) and each run's dollars. Those amounts are integer micro-dollars (1 USD = 1000000) with no class: they are the caps' own accounting. The operator sees the same fold drawn as charts on the operator console's insights page (/insights?range=7d|30d|mtd; /dispatch insights [7d|30d|mtd] prints its URL, and the console runs only when started with pi-dispatch-console serve). Its what-if form (/dispatch insights whatif <provider/model> --flow <flow> prints that URL) estimates what a flow would cost per run on another model's rates.
  • dispatch_triggers — the configured triggers with their array index (needed to edit/delete one).
  • dispatch_projects - the projects (projects.json): each id, display name, members, and the scoped-limits rows that cap it. dispatch_costs folds spend byProject by the id each run recorded, and its project filter (an id) scopes the whole fold to that project's runs. A run outside every project, or recorded before projects existed, is (no project): say so rather than guessing which project an old run "belongs to".
  • dispatch_allocations - the allocation envelope (a dollar total per window and a floor per project) and the split applied inside it: each project's share and spend in micro-dollars, the applied plan's id and writer, and the last 20 outcomes. It never returns the reasons a plan gave; the operator reads those in the panel (b).
  • dispatch_capacity: how busy each worker host was over window (24h, 7d or 30d, default 7d; host narrows to one): busy and idle share, jobs at once, memory and CPU promised against the budget, CPU used, the wait for a slot and the busiest projects, as text and as the report. It counts this deployment's jobs only (a machine busy with other work reads as idle), and history before its sources start is missingMs, never idle; a host that is new, or was down, inside history that is there reads as idle for that time. Say so when the coverage is cut, local only, or names running jobs not counted, rather than reading a quiet host into it. The operator sees the same 7 days per host, under its running jobs, in the panel (u).

Read the full file on GitHub · 408 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. today Changed · +8 lines 7080c11a1258
  2. 9d ago Changed · +1 lines 643adefa29ac
  3. 10d ago Changed · +6 lines 53de53913b29
  4. 13d ago Changed 76d12ea92cf7
  5. 14d ago Changed · +44 lines cd3c1793523f
  6. 15d ago Changed · +26 lines bade18bcad0c
  7. 16d ago Changed · +3 lines f3a82e0a2d9d
  8. 20d ago Changed · +1 lines 759f2221aac3
  9. 1mo ago Changed · +22 lines b079034d3a9a
  10. 1mo ago First seen · 297 lines · 41 tokens per session scan A 55d80f724a29

Subscribe to this mod's changes

operate-pi-dispatch is a skill published in the GitHub repository edgehero/pi-dispatch (184 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 7,630 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-30.

Related

Other skills, from other repositories

terraform-test

Comprehensive guide for writing and running Terraform tests. Use when creating test files (.tftest.hcl), writing test scenarios with run blocks, validating infrastructure behavior with assertions, mocking providers and data sources, testing module outputs and resource configurations, or troubleshooting Terraform test…

eric861129/SKILLS_All-in-one · 59 tokens

terraform-engineer

Use when implementing infrastructure as code with Terraform across AWS, Azure, or GCP. Invoke for module development (create reusable modules, manage module versioning), state management (migrate backends, import existing resources, resolve state conflicts), provider configuration, multi-environment workflows, and…

eric861129/SKILLS_All-in-one · 63 tokens

new-terraform-provider

Use this when scaffolding a new Terraform provider.

eric861129/SKILLS_All-in-one · 15 tokens

aws-serverless-eda

AWS serverless and event-driven architecture expert based on Well-Architected Framework. Use when building serverless APIs, Lambda functions, REST APIs, microservices, or async workflows. Covers Lambda with TypeScript/Python, API Gateway (REST/HTTP), DynamoDB, Step Functions, EventBridge, SQS, SNS, and serverless…

eric861129/SKILLS_All-in-one · 112 tokens

terraform-style-guide

Generate Terraform HCL code following HashiCorp's official style conventions and best practices. Use when writing, reviewing, or generating Terraform configurations.

eric861129/SKILLS_All-in-one · 32 tokens

aws-cost-operations

AWS cost optimization, monitoring, and operational excellence expert. Use when analyzing AWS bills, estimating costs, setting up CloudWatch alarms, querying logs, auditing CloudTrail activity, or assessing security posture. Essential when user mentions AWS costs, spending, billing, budget, pricing, CloudWatch…

eric861129/SKILLS_All-in-one · 86 tokens