ship-batch

ship-batch is a skill for Claude Code, Codex from BlackBeltTechnology/pi-agent-dashboard. It costs 81 tokens per session (1,983 once invoked), scanned A, original, MIT.

An unattended workflow for shipping every ready change in one OpenSpec group, running several changes in separate Git worktrees. A worktree is an additional working directory connected to the same Git repository.

In plain words
What is it for?
Use it when several planned changes are ready to release together. It schedules their shipping sessions, waits for dependencies, archives finished sessions, and removes worktrees only when no unpushed work would be lost.
Why use it?
It removes the need to start and monitor each change one at a time while preserving separate branches and resumable progress. Questions that need a person are collected instead of being answered automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when several planned changes are ready to release together. It schedules their shipping sessions, waits for dependencies, archives finished sessions, and removes worktrees only when no unpushed work would be lost.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/blackbelttechnology/pi-agent-dashboard/ship-batch
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 BlackBeltTechnology/pi-agent-dashboard --skill ship-batch
Clone the repo
git clone --depth 1 https://github.com/BlackBeltTechnology/pi-agent-dashboard

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 ship-batch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/blackbelttechnology/pi-agent-dashboard/ship-batch"><img src="https://agentmods.dev/badge/skills/blackbelttechnology/pi-agent-dashboard/ship-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,983 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.00081 $0.01983
Opus 5.5 $0.00032 $0.00793
Sonnet 5.5 $0.00016 $0.00397
Haiku 4.5 $0.00008 $0.00198

Measured 8d ago against content hash 9dceb25a594d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ship-batch 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 8d ago.

The scan reads SKILL.md. This mod also ships 28 executable files (scripts/__tests__/adopt.test.ts, scripts/__tests__/args.test.ts, scripts/__tests__/fake-dashboard.ts, …), 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.

.pi/skills/ship-batch/SKILL.md · 147 lines

How it starts

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

ship-batch

Runs ship-it for every active change of one OpenSpec group (the board's group + its persisted order), N at a time, each in its own worktree .worktrees/os-<change> / branch os/<change>. A standalone TypeScript runner does the scheduling — not an agent loop — so a multi-hour run has no context growth or turn limit. This skill only launches and inspects it.

flowchart LR
  G["group + order"] --> R["ship-batch runner (detached)"]
  R -->|"worktree + init + bus spawn /skill:ship-it"| S["ship-it sessions (N)"]
  S -->|"question"| Q["pending-question stack (human)"]
  S -->|"settled"| T["classify → archive session → teardown"]
  R -->|"state / events / lock"| F[".worktrees/.ship-batch/"]

When to use

  • Several planned changes in one group are ready to ship and you want them landed without babysitting each session.
  • Not for a single change — run ship-it in its worktree. Not for planning (plan-proposal). The runner is project-scoped: base branch develop, remote origin.

Procedure

  1. Dry run first — prints order, dependency waits, cycle skips and the out-of-batch blockers ship-it will ask about; changes nothing:

    npx tsx .pi/skills/ship-batch/scripts/ship-batch.ts --group <id|name> --dry-run
    
  2. Launch detached (a run spans CI and review for hours; the runner does not need this session):

    nohup npx tsx .pi/skills/ship-batch/scripts/ship-batch.ts --group <id|name> > /tmp/ship-batch-<group>.log 2>&1 &
    
  3. Status (read-only, works while the dashboard is down):

    npx tsx .pi/skills/ship-batch/scripts/ship-batch.ts --status [--group <id|name>]
    

    Shows each change's state, session, age, reason and kept path, and dashboard unreachable since <ts> during an outage. Events: <repo>/.worktrees/.ship-batch/<groupId>.events.jsonl.

  4. Resume — re-run the same launch command. A state file with unfinished items re-attaches the recorded sessions and never spawns a second session for a change. A fully finished run is rotated to <groupId>.<ts>.json and planned fresh: still-active members are re-queued (a kept worktree is reused); a member whose worktree hosts a live session is skipped.

Read the full file on GitHub · 147 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. 8d ago First seen · 147 lines · 81 tokens per session scan A 9dceb25a594d

Subscribe to this mod's changes

ship-batch is a skill published in the GitHub repository BlackBeltTechnology/pi-agent-dashboard (357 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 1,983 once invoked, about $0.0003 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-11-22.

Related

ship-batch compared with skills from other repositories

ship-batch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ship-batchBlackBeltTechnology/pi-agent-dashboardSkill357todayMITA81Claude Code, Codex
akishiplacvietanh/akidevruleSkill1127d agoMITA120Claude Code, Codex
akigitcommitlacvietanh/akidevruleSkill1127d agoMITA100Claude Code, Codex
starfleet-sessionsmpbt-hq/starfleetctlSkill4yesterdayAGPL-3.0A42Claude Code, Codex
starfleet-githubmpbt-hq/starfleetctlSkill4yesterdayAGPL-3.0A55Claude Code, Codex
agency-jira-workflow-stewardBlackPearl-AI/BlackPearl-CodingAgentSkill103mo agononeA38Claude Code, Codex
github-automationruvnet/rufloSkill83ktodayMITA61Claude Code