dispatching-parallel-agents

dispatching-parallel-agents is a skill for Claude Code, Codex from hainamchung/agent-assistant. It costs 29 tokens per session (853 once invoked), scanned A, original, MIT.

A method for assigning several independent problems to specialized agents at the same time.

In plain words
What is it for?
It is for splitting work across independent test files, subsystems, or bug investigations and giving each agent a focused assignment.
Why use it?
It reduces waiting when unrelated bugs or tasks can be investigated separately without sharing state.

Skill for Claude CodeCodex

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

Good fit It is for splitting work across independent test files, subsystems, or bug investigations and giving each agent a focused assignment.

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

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 dispatching-parallel-agents

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hainamchung/agent-assistant/dispatching-parallel-agents"><img src="https://agentmods.dev/badge/skills/hainamchung/agent-assistant/dispatching-parallel-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 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.00029 $0.00853
Opus 5 $0.00015 $0.00426
Sonnet 5 $0.00006 $0.00171
Haiku 4.5 $0.00003 $0.00085

Measured 8d ago against content hash c3e1ad78e264, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dispatching-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 8d 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/dispatching-parallel-agents/SKILL.md · 132 lines

How it starts

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

Dispatching Parallel Agents

When you have multiple unrelated tasks (different test files, different subsystems, different bugs), investigating them sequentially wastes time. Each investigation is independent and can happen in parallel.

Core principle: Dispatch one agent per independent problem domain. Let them work concurrently.

When to Use

Multiple independent tasks?
        ↓ YES
Dispatch in parallel (3+ domains)

Use when:

  • 3+ test files failing with different root causes
  • Multiple subsystems broken independently
  • Each problem can be understood without context from others
  • No shared state between investigations

Don't use when:

  • Failures are related (fix one might fix others)
  • Need to understand full system state
  • Agents would interfere with each other

The Pattern

1. Identify Independent Domains

Group tasks by what's broken:

  • File A: Authentication logic
  • File B: Data persistence
  • File C: API integration

Each domain is independent.

2. Create Focused Agent Tasks

Each agent gets:

  • Specific scope: One test file or subsystem
  • Clear goal: What to accomplish
  • Constraints: What NOT to change
  • Expected output: What to return

3. Dispatch in Parallel

Agent 1 → Fix authentication tests
Agent 2 → Fix persistence tests
Agent 3 → Fix API integration tests
// All run concurrently

4. Review and Integrate

When agents return:

  • Read each summary
  • Verify fixes don't conflict
  • Run full test suite
  • Integrate all changes

Agent Prompt Structure

Good agent prompts are:

  1. Focused - One clear problem domain
  2. Self-contained - All context needed to understand the problem
  3. Specific about output - What should the agent return?
Fix the failing tests in src/features/auth/test.ts:

1. "should authenticate valid users" - expects token in response
2. "should reject invalid credentials" - returns 200 instead of 401
3. "should handle expired tokens" - throws uncaught exception

These are logic errors in the auth handler. Your task:

1. Read the test file and understand what each test verifies
2. Identify root cause - logic errors or test errors?
3. Fix by:
   - Correcting auth handler logic if buggy
   - Fixing test expectations if testing changed behavior

Return: Summary of what you found and what you fixed.

Read the full file on GitHub · 132 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 · 132 lines · 29 tokens per session scan A c3e1ad78e264

Subscribe to this mod's changes

dispatching-parallel-agents is a skill published in the GitHub repository hainamchung/agent-assistant (54 stars, last pushed 3mo ago), licensed MIT. It adds 29 tokens to every session and 853 once invoked, about $0.0001 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-03.