parallel-agents

parallel-agents is a cursor rule for Cursor from coco-research/coco. It costs 634 tokens per session, scanned A, original, Apache-2.0.

A set of rules for coordinating multiple coding agents at the same time, based on how complex a task is.

In plain words
What is it for?
Orchestrating parallel agents for tasks with different levels of complexity.
Why use it?
It helps divide larger tasks across agents instead of handling every part one after another.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Orchestrating parallel agents for tasks with different levels of complexity.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/coco-research/coco/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.

Clone the repo
git clone --depth 1 https://github.com/coco-research/coco

Made for: Cursor.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/rules/coco-research/coco/parallel-agents"><img src="https://agentmods.dev/badge/rules/coco-research/coco/parallel-agents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 634 This file is loaded in full into every session.
When invoked 634 The same file — it is already loaded in full.
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.00634 $0.00634
Opus 5.5 $0.00254 $0.00254
Sonnet 5.5 $0.00127 $0.00127
Haiku 4.5 $0.00063 $0.00063

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

rules/cursor-mdc/parallel-agents.mdc · 85 lines

How it starts

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

Parallel Agent Orchestration (Auto-Select)

Automatically select the best orchestration pattern for every task. No user input needed.

Pattern Selection Decision Tree

Is the task a single file read/edit or simple question?
  YES → No agents. Use tools directly.
  NO  ↓

Can ALL subtasks run independently (no deps between them)?
  YES → Can it fit in ≤4 subtasks?
    YES → PATTERN 1: Single Wave
    NO  → PATTERN 2: Multi-Wave (split into waves of 4)
  NO  ↓

Do later subtasks need results from earlier ones?
  YES → Do they need FULL prior context (iterative refinement)?
    YES → PATTERN 4: Resume Chains
    NO  → PATTERN 3: Shared Files (write findings → read findings)

Pattern 1: Single Wave

When: 2-4 independent subtasks. No coordination needed.

Launch: [Agent A, Agent B, Agent C, Agent D]
Collect results. Done.

Pattern 2: Multi-Wave

When: 5+ subtasks, or verification needed after implementation.

Wave 1: [A, B, C, D] → collect + synthesize
Wave 2: [E, F, G, H] → prompts include Wave 1 synthesis
Wave 3: [verification pass] → orchestrator re-checks all changes

Pattern 3: Shared Files

When: Agents need each other's output.

Create: .coordination-[task].md
Wave 1: Agents write their section to the file
Wave 2: Agents READ the file, then act on what others found

Pattern 4: Resume Chains

When: Deep iterative work on a complex problem.

Round 1: Agent explores → returns findings + ID
Round 2: Resume agent with new context
Round 3: Continue with full history

Mandatory Verification Rule

Every implementation pattern MUST end with a verification step.

Pattern Verification
Single Wave Orchestrator runs a verification pass in a follow-up call
Multi-Wave Final wave is always the verification pass
Shared Files Wave 2+ includes the verification pass
Resume Chains Final round is "verify everything you changed"

Rules

  1. Auto-select pattern — Never ask the user which pattern to use
  2. Batch independent agents — Launch all parallel agents in one message
  3. Full context in every prompt — Agents don't see the conversation
  4. Never skip verification — Last step of any pattern is always verify

Read the full file on GitHub · 85 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. 2mo ago Changed · +48 tokens per session 6dad40ef36c8
  2. 3mo ago First seen · 85 lines · 586 tokens per session scan A e839c4b93c27

Subscribe to this mod's changes

parallel-agents is a cursor rule published in the GitHub repository coco-research/coco (323 stars, last pushed yesterday), licensed Apache-2.0. It adds 634 tokens to every session, about $0.0025 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-30.

Related

parallel-agents compared with cursor rules from other repositories

parallel-agents next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
parallel-agentscoco-research/cocoCursor rule323yesterdayApache-2.0A634Cursor
tf-plananmolnagpal/devops-skillsCursor rule92d agoMITB4,253Cursor
orchestrator-mainmadebyaris/agent-orchestrationCursor rule217mo agoMITA11Cursor
tasksavedpixel/ai-agent-rules-generatorCursor rule87mo agoMITA1,949Cursor
browser-ops-agentguorunjie/skillpack-forgeCursor rule16mo agoMITA104Cursor
docs-ops-demoguorunjie/skillpack-forgeCursor rule16mo agoMITA126Cursor
databaseItamarZand88/awesome-agent-conventionsCursor rule384mo agoMITA444Cursor