parallel

A coordinator for splitting development work among multiple coding agents working in separate copies of a repository.

In plain words
What is it for?
Use it to understand the project, create a plan, assign work to agents, and combine parallel development tasks.
Why use it?
It lets the main agent plan and track several tasks while delegated agents make code changes independently.

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/mistydew/tokenicode-deepseek-alpha/parallel
Clone the repo
git clone --depth 1 https://github.com/mistydew/tokenicode-deepseek-alpha

Made for: Claude Code.

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,220 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.00000 $0.01220
Opus 5 $0.00000 $0.00610
Sonnet 5 $0.00000 $0.00244
Haiku 4.5 $0.00000 $0.00122

Measured 2d ago against content hash f4c81fe1a468, 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 2d 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

Copies of this mod

4 near-identical copies found in the catalogue:

  • parallel — 100% identical, 0 lines differ
  • parallel — 100% identical, 3 lines differ
  • parallel — 100% identical, 0 lines differ
  • parallel — 100% identical, 0 lines differ
.claude/commands/trellis/parallel.md · 194 lines

How it starts

The opening of the file, as written. The whole thing — 194 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]

cat .trellis/spec/frontend/index.md  # Frontend guidelines index
cat .trellis/spec/backend/index.md   # Backend guidelines index
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 · 194 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. 2d ago First seen · 194 lines · 0 tokens per session scan A f4c81fe1a468

Subscribe to this mod's changes

parallel is a command published in the GitHub repository mistydew/tokenicode-deepseek-alpha (367 stars, last pushed 28d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,220 tokens. 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.