๐Ÿงญ CC Parallel Primitives โ€” Decision Tool

Claude Code gives you three different parallel primitives. They're not interchangeable. This page helps you pick the right one for your workload. Companion to docs/parallel-primitives.md.

Task tool

STAR pattern ยท subagents ยท in-process

~150K tok simplest

Example: /ork:cover spawns one Task per test tier.

Agent Teams

MESH pattern ยท TeamCreate + SendMessage

~400K tok debate-capable

Example: /ork:brainstorm with system-designer vs backend-thinker.

claude agents CLI

PROCESS-ISOLATED ยท separate OS processes

N ร— budget survives /clear

Example: M170 wave โ€” 4 detached sessions, one per worktree.

Pick the right primitive

Q1
Do the N tasks need to talk to each other while running?
Q2
Do they need to survive `/clear`, terminal close, or run overnight?
Q3 (sanity check)
Is the work actually parallel, or is it a single loop over N items?

Case study โ€” today's 5-PR merge queue

PrimitiveFit?Why
Task toolโŒSubagents return and die โ€” can't watch persistently
Agent TeamsโŒNo coordination needed โ€” rebase is mechanical
claude agents CLIโŒHeavy: N processes for a polling loop is wasteful
A single foreground loop + gh CLIโœ…ONE process, ONE budget, watches N PRs

Lesson: not every "N things" needs parallelism. Sometimes the right answer is a smarter single loop.