nw-swarm

nw-swarm is a skill for Claude Code from nWave-ai/nWave. It costs 43 tokens per session (1,861 once invoked), scanned A, original, MIT.

A workflow for running several coding-agent work areas at the same time, with one coordinator for each area. Each area uses a Git worktree, which is a separate working copy connected to the same repository.

In plain words
What is it for?
Use it to open multiple lanes for separate features, have agents work through them, review their results, and integrate the lanes one at a time.
Why use it?
It keeps parallel feature work separated while one root coordinator remains responsible for combining the results. This reduces conflicts between agents editing the main branch.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents.

Good fit Use it to open multiple lanes for separate features, have agents work through them, review their results, and integrate the lanes one at a time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nwave-ai/nwave/nw-swarm
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.

Any agent
npx skills add nWave-ai/nWave --skill nw-swarm
Clone the repo
git clone --depth 1 https://github.com/nWave-ai/nWave

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 nw-swarm

README.md
[![agentmods](https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-swarm/github.svg)](https://agentmods.dev/skills/nwave-ai/nwave/nw-swarm)
Your own site
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-swarm"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-swarm/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 nw-swarm

Your own site · 80×15
<a href="https://agentmods.dev/skills/nwave-ai/nwave/nw-swarm"><img src="https://agentmods.dev/badge/skills/nwave-ai/nwave/nw-swarm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,861 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.00043 $0.01861
Opus 5.5 $0.00017 $0.00744
Sonnet 5.5 $0.00009 $0.00372
Haiku 4.5 $0.00004 $0.00186

Measured 17d ago against content hash d80bb0fb6b30, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nw-swarm 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 17d 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.

nWave/skills/nw-swarm/SKILL.md · 120 lines

How it starts

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

nw-swarm

A swarm is several nwdes lanes advancing at once, each driven end to end by one lane orchestrator, while the root stays the only writer on trunk. The verbs are nwdes (Python) and the lane is a git worktree, so every host can run it; the host only needs to start a sub-agent and, ideally, send it messages. Verbs and lane open, compose, integrate: nw-nwdes. Capacity, Lane flow, worktree lifecycle: nw-throughput. Role invocation forms: nw-role-invocation. None is restated here.

Roles

Role Does Never does
Root opens lanes, briefs and revives orchestrators, answers questions, rules on options, composes and integrates one lane at a time, keeps the board role work, repairing a role's values, a second trunk writer
Lane orchestrator (nw-lane-orchestrator) runs ONE lane: design, oracle, review, craft, host verification, compose, whole-candidate review and examine on the composed candidate; launches roles with nwdes prompt output verbatim role work, push, CI dispatch, nwdes lane integrate
Role agents record through their nwdes kind verbs and close commit another role's half, edit another role's file

Trunk has one writer: the root. A lane writes only inside its own worktree.

Size and WIP

Size the work by the work, never by the free slot. WIP limits per size (how many L, M, S lanes may be open) are project configuration; read them from the project instructions. Without them, open one lane and add another only while the box keeps its headroom and end-to-end wall time does not rise (nw-throughput, Strategy). Rework of an open lane precedes opening new work (nw-throughput, Lane flow).

Open a lane

  1. Check git worktree list and the lane tree: no lane for this feature exists yet.
  2. nwdes lane open --feature <feature> from the root checkout; the lane is ROOT/lanes/<feature>.
  3. Record the lane's ABSOLUTE path. Every later message names absolute paths, never relative ones.
  4. Put host-only output (diffs, receipts) outside the worktree, under a bounded scratch root.

Read the full file on GitHub · 120 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. 17d ago Changed d80bb0fb6b30
  2. 24d ago First seen · 120 lines · 43 tokens per session scan A c8282008739d

Subscribe to this mod's changes

nw-swarm is a skill published in the GitHub repository nWave-ai/nWave (636 stars, last pushed 11d ago), licensed MIT. It adds 43 tokens to every session and 1,861 once invoked, about $0.0002 per session on Opus 5.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-11-06.

Related

nw-swarm compared with skills from other repositories

nw-swarm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nw-swarmnWave-ai/nWaveSkill63611d agoMITA43Claude Code
workflow-patternswshobson/agentsSkill43k6d agoMITA35Claude Code
strict-tdda5c-ai/babysitterSkill1.9k29d agoMITA34Claude Code
sup-codingchinkan/RustFoxSkill14yesterdayMITA25Claude Code, Codex
workflow-patternsmattmre/EVOKORE-MCP-PUBLICSkill46mo agoMITA35Claude Code, Codex
debug-flowDVNghiem/FlowDeckSkill4415d agoMITA34Claude Code, Codex
bridge-syncbks-lab/open-bridgeSkill16todayMITA89Claude Code, Codex