Agent skill

Swarm Resume

by ZaxbyHub in ZaxbyHub/opencode-swarm

Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state.

MITAuto-check passedDevelopment

Install Swarm Resume

skills CLI
$ npx skills add ZaxbyHub/opencode-swarm --skill swarm-resume -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ZaxbyHub/opencode-swarm swarm-resume --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ZaxbyHub/opencode-swarm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/swarm-resume .claude/skills/swarm-resume && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
swarm-resume
GitHub stars
494
Token cost
~597 tokens
SKILL.md length
301 words
Files
1
Skills in repo
91
Repo updated
First seen
Licence
MIT

At a glance

Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state.

  • Works in 3 steps: Read plan.md header for "Swarm:" field → If Swarm field missing or matches the… → If Swarm field differs (e.g., plan says…
  • Development work in your project
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Swarm Resume is an agent skill from ZaxbyHub/opencode-swarm. Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state.

Its SKILL.md is about 600 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development. The repository describes itself as: Architect-centric agentic swarm plugin for OpenCode. Hub-and-spoke orchestration with SME consultation, code generation, and QA review. The licence is MIT.

When your agent uses it

  • Development work in your project

Example prompts

  • “/swarm-resume”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Read plan.md header for "Swarm:" field
  2. If Swarm field missing or matches the active swarm id
  3. If Swarm field differs (e.g., plan says "local" but the active swarm id is "cloud")

What it can do on your machine

Read from SKILL.md and the folder at commit b63a4bd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Swarm Resume loads about 597 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 301 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~597

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ZaxbyHub/opencode-swarm at commit b63a4bd, republished under its MIT licence (© ZaxbyHub). 301 words, ~597 tokens.

Download SKILL.mdSave it as .claude/skills/swarm-resume/SKILL.md (or your agent's skills folder).
name
swarm-resume
description
Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state.
audience
swarm-plugin

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:

  1. Read plan.md header for "Swarm:" field
  2. If Swarm field missing or matches the active swarm id:
    • Reconcile stale worktree state before resuming: prune/adopt stale .swarm-worktrees/ lane directories and swarm-lane/* git branches left from the prior session. Drive this via the /swarm reset-session recovery command (internal: cleanupOrphanedBranches) so the resumed run starts from a clean provisioning state.
    • Resume at current task
  3. 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 and swarm-lane/* git branches left from the prior session. Drive this via the /swarm reset-session recovery 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_hotspots tool (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 run todo_extract to capture existing technical debt for plan consideration. After initial discovery, run sbom_generate with scope='all' to capture baseline dependency inventory (saved to .swarm/evidence/sbom/).

© ZaxbyHub, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/swarm-resume of ZaxbyHub/opencode-swarm.

Open the folder on GitHubat commit b63a4bd

Compare with similar skills

Swarm Resume next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Swarm Resume compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swarm Resume this skillZaxbyHub/opencode-swarm494—~597Automated safety check: PassMIT
Vercel Composition Patternssupabase/supabase111k58 repos~726Automated safety check: PassMIT
Finishing a Development Branchobra/superpowers297k5 repos~1.9kAutomated safety check: PassMIT
Typescript Advanced Typesrolling-scopes/rsschool-app10k25 repos~4.2kAutomated safety check: PassMPL-2.0
PR Babysitteropeninterpreter/openinterpreter69k3 repos~4.2kAutomated safety check: PassApache-2.0
Code Review ChecklistshareAI-lab/learn-claude-code78k4 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • Official

    React composition patterns that scale. An agent skill from supabase/supabase.

    111k GitHub starsUsed in 58 repos~726 tokens
    DevelopmentAuto-check passed
  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    297k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Typescript Advanced Types

    rolling-scopes/rsschool-app

    Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.

    10k GitHub starsUsed in 25 repos~4.2k tokens
    DevelopmentAuto-check passed
  • PR Babysitter

    openinterpreter/openinterpreter

    Watches an open GitHub pull request until it merges, handling review comments, diagnosing CI failures and retrying flaky checks along the way.

    69k GitHub starsUsed in 3 repos~4.2k tokens
    DevelopmentAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 4 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Greploop

    onyx-dot-app/onyx

    Iteratively improves a PR (GitHub), MR (GitLab), or shelved changelist (Perforce) until Greptile gives it a 5/5 confidence score with zero unresolved comments.

    32k GitHub starsUsed in 4 repos~3.3k tokens
    DevelopmentAuto-check passed

More from ZaxbyHub/opencode-swarm

All 91 skills in this repo
  • Codebase Review Swarm

    ZaxbyHub/opencode-swarm

    Runs an evidence-gated, quote-grounded audit of a codebase for security, QA, accessibility, performance and more, and writes a verified report without changing source files.

    496 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Issue Tracer

    ZaxbyHub/opencode-swarm

    Drives a bug report from validation and root-cause tracing through a critic-reviewed plan, an approved minimal fix and a PR-ready closure, never merging without recorded human approval.

    496 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Commit and PR Publishing for Codex

    ZaxbyHub/opencode-swarm

    Codex adapter for opencode-swarm that governs commits, pushes, draft PRs, PR body updates and CI closeout, deferring to the repo's canonical commit-pr protocol.

    496 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Durable Session State

    ZaxbyHub/opencode-swarm

    Keeps plans, decisions, evidence and reviewer verdicts in small files so long multi-phase tasks survive context compaction and session resumes.

    496 GitHub stars~896 tokensUpdated today
    Auto-check passed
  • Swarm PR Feedback Closer

    ZaxbyHub/opencode-swarm

    Ingests existing pull request feedback such as review comments and CI failures, verifies each claim, fixes confirmed issues and reports closure status for every item.

    496 GitHub stars~14k tokensUpdated today
    Auto-check passed
  • Swarm PR Subscribe

    ZaxbyHub/opencode-swarm

    Monitor a pull request after creation and act autonomously on pushed PR activity.

    496 GitHub stars~2.2k tokensUpdated today
    Auto-check passed

Categories

Questions about Swarm Resume

What does Swarm Resume do?

Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state. Swarm Resume is an agent skill from ZaxbyHub/opencode-swarm. Full execution protocol for MODE: RESUME -- continuing an existing approved plan safely from current state.

When should I use Swarm Resume?

Swarm Resume fits situations like: development work in your project.

How do I install Swarm Resume in Claude Code?

Run `npx skills add ZaxbyHub/opencode-swarm --skill swarm-resume -a claude-code`. Or copy the skill folder (.claude/skills/swarm-resume in ZaxbyHub/opencode-swarm) into .claude/skills/swarm-resume in your project. Claude Code loads it when a task matches its description.

How do I install Swarm Resume in Codex?

Run `npx skills add ZaxbyHub/opencode-swarm --skill swarm-resume -a codex`. Or copy the skill folder (.claude/skills/swarm-resume in ZaxbyHub/opencode-swarm) into .agents/skills/swarm-resume in your project. Codex loads it when a task matches its description.

Can I use Swarm Resume in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ZaxbyHub/opencode-swarm --skill swarm-resume -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swarm-resume, .gemini/skills/swarm-resume, .github/skills/swarm-resume and .opencode/skills/swarm-resume in your project.

What does Swarm Resume need to run?

SKILL.md names no scripts, command-line tools or credentials: Swarm Resume is instructions for the agent only.

Does Swarm Resume access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Swarm Resume safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Swarm Resume use?

Swarm Resume is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Swarm Resume use?

About 597 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Swarm Resume?

Skills that share tags, products or a category with Swarm Resume: Vercel Composition Patterns (supabase/supabase, 111k stars), Finishing a Development Branch (obra/superpowers, 297k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and PR Babysitter (openinterpreter/openinterpreter, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swarm Resume?

ZaxbyHub (a GitHub organization) maintains it in ZaxbyHub/opencode-swarm, which has 494 GitHub stars. The repository holds 91 skills in this directory. The repository was last updated on October 10, 2026.

Source: ZaxbyHub/opencode-swarm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.