spec-dispatch

spec-dispatch is a skill for Claude Code, Codex from pivoshenko/pivoshenko.ai. It costs 136 tokens per session (1,198 once invoked), scanned A, original, MIT.

A workflow for implementing an OpenSpec change by reading its task queue, grouping independent tasks into parallel waves, dispatching agents, verifying the results, marking tasks complete, and committing the changes. OpenSpec is a change-planning system for software projects.

In plain words
What is it for?
Use it to carry out already-planned OpenSpec changes with multiple agents, verify their work, update task checkboxes, and commit the completed implementation. It does not create the initial proposal, design, or task plan.
Why use it?
It avoids running every independent implementation task one after another while keeping planning documents sequential. It also provides checks before dispatch and a final commit step.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to carry out already-planned OpenSpec changes with multiple agents, verify their work, update task checkboxes, and commit the completed implementation. It does not create the initial proposal, design, or task plan.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pivoshenko/pivoshenko.ai/spec-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 pivoshenko/pivoshenko.ai --skill spec-dispatch
Clone the repo
git clone --depth 1 https://github.com/pivoshenko/pivoshenko.ai

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pivoshenko/pivoshenko.ai/spec-dispatch"><img src="https://agentmods.dev/badge/skills/pivoshenko/pivoshenko.ai/spec-dispatch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 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.00136 $0.01198
Opus 5 $0.00068 $0.00599
Sonnet 5 $0.00027 $0.00240
Haiku 4.5 $0.00014 $0.00120

Measured yesterday against content hash 008ef00fb338, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

spec-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 yesterday.

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.

skills/spec-dispatch/SKILL.md · 91 lines

How it starts

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

Spec Dispatch

openspec queue -> wave plan -> agents -> verify -> tick -> commit.

openspec-apply-change walks tasks one at a time in one context. This replaces that loop only. Planning artifacts (proposal / specs / design / tasks) stay sequential and stay with you — never fan those out; they need whole-repo context and each depends on the last.

Everything here is substrate-independent. Inside Herdr (HERDR_ENV=1) subagents are panes per the Herdr instruction, and the mechanics — budget, split, start, brief, collect, blocked, cleanup — belong to herdr-dispatch. Outside it, dispatch the same waves with the Agent tool. Either way this skill owns only what is OpenSpec-specific.

Preconditions

test "${HERDR_ENV:-}" = 1        # decides the substrate only, never whether to proceed
openspec status --change "<name>" --json

Read applyRequires and isPlanningComplete. Tasks artifact missing -> send the user to /opsx:propose or /opsx:continue. Never author planning artifacts here.

Store-based work -> pass --store <id> on every openspec command and keep it sticky.

Read the Queue

openspec instructions apply --change "<name>" --json

Returns progress {total, complete, remaining} and tasks[] of {id, description, done}.

The list is flat. No dependency edges, no file ownership — the ## 1. Backend / ## 2. Frontend grouping in tasks.md is flattened away. This JSON alone cannot tell you what is safe to run concurrently, and two agents on one file silently clobber each other.

Make It Parallel-Safe at Authoring Time

Do not infer disjointness at dispatch. Force it when tasks are written, in the change root's openspec/config.yaml:

rules:
  tasks:
    - "Every task MUST declare `files:` listing the paths it will touch."
    - "Every task MUST declare `needs:` listing task ids it depends on (empty if none)."

These surface under rules in openspec instructions tasks --json, so the agent writing the tasks artifact is bound by them.

Read the full file on GitHub · 91 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. yesterday First seen · 91 lines · 136 tokens per session scan A 008ef00fb338

Subscribe to this mod's changes

spec-dispatch is a skill published in the GitHub repository pivoshenko/pivoshenko.ai (4 stars, last pushed 2d ago), licensed MIT. It adds 136 tokens to every session and 1,198 once invoked, about $0.0007 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-09-11.