parallel-task

parallel-task is a command for Claude Code from bengous/claude-code-plugins. It costs 12 tokens per session (699 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 for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

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

Good fit Use it to split a bulk modification into parallel work units, inspect affected files, create isolated worktrees, and combine the completed changes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/bengous/claude-code-plugins/parallel-task
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.

Clone the repo
git clone --depth 1 https://github.com/bengous/claude-code-plugins

Made for: Claude Code.

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/github.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/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-task

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 699 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.00012 $0.00699
Opus 5.5 $0.00005 $0.00280
Sonnet 5.5 $0.00002 $0.00140
Haiku 4.5 $0.00001 $0.00070

Measured 9d ago against content hash e960acebf6c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 9d 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.

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

How it starts

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

Leave code changes to the worker agents: this command plans, sets up, dispatches and verifies.

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 every explore agent in one message, so they run concurrently:

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, staying on the current branch: git branch 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 every worker agent in one message, so they run concurrently:

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)
  • The change to make, stated as its outcome, with exact commands only where a single sequence is safe
  • 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 · 94 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. 9d ago Changed e960acebf6c1
  2. 1mo ago Changed · -14 lines 4e622b0ee453
  3. 1mo ago 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 (6 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 699 once invoked, about $0.0000 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-09-03.