parallel-task

parallel-task is a command for coding agents from bengous/claude-code-plugins. It costs 12 tokens per session (805 once invoked), scanned A, original, MIT.

A workflow for making the same kind of code change in several separate parts of a codebase at once, using multiple agents. It includes planning, safety checks, verification, and merging the results.

In plain words
What is it for?
Use it to split a bulk modification into parallel work units, inspect affected files, create isolated worktrees, and combine the completed changes.
Why use it?
Large changes can be slow and difficult to coordinate when every task is handled one after another or edits overlap.

Command

Part of the claude-orchestration plugin — 1 skill, 6 commands, 3 agents shipped together

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 commands/bengous/claude-code-plugins/parallel-task
Clone the repo
git clone --depth 1 https://github.com/bengous/claude-code-plugins

Or install claude-orchestration, the plugin that ships this one along with the rest of its 1 skill, 6 commands, 3 agents.

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-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/bengous/claude-code-plugins/parallel-task.svg)](https://agentmods.dev/commands/bengous/claude-code-plugins/parallel-task)
Your own site
<a href="https://agentmods.dev/commands/bengous/claude-code-plugins/parallel-task"><img src="https://agentmods.dev/badge/commands/bengous/claude-code-plugins/parallel-task.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 805 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.00012 $0.00805
Opus 5 $0.00006 $0.00402
Sonnet 5 $0.00002 $0.00161
Haiku 4.5 $0.00001 $0.00081

Measured yesterday against content hash 6b861ab2d535, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

parallel-task 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 yesterday.

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.

orchestration/commands/parallel-task.md · 108 lines

How it starts

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

Phase 0: Planning & Analysis

  1. Analyze the task and break into parallel work units
  2. Identify target scopes (folders/files to modify)
  3. Detect project verification commands:
    • Check package.json scripts (test, lint, typecheck, type-check)
    • Check for Makefile, pyproject.toml, Cargo.toml
    • Note available commands for Phase 4
  4. Define safety requirements and verification criteria
  5. Present complete plan using AskUserQuestion for approval before execution

Phase 1: Exploration (Parallel)

Spawn N explore agents analyzing different areas.

Spawn ALL explore agents in a SINGLE message using parallel Agent tool calls:

Agent 1: subagent_type="Explore", model="sonnet", prompt="Analyze [scope1] for [task]. Report: files to change, patterns to follow, risks."
Agent 2: subagent_type="Explore", model="sonnet", prompt="Analyze [scope2] for [task]. Report: files to change, patterns to follow, risks."
...

sonnet is the floor for exploration work; do not route these to a cheaper tier.

Collect reports, identify what to change vs preserve, estimate impact.

Phase 2: Safety Setup

  1. Create rollback point: git checkout -b backup/parallel-task-$(date +%s)
  2. Add temporary files to .gitignore if needed
  3. Confirm all safety nets in place

Phase 3: Execution (Parallel)

Spawn N worker agents with strict scope isolation.

Spawn ALL worker agents in a SINGLE message using parallel Agent tool calls:

Agent 1: subagent_type="general-purpose", model="opus", prompt="[Detailed instructions for scope1]"
Agent 2: subagent_type="general-purpose", model="opus", prompt="[Detailed instructions for scope2]"
...

Each agent prompt includes:

  • Explicit folder assignment (modify ONLY files in this scope)
  • Step-by-step commands (not goals)
  • Verification requirements (run lint/type-check before committing)
  • Error handling: if blocked, return error report instead of partial work
  • Commit changes with descriptive message including scope name

Read the full file on GitHub · 108 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. yesterday First seen · 108 lines · 12 tokens per session scan A 6b861ab2d535

Subscribe to this mod's changes

parallel-task is a command published in the GitHub repository bengous/claude-code-plugins (4 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 805 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.