parallel-agent-orchestration

parallel-agent-orchestration is a skill for Claude Code from avmnu-sng/sutra. It costs 37 tokens per session (2,104 once invoked), scanned A, original, MIT.

Guidance for coordinating several coding agents or sessions that work at the same time.

In plain words
What is it for?
Choose between shared-state coordination and separate worktrees, then set rules that ensure only one agent edits a file at a time.
Why use it?
It prevents agents from overwriting each other’s changes when they share files, branches, or a working folder.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is git worktree add ../wt-agent-a agent/track-a # agent A's tree + branch.

Part of the sutra plugin — 19 skills, 4 agents, 2 hooks shipped together

Good fit Choose between shared-state coordination and separate worktrees, then set rules that ensure only one agent edits a file at a time.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/avmnu-sng/sutra
agentmods
npx agentmods add skills/avmnu-sng/sutra/parallel-agent-orchestration

Made for: Claude Code.

Or install sutra, the plugin that ships this one along with the rest of its 19 skills, 4 agents, 2 hooks.

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-agent-orchestration

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/avmnu-sng/sutra/parallel-agent-orchestration"><img src="https://agentmods.dev/badge/skills/avmnu-sng/sutra/parallel-agent-orchestration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,104 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.00037 $0.02104
Opus 5 $0.00018 $0.01052
Sonnet 5 $0.00007 $0.00421
Haiku 4.5 $0.00004 $0.00210

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

Security

Grade A, and why

parallel-agent-orchestration 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.

plugins/sutra/skills/parallel-agent-orchestration/SKILL.md · 201 lines

How it starts

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

Parallel agent orchestration

The rest of sutra's guidance assumes one agent, one session, one working tree -- a single writer. Fan out concurrent agents against shared state and that assumption breaks silently: two agents open the same file, both edit, the second write clobbers the first, and you lose work or produce an un-mergeable tree with no error raised. Concurrency bugs do not announce themselves; you discover them at merge time or in production.

Pick an isolation regime BEFORE you fan out. Retrofitting coordination onto agents that are already running is how state gets corrupted.

The one hard rule

Never let two agents mutate the same file at the same time without either a mutex or separate worktrees. Every recipe below exists to enforce this single invariant. If you cannot name the mechanism that prevents a concurrent double-write, do not fan out yet -- run the work serially instead.

Choose the regime

One question decides everything: do the concurrent agents share a working tree?

  • Yes -- they edit files in the same checkout -> Shared-state regime.
  • No -- each owns an independent track with its own tree -> Disjoint regime.

When unsure, assume shared-state. It is the stricter of the two, and its machinery is a superset of what the disjoint regime needs.

Shared-state regime

Agents touch the same repository, so coordination is mandatory. Layer the five controls below; each closes a different collision path.

1. Give each agent its own git worktree

A worktree is the executable form of the hard rule. git worktree gives every agent an isolated checkout -- its own index and working files -- backed by one shared object store and history. Two agents editing "the same file" now edit two distinct paths; there is no in-place double-write to lose.

git worktree add ../wt-agent-a agent/track-a   # agent A's tree + branch
git worktree add ../wt-agent-b agent/track-b   # agent B's tree + branch

Each agent runs entirely inside its own worktree directory and commits to its own branch. An integrator merges the branches afterward, where real conflicts surface as ordinary, visible merge conflicts instead of silent clobbers. This is the default; reach for the finer-grained controls below only when agents must share one tree.

Read the full file on GitHub · 201 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 First seen · 201 lines · 37 tokens per session scan A 6d94e55171da

Subscribe to this mod's changes

parallel-agent-orchestration is a skill published in the GitHub repository avmnu-sng/sutra (2 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 2,104 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

memstack-business-gdpr

Use this skill when the user says 'GDPR', 'data protection', 'privacy compliance', 'DPA', 'DSAR', 'data subject request', 'cookie consent', 'privacy audit', 'CCPA', or asks 'do I need GDPR for this repo'. Scans the repository to detect what personal data is collected, classifies sensitivity, determines whether GDPR…

cwinvestments/memstack · 121 tokens

memstack-deployment-domain-ssl

Use this skill when the user says 'setup domain', 'configure DNS', 'SSL certificate', 'domain-ssl', 'custom domain', 'HTTPS setup', or needs to configure DNS records, SSL certificates, and custom domains for any hosting provider. Do NOT use for full deployment workflows.

cwinvestments/memstack · 66 tokens

memstack-development-refactor-planner

Use this skill when the user says 'refactor', 'refactoring plan', 'code cleanup', 'reduce duplication', 'simplify code', 'tech debt', 'god class', 'tight coupling', or needs to systematically improve existing code. Identifies targets, assesses risk, and builds incremental execution plans. Do NOT use for writing new…

cwinvestments/memstack · 81 tokens

memstack-product-feedback-analyzer

Use this skill when the user says 'analyze feedback', 'feedback analysis', 'what are customers asking for', or has support tickets, reviews, or survey data to categorize, score, and prioritize into actionable reports. Do NOT use for competitor analysis or market research.

cwinvestments/memstack · 61 tokens

memstack-seo-meta-tag-optimizer

Use this skill when the user says 'meta tags', 'title tag', 'meta description', 'optimize meta', 'SERP preview', or needs to write or optimize HTML meta tags for better search visibility and click-through rates. Do NOT use for schema markup or full site audits.

cwinvestments/memstack · 67 tokens

familiar

Use when the user says 'dispatch', 'send familiar', 'split task', or needs work split across parallel CC sessions.

cwinvestments/memstack · 28 tokens