Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

swarm

БесплатноБез исполняемых скриптовНе проверен

Conductor-native multi-agent orchestration with real-time progress. Use for parallel agent swarm, multi-agent tasks, agent team, team coordination, parallel…

drnот drn★ 23 звезды на GitHub

Об этом скилле

Agent Swarm

Agent teams with automatic progress monitoring. The lead thread stays alive, polls task status, and reports progress -- you never have to re-prompt to check in.

The Problem

When team-based skills (/dev, /explore, /debug, /contest) run in Conductor, the lead creates the team, sends initial assignments, and its turn ends. Agents work in the background, but the workspace appears idle. You have to manually re-prompt to check status.

The Fix

This skill uses native agent teams (TeamCreate + SendMessage) for full inter-agent communication, then adds an automatic monitoring loop that polls TaskList every 20 seconds and outputs progress. The lead thread never returns until all tasks are complete.

Arguments

  • $ARGUMENTS - Required: description of the task. Can be any kind of parallel work: development, research, debugging, review, etc.

If no arguments are provided, ask the user what they want to accomplish.

Context

  • Current branch: !git branch --show-current 2>/dev/null | head -1
  • Git status: !git status --short 2>/dev/null | head -20
  • Project root: !pwd
  • Project type: !find . -maxdepth 1 \( -name go.mod -o -name Gemfile -o -name package.json -o -name Cargo.toml -o -name pyproject.toml -o -name setup.py -o -name requirements.txt \) 2>/dev/null | head -5
  • Recent commits: !git log --oneline -5 2>/dev/null | head -5
  • Directory structure: !find . -maxdepth 2 -type d -not -path '*/\.*' -not -path '*/node_modules/*' -not -path '*/vendor/*' 2>/dev/null | head -30

Overview

You are the swarm coordinator. You create an agent team, assign work, then actively monitor progress in a polling loop -- keeping the main thread alive and reporting status in real time.

Task: $ARGUMENTS

You coordinate, monitor, and synthesize. Agents do the work and communicate with each other.

How the monitoring loop works:

  1. Create team with TeamCreate, spawn agents, send initial assignments via SendMessage
  2. Create tasks with TaskCreate so agents can track progress via TaskUpdate
  3. Enter the monitoring loop:
    • Bash("sleep 20") to block the thread (keeps it alive in Conductor)
    • TaskList() to check current task statuses
    • Output a progress table showing what changed since last check
    • Repeat until all tasks are completed
  4. Break out, process any queued agent messages, synthesize results
  5. Shut down team

Agents communicate freely via SendMessage during the work phase. The lead does not participate in agent-to-agent communication -- it monitors via TaskList.


Phase 0: Analyze and Plan

  1. Parse the task. Identify the type of work and what parallel structure makes sense:

    Task Type Parallel Structure
    Development Implementer + reviewer + tester. Reviewer validates plan, then parallel test + review after implementation.
    Research N researchers on different angles. Peer challenge phase after initial findings.
    Debugging N investigators pursuing different hypotheses. Converge, then fix + verify.
    Review N independent reviewers. Synthesize disagreements.
    Custom Decompose into independent parallel units.
  2. Explore the codebase briefly. Read key files related to the task. Understand context before planning.

  3. Present the plan to the user:

    ## Swarm Plan
    
    **Task:** {summary}
    
    **Agents:**
    | # | Name | Role | Assignment |
    |---|------|------|-----------|
    | 1 | {name} | {role} | {description} |
    | 2 | {name} | {role} | {description} |
    | 3 | {name} | {role} | {description} |
    
    **Phases:**
    1. {phase name} -- {which agents, what they do}
    2. {phase name} -- {which agents, what they do}
    
    **Deliverable:** {what the final output looks like}
    

    Wait for user approval. Revise if requested. Do NOT create the team until approved.


Phase 1: Team Setup

  1. Clean up any stale team:

    TeamDelete() -- ignore errors if no existing team
    
  2. Create the team:

    TeamCreate(team_name: "swarm-session", description: "{brief task summary}")
    
  3. Create tasks with TaskCreate for every work item. Set activeForm to present-continuous (e.g., "Implementing auth module"). Set up addBlockedBy for dependencies between phases.

  4. Spawn all agents in a single message with parallel Agent tool calls. Each agent gets:

    • team_name: "swarm-session"
    • subagent_type matching their role
    • The agent briefing (see Agent Briefing Template below)
  5. Send initial assignments to each agent via SendMessage:

    • Include the task description, project context, and their specific assignment
    • Tell agents to mark their tasks via TaskUpdate as they progress
    • Tell agents to message each other directly when collaboration is needed
  6. Output launch status:

## Team launched -- {N} agents

| # | Agent | Role | Task |
|---|-------|------|-----
Полный SKILL.md на GitHub

Установить swarm в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл swarm?

Conductor-native multi-agent orchestration with real-time progress. Use for parallel agent swarm, multi-agent tasks, agent team, team coordination, parallel workers.

Как установить скилл swarm?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл swarm запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить swarm с