Skip to content
Agentmart
Submit a tool

swarm

Fan out parallel workers via delegate_task, drain, report.

Skill by Cloeille

IndexedMIT★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/cloeille-swarm

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Fan out parallel workers via delegate_task, drain, report.

Use cases: documents

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/swarm

What's inside

Skill name
swarm
Description
Fan out parallel workers via delegate_task, drain, report.
License
MIT
Instructions
48 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Swarm

Fan out N parallel `delegate_task` workers, collect results, consolidate into one report.

## When to Use

When a task decomposes into independent slices that can run concurrently: reviewing multiple files, checking multiple services, exploring multiple subsystems, running the same analysis with different parameters.

## Phases

### A. Frame

1. **Done predicate** - state what "complete" means before spawning anything.
2. **Shape** - pick one:
   - **Partition**: each worker covers a distinct slice (files, modules, endpoints). No overlap.
   - **Race**: all workers cover the same brief independently. Pick the best result.
   - **Mix**: some workers partition, some race. Use when part of the work benefits from redundancy.
3. **Set N** - number of workers. Match to the number of slices (partition) or desired redundancy (race).

### B. Fan Out

Spawn all workers in one `delegate_task` call with multiple tasks. Each brief is self-contained:

- **Goal**: what this worker produces
- **Scope/slice**: exactly what subset it covers (file list, module, endpoint)
- **How to verify**: how the worker checks its own work
- **Report format**: use `PASS / ISSUES / BLOCKED` with evidence (file paths, output, error messages). A worker that can prove a defect reports `ISSUES` and lists every issue it can prove, not only the first.
- **Exact targets**: when workers verify or measure commits, the brief names the exact SHAs. A measurement brief also names the method (sample count, what one sample is, order). The worker records both in its result.

Workers must not depend on each other's output.

### C. Aggregate

Read all results. Drop a result that does not record the SHAs and method its brief names, and rerun that worker once. After a second miss, record a gap. A gap does not count as a pass.

- **Partition**: every slice must have a result. Missing slice = gap, call it out.
- **Race**: apply selection rule (most thorough, most critical, consensus).
- Flag any `BLOCKED` workers - report what blocked them and whether it matters.

### D. Report

One consolidated report:
- **Summary**: pass/fail, coverage (N/N slices or N workers agreed)
- **Table**: worker | slice | status | key finding
- **Issues**: merged and deduplicated, ordered by severity
- **Gaps**: slices with no result or blocked workers

From Cloeille/pstack, MIT.

More from Cloeille/pstack

Signals

Stars
12
Forks
5
Open issues
0
Last commit (this folder)
Oct 23, 2026 (6 days ago)
Last release
Oct 23, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Cloeille

Cite this page

swarm skill. Agent Mart. https://agentmart.dev/skills/cloeille-swarm (last updated 2026-10-24)