swarm-resume
Skill0 starsChanged 5 months agoMITView on GitHub
Resume flow for crashed or rate-limit-killed swarm runs - lists unfinished workflow runs and resumes with the exact launch-time script version so completed agents replay free from cache [internal: loaded by swarm-director on a resume task]
1 other project uses a version of this.
Adopted by
Most recently taken up by
- ZaxbyHub/opencode-swarmtheir own version, first seen Sep 5, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- ZaxbyHub/opencode-swarm★ 485same 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 repository7 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- repo-entrySkill
- swarm-directorSkill
- swarm-doctorSkill
- swarm-greenfieldSkill
- swarm-issuesSkill
- swarm-setupSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Never resume while a rate limit is still active.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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 flow (crashed or limit-killed runs)
- List unfinished runs: transcript dirs under the session's
subagents/workflows/with ajournal.jsonlbut no completed task result; show run id, workflow name, completed-agent count. - CRITICAL: resume with the EXACT script version the run launched with —
cache keys are (prompt, opts). If the script changed since launch,
extract the launch-time version (
git show <commit>:workflows/x.js) to a scratch file and pass THAT asscriptPath. Write that scratch copy under$CLAUDE_CONFIG_DIR/~/.claude+/codeswarm-runs/— never into the plugin clone (it would look like a modified shipped script) and never over the liveworkflows/x.js. Workflow({scriptPath, resumeFromRunId, args: <identical args>})— completed agents replay free from cache; only the missing tail runs.- Never resume while a rate limit is still active; nothing is lost by
waiting. If the old run is not visible (e.g. a new session), read its
journal.jsonland dispatch only the provably missing tail as fresh, narrowly-scoped work — never re-run completed agents live.
Standalone-runner runs (config runner: "standalone") resume themselves:
node <pluginDir>/runner/run.js --resume <runId> — the runner saved the
launch-time script, args and journal under
<configDir>/codeswarm-runs/<runId>/; completed agents replay from the
journal, null results re-run live. Steps 1–3 above apply to Workflow-tool
runs only.
The fit & cost gate does not re-apply here — the spend decision was made at launch. Report what resumed, what replayed free from cache, and what ran live, per the director's reporting rules.
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.

