pb-supervise-parallel-mission

pb-supervise-parallel-mission is a skill for Claude Code, Codex from agentproto/ts. It costs 58 tokens per session (1,049 once invoked), scanned A, original, Apache-2.0.

A procedure for coordinating several worker agents on separate parts of one task and combining their results. Fan-in means collecting those separate results into one deliverable.

In plain words
What is it for?
It is for parallel research or coding work, waiting for multiple agents to finish, checking their outputs, and combining the completed pieces.
Why use it?
It reduces conflicts by assigning each worker different files or topics and provides a way to verify and fix results before finishing.

Skill for Claude CodeCodex

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

Good fit It is for parallel research or coding work, waiting for multiple agents to finish, checking their outputs, and combining the completed pieces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agentproto/ts/pb-supervise-parallel-mission
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 agentproto/ts --skill pb-supervise-parallel-mission
Clone the repo
git clone --depth 1 https://github.com/agentproto/ts

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 pb-supervise-parallel-mission

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentproto/ts/pb-supervise-parallel-mission/github.svg)](https://agentmods.dev/skills/agentproto/ts/pb-supervise-parallel-mission)
Your own site
<a href="https://agentmods.dev/skills/agentproto/ts/pb-supervise-parallel-mission"><img src="https://agentmods.dev/badge/skills/agentproto/ts/pb-supervise-parallel-mission/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 pb-supervise-parallel-mission

Your own site · 80×15
<a href="https://agentmods.dev/skills/agentproto/ts/pb-supervise-parallel-mission"><img src="https://agentmods.dev/badge/skills/agentproto/ts/pb-supervise-parallel-mission.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,049 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.00058 $0.01049
Opus 5 $0.00029 $0.00524
Sonnet 5 $0.00012 $0.00210
Haiku 4.5 $0.00006 $0.00105

Measured 4d ago against content hash 43ed937ba6e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pb-supervise-parallel-mission 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 4d 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.

packages/skill-pack-agentproto/src/skills/pb-supervise-parallel-mission/SKILL.md · 114 lines

How it starts

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

pb-supervise-parallel-mission — N parallel workers, one result

Goal

You are the supervisor. Decompose the mission so no two children touch the same paths, spawn all workers in one batch, fan-in their turn-ends, verify each result yourself, dispatch targeted fixes, then tear the fleet down and synthesize the single deliverable you owe.

Prerequisites (reference by name): ap-spawn-agent, ap-wait-fanin, ap-read-output, ap-tasks, ap-lifecycle. One worker only: see pb-new-agent-session. A parent that spawns its own children: see pb-nested-orchestrator.

Steps

1. Decompose into disjoint ownership

Split the mission so each child owns a disjoint set of files or topics. Two children writing the same paths means merge conflicts and blame loops. Write the ownership down BEFORE spawning — it goes verbatim into each brief.

2. Take the cursor FIRST

session_events_poll({})

Arm the watch before any child exists: events emitted before your first poll come back immediately with since, so a fast child can never slip past.

3. Spawn all N in ONE batch

Parallel agent_start calls in the same turn, distinct labels, each brief self-contained:

agent_start({
  adapter: 'hermes',
  model: 'z-ai/glm-5.3-flash',
  cwd: '<ABSOLUTE host path>',
  label: 'worker-files',
  access: { profileRef: 'openrouter-env' },
  mcpServers: [{ name: 'agentproto', transport: 'http', ref: 'http://127.0.0.1:18790/mcp' }],
  prompt: '<child brief - see template below>'
})

claude-code children drop mcpServers (native tools are built in). Keep every returned session id paired with its label.

4. Fan-in on turn-end

session_monitor({ sessionIds: ['id1', 'id2', 'id3'], event: 'turn-end', since: <cursor>, timeoutMs: 25000 })

The monitor returns on the FIRST watched session to fire. Repeat the call with the fresh cursor until every child has fired.

5. Verify each result YOURSELF

A child's "done" is a self-report. Open the files it claims to have written, run the command it claims passes, compare against the brief. Only your own check counts as verification.

Read the full file on GitHub · 114 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. 4d ago First seen · 114 lines · 58 tokens per session scan A 43ed937ba6e9

Subscribe to this mod's changes

pb-supervise-parallel-mission is a skill published in the GitHub repository agentproto/ts (5 stars, last pushed today), licensed Apache-2.0. It adds 58 tokens to every session and 1,049 once invoked, about $0.0003 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-04.