swarm
Fan out independent workers, drain them, and return one evidence-backed report.
Skill by Go7hic
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/go7hic-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.
About
Use cases: documents, testing
Reviews
Write a reviewNo 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 26, 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 independent workers, drain them, and return one evidence-backed report. Use for /swarm, "swarm this", parallel coverage, package-by-package checks, exploration partitions, implementation slices, races, or gauntlets.
- License
- MIT
- Compatibility
- Works with Agent Skills-compatible coding agents. Multi-agent optional; see pstack adapters.
- Instructions
- 140 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- runtime.md · references/
SKILL.md (first lines)
# Swarm ## Portability (required) 1. Read the `pstack` capability contract and the active host adapter before delegation. 2. Use `explore` for read-only coverage, `implement` for bounded write slices, `review` for independent criticism, and `parallel` to launch independent workers together. 3. Resolve worker models through `model_role`. Never require a vendor-specific helper type, background flag, or model identifier. 4. When the host cannot spawn helpers, execute the same slices sequentially on the lead agent and report the collapsed topology. ## Purpose A Swarm runs several independent pieces of work and returns one consolidated result. It can: - partition a codebase or data set into non-overlapping slices; - run the same read-only check across many packages; - race several implementations or investigations; - combine coverage slices with a small race inside one slice; - run a gauntlet of independent verification or review criteria. Use **arena** instead when the main goal is to produce several candidates for one artifact, select a base, and graft the best ideas together. Swarm aggregates independent results; Arena synthesizes one winner. ## Start Create a todo list with one entry per phase: 1. Frame 2. Partition 3. Fan out 4. Drain 5. Aggregate 6. Verify and report ## Phase A: Frame State: - the final artifact or report; - the done predicate; - required coverage; - the worker result schema; - the failure policy; - the selection rule when any slice is a race. Choose the Swarm shape before launching: - **Partition.** Different workers own different slices. - **Race.** Several workers receive the same brief; choose `first pass`, `rank all`, or `best of` before results arrive. - **Mixed.** Partition the domain, then race only selected high-risk slices. - **Gauntlet.** Each worker applies a different independent criterion to the same artifact without editing it. Derive worker count from the shape and host concurrency limits. More workers are not automatically faster when coordination or setup dominates. ## Phase B: Partition safely Every worker brief stands alone and names: - goal and exact slice; - allowed files, packages, records, or runtime resources; - whether the worker is read-only or write-capable; - data shape, invariants, and interfaces when code is involved; - verification command or evidence contract; - output location; - result status: `PASS`, `ISSUES`, or `BLOCKED`; - what must be returned to the lead. Use `model_role:fast_explore` for broad reading and mechanical checks, `feature_impl` for clear implementation slices, `bug_impl` for evidence-backed fixes, and `critic` for independent review. Before write fan-out, apply **separate-before-serializing-shared-state**. Give each worker a disjoint file set, branch, worktree, output directory, fixture, environment, or external resource. Do not let workers write the same target concurrently. Run shared setup and blocking gates before fan-out. Do not make every worker repeat expensive repository setup when one verified scaffold can be reused safely. ## Phase C: Fan out Use one `parallel` launch for all independent workers that fit the host limit. - Read-only slices use `explore` or `review` according to the task. - Write slices use `implement` with explicit disjoint scope. - Use isolated worktrees or output directories when the adapter supports them. - When the active host provides non-blocking helpers, continue only lead work that cannot conflict with worker output. - Do not nest uncontrolled swarms. A worker may use local parallelism only when its brief and adapter explicitly allow it. If a worker cannot start, record the dropout and either reassign the slice, run it on the lead, or report the coverage gap. Never silently reduce required coverage. ## Phase D: Drain and inspect Collect terminal results and evidence for every required slice. The lead checks: - the worker actually stayed inside scope; - evidence resolves and supports the result; - write workers produced a reviewable diff; - verification used the required surface; - duplicate or contradictory findings are identified; - blocked slices name the missing fact or capability. Do not paste raw worker dumps into the final answer. Keep file or artifact pointers and a compact summary. ## Phase E: Aggregate For partitioned coverage, every required slice must have a result or an explicit gap. For a race, apply the predeclared rule: - **First pass.** Accept the first result that satisfies the complete predicate; still stop and inspect the remaining workers safely. - **Rank all.** Score every result against a fixed rubric. - **Best of.** Select the strongest evidence-backed result and state why it won. Do not change the rule after seeing which worker produced which result. When outputs diverge because the brief was under-specified, reframe and rerun rather than averaging incompatible answers. Deduplicate issues, preserve source slices, and distinguish consensus from repeated copies of the same upstream assumption. ## Phase F: Verify and report The lead verifies the aggregate result. A collection of worker passes does not prove the combined artifact works. Return: - Swarm shape and worker count;
From Go7hic/ystack, MIT.
More from Go7hic/ystack
- 0.605score
living-spec
Go7hic
Maintain a lightweight, current product-truth layer for ystack projects.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
why
Go7hic
Use for "why does X work this way", "why did we choose Y", design rationale, regressions, postmortems, historical constraints, or data-backed thresholds.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
automate-me
Go7hic
Use for "automate me", "create or update my mode skill", "capture my working style", or wanting future coding agents to follow the user's recurring conventions.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
reflect
Go7hic
Review a completed or difficult working session from three independent lenses, identify durable lessons, and route accepted lessons into concrete skill or…
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
show-me-your-work
Go7hic
Keep a reviewable decision trail for long-running or unattended work: one TSV row per decision with reason, evidence, and result.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
architect
Go7hic
Sketch types, signatures, caller usage, and module boundaries before implementation, then keep the sketch honest while code fills in.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
recall
Go7hic
Reconstruct recent working context from authorized conversation history, live repository state, and the shared engineering record, then return a tight…
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
poteto-mode
Go7hic
Portable Poteto agent mode for concise responses, deliberate delegation, simple code, evidence-backed decisions, and verified work.
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
pstack
Go7hic
Legacy compatibility alias for ystack.
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
ystack
Go7hic
Portable multi-agent engineering system for non-trivial features, bug fixes, investigations, architecture, parallel exploration, adversarial review…
SkillBFreshness: B★ 16Claude Code +9 - 0.600score
setup-pstack
Go7hic
Legacy compatibility alias for setup-ystack.
SkillBFreshness: B★ 16Claude Code +9 - 0.597score
setup-ystack
Go7hic
Configure which models ystack uses per role.
SkillBFreshness: B★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 8, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Go7hic/ystack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Go7hic
- 0.605score
show-me-your-work
Go7hic
Keep a reviewable decision trail for long-running or unattended work: one TSV row per decision with reason, evidence, and result.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
why
Go7hic
Use for "why does X work this way", "why did we choose Y", design rationale, regressions, postmortems, historical constraints, or data-backed thresholds.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
reflect
Go7hic
Review a completed or difficult working session from three independent lenses, identify durable lessons, and route accepted lessons into concrete skill or…
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
living-spec
Go7hic
Maintain a lightweight, current product-truth layer for ystack projects.
SkillBFreshness: B★ 16Claude Code +9 - 0.605score
automate-me
Go7hic
Use for "automate me", "create or update my mode skill", "capture my working style", or wanting future coding agents to follow the user's recurring conventions.
SkillBFreshness: B★ 16Claude Code +9 - 0.602score
poteto-mode
Go7hic
Portable Poteto agent mode for concise responses, deliberate delegation, simple code, evidence-backed decisions, and verified work.
SkillBFreshness: B★ 16Claude Code +9
Cite this page
swarm skill. Agent Mart. https://agentmart.dev/skills/go7hic-swarm (last updated 2026-10-24)