Ingest the world this code lives in
Prior learnings for this repo, then live state from every connected tool: schema, advisors, deploys, logs, the thread where it was reported.
It leaves when a verification pass is all green and a fresh sweep finds nothing, in the same round.
ingest
The strongest thing you can do is give an agent a way to review its work.
That is what swarm is.
Sub-agents do the reading and hand back a finding plus a path to the evidence. Bulk never crosses back.
Sample recon round. What crosses back: three lines and a file path.
Every root cause, fix and assumption goes to a second agent with fresh context, framed as something to disprove.
Concurrent fixers never share a working tree. Ordered chains open as a stack, so every pull request shows only its own change.
Durable state at the repo root, so a restart resumes instead of redoing finished work.
Install
# clone once, symlink to both hosts
git clone https://github.com/SaarthurR/swarm.git ~/skills/swarm
ln -s ~/skills/swarm ~/.cursor/skills/swarm
ln -s ~/skills/swarm ~/.claude/skills/swarm
Then hand over the goal: