moire-parallel

moire-parallel is a skill for Claude Code, Codex from jamescazzetta/moire. It costs 51 tokens per session (1,360 once invoked), scanned A, original, MIT.

A tool for running several coding agents at the same time on separate Git worktrees, which are independent working directories linked to one repository. It watches for changes that may collide between agents.

In plain words
What is it for?
Use it when separate tasks can be developed and checked independently, such as changes in mostly different parts of a repository. Do not use it for tightly connected work that depends on a shared core change.
Why use it?
It helps split suitable independent work without making every agent edit the same directory. It also makes conflicts visible while work is in progress.

Skill for Claude CodeCodex

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 skills/jamescazzetta/moire/moire-parallel
Any agent
npx skills add jamescazzetta/moire --skill moire-parallel
Clone the repo
git clone --depth 1 https://github.com/jamescazzetta/moire

Made for: Claude Code, Codex.

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 moire-parallel

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamescazzetta/moire/moire-parallel.svg)](https://agentmods.dev/skills/jamescazzetta/moire/moire-parallel)
Your own site
<a href="https://agentmods.dev/skills/jamescazzetta/moire/moire-parallel"><img src="https://agentmods.dev/badge/skills/jamescazzetta/moire/moire-parallel.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,360 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.00051 $0.01360
Opus 5 $0.00026 $0.00680
Sonnet 5 $0.00010 $0.00272
Haiku 4.5 $0.00005 $0.00136

Measured 4d ago against content hash dcc1564c20e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

moire-parallel 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 4d 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.

skills/moire-parallel/SKILL.md · 123 lines

How it starts

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

Run N agents at once, each in its own git worktree, with moire reporting when any two of them are about to break each other.

Before anything: should this be parallel at all?

Decomposition is a judgement call and it is yours (or the user's) to make — moire has no opinion about it and will not help.

Parallelise when the work splits into pieces that touch mostly different parts of the codebase, and each piece is independently verifiable.

Do not parallelise when the pieces share a core abstraction, or when one must land before another can be written. Say so and work sequentially instead. Splitting tightly coupled work across agents produces collisions faster than any tool can report them, and serial execution is a legitimate answer, not a failure.

If unsure, prefer fewer agents. Three is usually plenty; the coordination cost grows with every additional one.

Setup

moire init-swarm --agents 3

This creates ../<repo>-agent-1, -2, -3, installs the binary and git hooks into .git/ (shared by every worktree), places the skills, and runs doctor. It is idempotent and --dry-run shows the plan without touching anything.

Each worktree is tracked files only. Install dependencies in each one separately — do not symlink a shared node_modules, .venv, or vendor across worktrees to skip the step. Concurrent agents would then be mutating each other's dependencies, which is exactly the class of interference moire exists to detect.

Observing a peer writes that peer's untracked, non-gitignored files into the repository's shared object store, where they persist refless until git's housekeeping prunes them. Gitignored files are never captured, so make sure .env*, credentials and key material are gitignored before dispatching a swarm. The README section "What observation writes, and where" has the detail.

If you want the optional semantic check (moire verify), configure its checker once, before dispatching anyone. The default checker reads Python only; on any other repository it examines nothing and says so. The measured base rate of the failure verify looks for — a textually clean merge that is semantically broken — is 0 of 672 audited co-active agent PR pairs (docs/MEASUREMENTS.md), which is why verify is optional rather than wired into any hook.

Read the full file on GitHub · 123 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. 4d ago First seen · 123 lines · 51 tokens per session scan A dcc1564c20e7

Subscribe to this mod's changes

moire-parallel is a skill published in the GitHub repository jamescazzetta/moire (18 stars, last pushed 9d ago), licensed MIT. It adds 51 tokens to every session and 1,360 once invoked, about $0.0003 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-30.

Related

Other skills, from other repositories

agent-harness-fault-injection

Use when an agent workflow needs deterministic recovery evidence for sandbox, MCP/tool, worker, checkpoint, memory, or orchestration failures.

sickn33/agentic-awesome-skills · 34 tokens

foundry-config-setup

Resolve missing setup caused by a hardcoded Foundry project endpoint or model in a sample. Use when a sample fails because it uses a placeholder/hardcoded projectendpoint (for example "https://your-project.services.ai.azure.com") or a hardcoded model instead of reading them from the environment.

microsoft/agent-framework · 65 tokens

error-recovery

Standard recovery patterns for all squad agents. When something fails, adapt — don't just report the failure.

bradygaster/squad · 24 tokens

agentic-workflow-designer

Conversational skill that interviews users to design new agentic workflows.

bradygaster/squad · 19 tokens

security-review

How to review PRs for security — credentials, injection, workflow permissions, supply chain, git operation safety.

bradygaster/squad · 24 tokens

shogun-screenshot

スクリーンショットの取得・加工を行う。ローカルスクショから最新画像を取得、 PlaywrightでWebページをキャプチャ、画像のトリミング・リサイズ、機微情報を黒塗りマスキング。 記事執筆、レポート作成、UI確認、画像加工時に起動。 「スクショ」「スクリーンショット」「画面キャプチャ」「最新のスクショ」「画像加工」「トリミング」「マスク」「写メ」「写メ撮った」「スクショ撮った」で起動。 Do NOT use for: 画像生成(shogun-imagegenを使え)。.

yohey-w/multi-agent-shogun · 149 tokens