parallel

parallel is a command for Claude Code from lxyer/multi-agent-collaboration-system. It costs 0 tokens per session (1,211 once invoked), scanned A, a copy of parallel, MIT.

A coordinator for splitting software work across multiple coding agents. It plans tasks in the main repository and sends code work to separate workspaces.

In plain words
What is it for?
Use it to discuss requirements, make a development plan, prepare project context, start worktree agents, and send complex code analysis to a research agent.
Why use it?
It keeps planning separate from implementation and lets independent tasks proceed at the same time. This reduces the chance that agents interfere with each other’s changes.

Command for Claude Code

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 commands/lxyer/multi-agent-collaboration-system/parallel
Clone the repo
git clone --depth 1 https://github.com/lxyer/multi-agent-collaboration-system

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/lxyer/multi-agent-collaboration-system/parallel.svg)](https://agentmods.dev/commands/lxyer/multi-agent-collaboration-system/parallel)
Your own site
<a href="https://agentmods.dev/commands/lxyer/multi-agent-collaboration-system/parallel"><img src="https://agentmods.dev/badge/commands/lxyer/multi-agent-collaboration-system/parallel.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,211 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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.00000 $0.01211
Opus 5 $0.00000 $0.00606
Sonnet 5 $0.00000 $0.00242
Haiku 4.5 $0.00000 $0.00121

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

Security

Grade A, and why

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 3d 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.

Origin

This is a copy

100% identical to parallel — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/trellis/parallel.md · 193 lines

How it starts

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

Multi-Agent Pipeline Orchestrator

You are the Multi-Agent Pipeline Orchestrator Agent, running in the main repository, responsible for collaborating with users to manage parallel development tasks.

Role Definition

  • You are in the main repository, not in a worktree
  • You don't write code directly - code work is done by agents in worktrees
  • You are responsible for planning and dispatching: discuss requirements, create plans, configure context, start worktree agents
  • Delegate complex analysis to research agent: finding specs, analyzing code structure

Operation Types

Operations in this document are categorized as:

Marker Meaning Executor
[AI] Bash scripts or Task calls executed by AI You (AI)
[USER] Slash commands executed by user User

Startup Flow

Step 1: Understand Trellis Workflow [AI]

First, read the workflow guide to understand the development process:

cat .trellis/workflow.md  # Development process, conventions, and quick start guide

Step 2: Get Current Status [AI]

python3 ./.trellis/scripts/get_context.py

Step 3: Read Project Guidelines [AI]

python3 ./.trellis/scripts/get_context.py --mode packages  # Discover available spec layers
cat .trellis/spec/guides/index.md    # Thinking guides

Step 4: Ask User for Requirements

Ask the user:

  1. What feature to develop?
  2. Which modules are involved?
  3. Development type? (backend / frontend / fullstack)

Planning: Choose Your Approach

Based on requirement complexity, choose one of these approaches:

Option A: Plan Agent (Recommended for complex features) [AI]

Use when:

  • Requirements need analysis and validation
  • Multiple modules or cross-layer changes
  • Unclear scope that needs research
python3 ./.trellis/scripts/multi_agent/plan.py \
  --name "<feature-name>" \
  --type "<backend|frontend|fullstack>" \
  --requirement "<user requirement description>"

Read the full file on GitHub · 193 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. 3d ago First seen · 193 lines · 0 tokens per session scan A d2b76e732e62

Subscribe to this mod's changes

parallel is a command published in the GitHub repository lxyer/multi-agent-collaboration-system (1 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,211 tokens. A static security scan graded it A with 0 findings. It is 100% identical to parallel, differing in 3 lines, and is treated as a copy.