parallel

parallel is a skill for Claude Code, Codex from firstintent/a2a-bridge. It costs 43 tokens per session (1,203 once invoked), scanned A, original, MIT.

A skill for starting several independent peer agents at the same time, waiting for all of them, and combining their results.

In plain words
What is it for?
Running independent investigations or file-level subtasks in parallel and merging their completed results.
Why use it?
It can reduce waiting when a task naturally splits into separate pieces that do not depend on one another.

Skill for Claude CodeCodex

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

Good fit Running independent investigations or file-level subtasks in parallel and merging their completed results.

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

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 parallel

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/firstintent/a2a-bridge/parallel"><img src="https://agentmods.dev/badge/skills/firstintent/a2a-bridge/parallel.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,203 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.00043 $0.01203
Opus 5.5 $0.00017 $0.00481
Sonnet 5.5 $0.00009 $0.00241
Haiku 4.5 $0.00004 $0.00120

Measured 1mo ago against content hash 0a1af6d839d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

parallel 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 1mo 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.

skills/parallel/SKILL.md · 133 lines

How it starts

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

parallel — spawn N independent peers, merge when they finish

The only safe multi-agent parallel pattern: carve the work into subtasks that do not depend on each other's outputs, send each to a peer, await all of them, then merge. If any subtask depends on another's result, this pattern degrades to sequential with extra steps and should not be used.

When to use

  • Subtasks are independent by construction — different files, different modules, different investigations, different doc pages.
  • Each subtask's output is stable regardless of the others' outcomes.
  • Wall-clock latency matters enough to justify N× the token cost. (The equivalent sequential run costs 1× tokens; parallel costs N× and only saves time.)

When NOT to use

  • Subtasks share context or build on each other's output. Merge loses fidelity; sequential with the real output is better.
  • The "independence" is by job title (planner / implementer / tester / reviewer). This is sequential pretending to be parallel and almost always underperforms one session with the same tools.
  • One of the subtasks would be cheap enough to inline. Parallel overhead only pays off when every branch is substantial.

Protocol

Spawn one message/stream call per subtask. Each call gets its own contextId so replies do not cross wires; a2a-bridge's RoomRouter (Phase 4) isolates them end-to-end. Then await every SSE stream to its terminal status-update.final === true and merge.

┌─ subtask A ─────────► peer 1 ─► artifact-update A ─► final A ┐
├─ subtask B ─────────► peer 2 ─► artifact-update B ─► final B ┤─► merge
└─ subtask C ─────────► peer 3 ─► artifact-update C ─► final C ┘

return_format per branch is a caller choice:

  • "full" when each branch's raw output matters to the merge.
  • "summary" when only a conclusion per branch matters (see skills/context-protect/).
  • "verdict" when each branch is a check (see skills/verify/); merge is pass only when all branches return pass.

Read the full file on GitHub · 133 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. 1mo ago First seen · 133 lines · 43 tokens per session scan A 0a1af6d839d4

Subscribe to this mod's changes

parallel is a skill published in the GitHub repository firstintent/a2a-bridge (9 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 1,203 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-31.

Related

Other skills, from other repositories

plugin-creator

Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries…

openinterpreter/openinterpreter · 86 tokens

codex-pr-body

Update the title and body of one or more pull requests.

openinterpreter/openinterpreter · 17 tokens

update-v8-version

Update Codex's pinned v8 / rustyv8 versions, validate the release-candidate path, and investigate failed V8 canary or artifact builds. Use when asked to bump V8, update rustyv8 artifacts, prepare or validate a V8 release candidate, check v8-canary, or diagnose why a V8 version update no longer builds.

openinterpreter/openinterpreter · 86 tokens

qa-testing

Verify your work by actually operating the app or website you changed, instead of assuming it works. Strongly recommended whenever you build, modify, or debug a web app, website, or desktop GUI app. Drive real browsers with the agent-browser CLI and native desktop apps with the cua-driver CLI. These are installed on…

openinterpreter/openinterpreter · 77 tokens

path-types

Choose Rust types for operating system paths across the Codex repository. Use when defining new path-bearing types or explicitly migrating existing ones.

openinterpreter/openinterpreter · 29 tokens

code-review-testing

For agent changes prefer integration tests over unit tests. Integration tests are under core/suite and use testcodex to set up a test instance of codex.

openinterpreter/openinterpreter · 8 tokens