parallel-agents

parallel-agents is a skill for Claude Code, Codex from KhaledSaeed18/dotclaude. It costs 68 tokens per session (881 once invoked), scanned A, original, MIT.

A way to divide genuinely independent coding problems among several agents that work at the same time.

In plain words
What is it for?
It is for handling unrelated failing tests, bugs, or subsystems in parallel and then reviewing and combining the results.
Why use it?
It can shorten investigation time when separate problems do not share files, state, or causes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/khaledsaeed18/dotclaude/parallel-agents
Any agent
npx skills add KhaledSaeed18/dotclaude --skill parallel-agents
Clone the repo
git clone --depth 1 https://github.com/KhaledSaeed18/dotclaude

Made for: Claude Code, Codex.

Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00068 $0.00881
Opus 5 $0.00034 $0.00441
Sonnet 5 $0.00014 $0.00176
Haiku 4.5 $0.00007 $0.00088

Measured 3d ago against content hash 5cd5c5f669ca, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

parallel-agents 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 3d 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.

.claude-plugin/plugins/engineering/skills/parallel-agents/SKILL.md · 50 lines

How it starts

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

When you have several independent problems, investigating them one after another wastes time that could be spent in parallel. Hand each one to its own subagent with precisely the context it needs, let them work at once, then pull the results together. Each subagent should get exactly what you construct for it — never your whole session history — so it stays focused, and so your own context stays free for coordination.

When this applies — and when it doesn't

Dispatch in parallel when the problems are genuinely independent: different test files failing for different reasons, separate subsystems broken on their own, distinct bugs that can each be understood without the others. The test is whether fixing one could change another. If it can't, and they touch different code, they can run concurrently.

Don't reach for this when:

  • The failures look related — fixing one might fix the rest. Investigate together first.
  • You'd need the full system in view to understand any of it.
  • You don't yet know what's broken (exploratory debugging — find the shape of the problem before fanning out).
  • The tasks share state or would edit the same files; concurrent agents there collide.

The pattern

1. Split into independent domains. Group the work by what's actually broken — "tool approval flow", "batch completion", "abort handling" — such that each group can be fixed without reference to the others.

2. Write a focused task per domain. Each subagent prompt needs three things:

  • Scope — one file or subsystem, named exactly. "Fix agent-tool-abort.test.ts", not "fix the tests."
  • Context — the concrete failures: paste the error messages and failing test names, not a vague "the race condition."
  • Constraints and expected output — what it may and may not change ("fix the tests only, don't touch production code"), and what to return ("a summary of the root cause and the changes you made").

3. Dispatch them concurrently. Launch all the subagents in one batch so they run at the same time rather than in sequence.

Read the full file on GitHub · 50 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. 3d ago First seen · 50 lines · 68 tokens per session scan A 5cd5c5f669ca

Subscribe to this mod's changes

parallel-agents is a skill published in the GitHub repository KhaledSaeed18/dotclaude (4 stars, last pushed 8d ago), licensed MIT. It adds 68 tokens to every session and 881 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-08-31.