Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By CrazyWillBearv2.2.0MITIn 1 marketplace
Roster-driven multi-session teams: /init-swarm writes a project's .claude/swarm/roster.json, charter, and one brief per chosen role (orchestrator, swe-manager, performance-engineer), roster.sh validates the roster and answers the get/list queries other swarm tooling routes on, and swarm.sh runs the team: up, down, rotate, attach and brief.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Roster-driven multi-session teams. /init-swarm scaffolds a project's roster, charter and
briefs; swarm.sh runs the team. See
docs/swarm-design.md § Roster / § Lifecycle / § Rotation.
plugins/swarm/
├── .claude-plugin/plugin.json # manifest
├── skills/
│ └── init-swarm/SKILL.md # /init-swarm — write .claude/swarm/ for this project; spawns nothing
├── scripts/
│ ├── swarm.sh # run the team: up | down | rotate | attach | brief
│ ├── roster.sh # validate roster.json, and answer get/list against it
│ └── memory.sh # scaffold .claude/swarm/memory/ (real wilcus-vault, or a fallback tree)
├── templates/
│ ├── roster.json # all three default roles, keyed by role name
│ ├── charter.md # the standing rules appended to every peer's system prompt
│ └── briefs/<role>.md # one starting brief per shipped role
├── tests/ # one bash test per script, plus one for the skill
└── README.md # this file
spawn.sh, session-status.sh and resolve-tier.sh live in the infra
plugin. swarm reaches them only through the stable link ~/.claude/kit/infra/scripts/,
refreshed by infra's own SessionStart hook — never by a relative path, because a marketplace
install caches each plugin under its own version directory.
/init-swarm asks which of the three shipped roles the project wants and writes only those,
under .claude/swarm/:
.claude/swarm/
├── roster.json # the chosen rows, copied verbatim from the template
├── charter.md # written unconditionally — every role shares it
├── inbox/<role>/brief.md # one per chosen role
├── memory/ # shared/, roles/<role>/, proposals/<role>/
└── orchestrator.session # the orchestrator's own session id, written on its first turn
It spawns nothing. Starting the team is swarm.sh up, afterwards. It also never clobbers
silently: an existing roster, charter or brief is shown as a diff and confirmed before it is
overwritten.
roster.json is one object keyed by role name, each row carrying kind, backend, model,
effort (plus optional rotate_at / autocompact, defaulting to 300000 / 400000).
| kind | what it is |
|---|---|
manager, doer | a peer — a standing claude --bg session named by its role, which idles between briefs and is replaced by rotation |
orchestrator | your own interactive session, the one that relays and merges. Not a peer; swarm.sh never starts or stops it as one |
worker | never a session at all — one-shot task work, spawned per issue by /orchestrate |
A worker row must name its manager, and that manager must exist in the same roster.
swarm.sh — the lifecyclebash "${CLAUDE_PLUGIN_ROOT}/scripts/swarm.sh" up [project-dir]
bash "${CLAUDE_PLUGIN_ROOT}/scripts/swarm.sh" down [project-dir]
bash "${CLAUDE_PLUGIN_ROOT}/scripts/swarm.sh" rotate <role> <handoff-path> [project-dir]
bash "${CLAUDE_PLUGIN_ROOT}/scripts/swarm.sh" attach <role> [project-dir]
bash "${CLAUDE_PLUGIN_ROOT}/scripts/swarm.sh" brief <role> <file> [project-dir]
project-dir defaults to $PWD.
up starts every peer that is not already running, then hands you the terminal as the
orchestrator — resumed from orchestrator.session, or started fresh from its brief. Idempotent.
A peer that fails to spawn aborts up before the orchestrator: a half-built swarm the
orchestrator cannot see is worse than no swarm at all.down stops this project's live peers. Never the orchestrator.rotate replaces one peer's process while keeping its name — wait for idle, stop, respawn
with the predecessor's handoff prepended. It is the peer equivalent of /clear then go.
Nothing here measures context: the peer nudges itself from its own transcript (the
context plugin's watchdog), and you rotate it once it replies that it
is ready.brief copies a file into a role's inbox — a manual, occasional call; nothing in up,
down, rotate or attach invokes it. In practice an inbox holds only the role's
standing brief.md from init; a peer lists it once after a handoff, but ongoing
coordination is SendMessage, not a file drop.Addressing is the one thing to get right. claude stop and claude attach take a session
id and reject a name outright; the name is what SendMessage uses. Every id here comes from
session-status.sh, column 2.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub crazywillbear/my-dotclaude --plugin swarmPlugins from other owners that cover similar ground