Agent skill

Swarm

by tellahq in tellahq/opensession

Fan out N parallel workers, drain them, and return one report.

MITAuto-check passed

Install Swarm

skills CLI
$ npx skills add tellahq/opensession --skill swarm -a claude-code

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

GitHub CLI
$ gh skill install tellahq/opensession swarm --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/tellahq/opensession.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pstack-suite/skills/swarm .claude/skills/swarm && 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
GitHub stars
392
Token cost
~609 tokens
SKILL.md length
364 words
Files
1
Skills in repo
15
Repo updated
First seen
Licence
MIT

At a glance

Fan out N parallel workers, drain them, and return one report.

  • Works in 4 steps: Frame → Fan out → Aggregate → …
  • Parallel coverage
  • SKILL.md covers Start, Phase A: Frame, Phase B: Fan out and Phase C: Aggregate, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Swarm is an agent skill from tellahq/opensession. Fan out N parallel workers, drain them, and return one report. Use for /skill:swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.

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

The licence is MIT.

When your agent uses it

  • Parallel coverage

Example prompts

  • “swarm this”
  • “/swarm”

Workflow steps

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

  1. Frame
  2. Fan out
  3. Aggregate
  4. Report

What it can do on your machine

Read from SKILL.md and the folder at commit 80702e8. 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 loads about 609 tokens when it runs. Until then it costs about 40 tokens; SKILL.md has 364 words of instructions outside code blocks.

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

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 tellahq/opensession at commit 80702e8, republished under its MIT licence (© tellahq). 364 words, ~609 tokens.

Download SKILL.mdSave it as .claude/skills/swarm/SKILL.md (or your agent's skills folder).
name
swarm
description
Fan out N parallel workers, drain them, and return one report. Use for /skill:swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.
disable-model-invocation
true

Swarm

Fan out N parallel cloud workers. They may cover separate slices, race the same brief, or mix both. The parent waits, aggregates, and returns one report.

Start

Keep a checklist with one entry per phase before launching anything.

  1. Frame
  2. Fan out
  3. Aggregate
  4. Report

Phase A: Frame

  1. State the done predicate and the artifact or report the swarm must return.
  2. Choose the shape. Partition into slices, race N workers on identical briefs, or mix both. For a race or mixed shape, declare first pass, rank all, or best-of before spawning.
  3. Set N from the user or derive it from the shape. N is total workers, not the cloud concurrency limit.
  4. Use the current session or workspace model preset by default. Pass an explicit worker model only when a valid configured id is already available. For a model race, name each arm's model up front.
  5. Give each worker its own writable output when it writes. Use a worktree, branch, or /tmp/swarm-<slug>/worker-<n>/.
Show full SKILL.md (195 more words)Show less

Phase B: Fan out

Discover the policy-gated Open Session session tools and call spawn_task for all N workers in parallel. Begin every brief with /pstack. Use ask mode for read-only slices and code mode with separate isolated worktrees for writes. Give each task explicit file pointers and prevent concurrent writes to shared paths.

When a worker must start from a non-default branch, use the session tool's supported branch or isolated-worktree inputs. Never invent a branch parameter or attach an existing shared main checkout.

Every brief stands alone. Include the goal, scope, exact slice or race arm, how to verify, and what to report. Reports use PASS, ISSUES, or BLOCKED with evidence.

If a worker drops out, proceed with N-1 and note it.

Phase C: Aggregate

Read the terminal results. For coverage, every required slice needs a result. For a race, apply the selection rule declared up front. Use first pass, rank all, or best-of. Do not paste raw worker dumps.

Keep a compact result table, one-line evidenced issues, and explicit gaps or dropouts.

Phase D: Report

Return one consolidated in-chat report with the table, issue one-liners, gaps or dropouts, and the race rule when used.

© tellahq, 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 .agents/skills/pstack-suite/skills/swarm of tellahq/opensession.

Open the folder on GitHubat commit 80702e8

Compare with similar skills

Swarm 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 compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Swarm this skilltellahq/opensession392—~609Automated safety check: PassMIT
Parallel Worker Swarmcursor/plugins10k7 repos~738Automated safety check: PassNone
Golem Parallel Workers Moonbitgolemcloud/golem1.5k—~1.7kAutomated safety check: PassCustom licence
Golem Parallel Workers Rustgolemcloud/golem1.5k—~2.3kAutomated safety check: PassCustom licence
Golem Parallel Workers Scalagolemcloud/golem1.5k—~1.9kAutomated safety check: PassCustom licence
Golem Parallel Workers TSgolemcloud/golem1.5k—~2.2kAutomated safety check: PassCustom licence

Similar skills

  • Parallel Worker Swarm

    cursor/plugins

    Official

    Launches many parallel cloud workers on slices of a task or on the same brief, waits for them all, and returns one aggregated report.

    10k GitHub starsUsed in 7 repos~738 tokens
    Agent WorkflowsAuto-check passed
  • Fan out work to multiple parallel agents and collect results in a MoonBit Golem project.

    1.5k GitHub stars~1.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Fan out work to multiple parallel agents and collect results in a Rust Golem project.

    1.5k GitHub stars~2.3k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Fan out work to multiple parallel agents and collect results in a Scala Golem project.

    1.5k GitHub stars~1.9k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Fan out work to multiple parallel agents and collect results in a TypeScript Golem project.

    1.5k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Agent Swarm

    ruvnet/ruflo

    Agent skill for swarm - invoke with $agent-swarm. An agent skill from ruvnet/ruflo.

    74k GitHub starsUsed in 3 repos~891 tokens
    Agent WorkflowsAuto-check passed

More from tellahq/opensession

All 15 skills in this repo
  • Effect TS

    tellahq/opensession

    Write idiomatic Effect v4 TypeScript verified against the pinned effect@4.0.0-rc.112 source.

    392 GitHub stars~3.7k tokensUpdated yesterday
    Auto-check passed
  • Reflect

    tellahq/opensession

    Spawn three parallel review child sessions over the active transcript, surface learnings, and route each to a concrete edit on an existing skill.

    392 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Show Me

    tellahq/opensession

    Help the user understand the current topic visually with concise diagrams, code-shape sketches, and focused HTML artifacts.

    392 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Automate Me

    tellahq/opensession

    A skill your agent uses for "automate me", "create/update/refresh my -mode skill", "turn/capture my preferences or working style into a skill", or wanting agents to follow how the user works.

    392 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • PR Autofix

    tellahq/opensession

    Auto-fix a PR — address ALL reviewers' open feedback + failing CI, push, and reply in each addressed thread with honest attribution

    392 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Verify Opensession

    tellahq/opensession

    Drive the Open Session web UI against an isolated demo server and capture proof for session, workspace, automation, goal, archive, or settings changes.

    392 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed

Questions about Swarm

What does Swarm do?

Fan out N parallel workers, drain them, and return one report. Swarm is an agent skill from tellahq/opensession. Fan out N parallel workers, drain them, and return one report.

When should I use Swarm?

Swarm fits situations like: parallel coverage.

How do I install Swarm in Claude Code?

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

How do I install Swarm in Codex?

Run `npx skills add tellahq/opensession --skill swarm -a codex`. Or copy the skill folder (.agents/skills/pstack-suite/skills/swarm in tellahq/opensession) into .agents/skills/swarm in your project. Codex loads it when a task matches its description.

Can I use Swarm 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 tellahq/opensession --skill swarm -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, .gemini/skills/swarm, .github/skills/swarm and .opencode/skills/swarm in your project.

What does Swarm need to run?

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

Does Swarm 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 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 use?

Swarm 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 use?

About 609 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?

Skills that share tags, products or a category with Swarm: Parallel Worker Swarm (cursor/plugins, 10k stars), Golem Parallel Workers Moonbit (golemcloud/golem, 1.5k stars), Golem Parallel Workers Rust (golemcloud/golem, 1.5k stars) and Golem Parallel Workers Scala (golemcloud/golem, 1.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Swarm?

tellahq (a GitHub organization) maintains it in tellahq/opensession, which has 392 GitHub stars. The repository holds 15 skills in this directory. The repository was last updated on October 7, 2026.

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