Перейти к содержанию
Skillpedia
Агенты15k · #10998

swarm

Что он делает

Скилл сразу запускает несколько помощников, чтобы исследовать, охватить или состязательно решить задачу, а затем объединяет их находки. Он нужен людям, которым нужен широкий охват, сделанный быстро.

Когда использовать

  • ✓Когда задачу можно разделить на отдельные части, которые выполняются одновременно.
  • ✓Когда вы хотите несколько попыток одной задачи и выбрать лучший результат.
  • ✓Когда нужен широкий охват, например проверка множества случаев или экранов.

Ссылка на скилл

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/swarm/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/swarm/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Запусти swarm: проверь все двенадцать страниц настроек на битые ссылки и дай мне один отчёт.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент ставит понятную цель, делит работу на части или одинаковые попытки, запускает исполнителей параллельно и затем объединяет их результаты в один отчёт, где сначала идут находки.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Swarm

In Claude Code, read the Claude Code adapter once per session before you follow this skill. It maps the Cursor names in pstack skills to Claude Code.

Start

Open a todolist 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. Pick the worker model from the swarm workers line in ~/.cursor/rules/pstack-models.mdc. If the rule or that line is missing, use grok-4.7-xhigh-fast. For auto or inherit-parent, omit model so the workers run on the parent model. If the Task tool rejects a slug, use the default and say so. If it rejects the default, use the closest valid slug of the same family from its error message. For a model race, name each arm's model up front. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the poteto-mode skill.
  4. Give each worker its own writable output when it writes. When workers verify or measure commits, each 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.

Phase B: Fan out

Spawn all N workers in one message with subagent_type: generalPurpose, environment: "cloud", run_in_background: true, and the step 3 model, left unset for auto or inherit-parent. Use environment: "local" only when the worker needs access to something on the user's computer.

When a worker must start from a non-default pushed branch, pass cloud_base_branch.

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. A worker that can prove a defect reports ISSUES and lists every issue it can prove, not only the first.

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

Phase C: Aggregate

Read the terminal results. Drop a result that does not record the SHAs and method its brief names, and respawn that worker once. After a second miss, record a gap. A gap does not count as a pass. 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.

Phase D: Report

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

Частые вопросы

Что входит в итоговый отчёт?

Сначала идут находки; дубликаты объединяются, а расхождения решаются суждением агента.

Сколько исполнителей он запускает?

Число зависит от того, что вы попросите, и от того, как делится задача.

Какая модель запускает исполнителей?

Используется модель исполнителя из вашего правила моделей pstack или модель по умолчанию, если она не задана.

Подробности

Оригинальное описание автора

Fan out N parallel workers, drain them, and return one report. Use for /swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.

repo: cursor/plugins

Популярность

Звёзды на GitHub
15k
Место в рейтинге
#10998
Лицензия
—
Обновлён
31.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы