swarm-resume
Skill517 starsChanged 3 days agoMITView on GitHub
Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state.
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
If .swarm/plan.md exists:
- Distinctive: line 15
Read plan.md header for "Swarm:" field
- Distinctive: line 16
If Swarm field missing or matches the active swarm id:
- Distinctive: line 19
If Swarm field differs (e.g., plan says "local" but the active swarm id is "cloud"):
- Very specific: line 20
Update the plan's Swarm field to the active swarm id via save_plan (do not hand-edit plan.md — it is a derived projection).
- Distinctive: line 22
Delete the SME Cache section from context.md (stale from other swarm's agents)
- Distinctive: line 23
Update context.md Swarm field to the active swarm id
- Very specific: line 27
If .swarm/plan.md does not exist → New project, proceed to MODE: SPECIFY If new project: Run complexity_hotspots tool (90 days) to generate …
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Resume Protocol
This protocol is loaded on demand by the architect runtime. The architect prompt keeps only activation, action, and hard safety constraints; the full execution details live here.
MODE: RESUME
If .swarm/plan.md exists:
- Read plan.md header for "Swarm:" field
- If Swarm field missing or matches the active swarm id:
- Reconcile stale worktree state before resuming: prune/adopt stale
.swarm-worktrees/lane directories andswarm-lane/*git branches left from the prior session. Drive this via the/swarm reset-sessionrecovery command (internal:cleanupOrphanedBranches) so the resumed run starts from a clean provisioning state. - Resume at current task
- Reconcile stale worktree state before resuming: prune/adopt stale
- If Swarm field differs (e.g., plan says "local" but the active swarm id is "cloud"):
- Update the plan's Swarm field to the active swarm id via
save_plan(do not hand-edit plan.md — it is a derived projection). - Purge any memory blocks (persona, agent_role, etc.) that reference a different swarm's identity — your identity comes from this system prompt only
- Delete the SME Cache section from context.md (stale from other swarm's agents)
- Update context.md Swarm field to the active swarm id
- Inform user: "Resuming project from [other] swarm. Cleared stale context. Ready to continue."
- Reconcile stale worktree state before resuming: prune/adopt stale
.swarm-worktrees/lane directories andswarm-lane/*git branches left from the prior session. Drive this via the/swarm reset-sessionrecovery command (internal:cleanupOrphanedBranches) so the resumed run starts from a clean provisioning state. - Resume at current task
If .swarm/plan.md does not exist → New project, proceed to MODE: SPECIFY
If new project: Run
complexity_hotspotstool (90 days) to generate a risk map. Note modules with recommendation "security_review" or "full_gates" in context.md for stricter QA gates during QA gate selection (stricter gates). Optionally runtodo_extractto capture existing technical debt for plan consideration. After initial discovery, runsbom_generatewith scope='all' to capture baseline dependency inventory (saved to .swarm/evidence/sbom/).
- Update the plan's Swarm field to the active swarm id via
Other versions2 projects use a version of this.
Word for word · 1
- ZaxbyHub/opencode-swarm★ 517100% same
Edited · 0
None found.
Wrote their own version · 1
- ekamphuis82/claude-code-swarm★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository66 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- ci-fix-monitorSkill
- codebase-review-swarmSkill
- commit-prSkill
- contributingSkill
- engineering-conventionsSkill
- fork-pr-operationsSkill
- guardrail-patternsSkill
- issue-tracerSkill
- mock-to-internals-migrationSkill
- pr-review-fixSkill
- qa-sweepSkill
- research-firstSkill
- running-testsSkill
- subprocess-safetySkill
- swarm-ci-monitorSkill
- swarm-implementSkill
- swarm-pr-feedbackSkill
- swarm-pr-reviewSkill
- swarm-pr-subscribeSkill
- swarmSkill
- tech-debt-ci-reviewSkill
- test-file-splitSkill
- unswarmSkill
- writing-testsSkill
- brainstormSkill
- clarifySkill
- clarify-specSkill
- codebase-review-swarmSkill
- commit-prSkill
- consultSkill
- councilSkill
- critic-gateSkill
- deep-diveSkill
- deep-researchSkill
- design-docsSkill
- discoverSkill
- durable-session-stateSkill
- editing-skillsSkill
- engineering-conventionsSkill
- executeSkill
- fork-pr-operationsSkill
- graphifySkill
- issue-ingestSkill
- issue-tracerSkill
- orchestrating-subagentsSkill
- phase-wrapSkill
- pre-phase-briefingSkill
- qa-sweepSkill
- research-firstSkill
- rust-crate-ciSkill
- specifySkill
- swarm-ci-monitorSkill
- swarm-implementSkill
- swarm-planSkill
- swarm-pr-feedbackSkill
- swarm-pr-reviewSkill
- swarm-pr-subscribeSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

