Logo di Agents Swarm

Agents Swarm

Community
jpoehnelt
agents-swarm

Fan out N parallel subagent workers in one turn, aggregate their results, and report PASS, ISSUES, or BLOCKED per worker. Use for /agents-swarm, "swarm this", parallel coverage across slices, races between approaches, or broad exploration.

Panoramica

Pubblicato dajpoehnelt
Repositoryskills
Nome della skillagents-swarm
Stelle
23
Fork
1
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da jpoehnelt su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Agents Swarm in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/jpoehnelt/skills/tree/main/agents-swarm
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoehnelt/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/agents-swarm .claude/skills/agents-swarm
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Agents Swarm in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Agents Swarm non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Agents Swarm non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Swarm

Fan out N workers, drain them, return one report. Keep a todo list with one entry per phase: Frame, Fan out, Aggregate, Report.

Repo facts (from AGENTS.md or CLAUDE.md): the local run command and whether parallel instances in separate worktrees get their own ports and data.

Phase A: Frame

  1. State the done predicate and the report the swarm must return.
  2. Choose the shape:
    • Partition. Each worker owns one slice.
    • Race. N workers get the same brief. Declare the rule before spawning: first pass, rank all, or best-of.
    • Mixed. Slices, with a race inside some of them.
  3. Pick N. Cover every required slice. Do not exceed what the machine and the task justify.
  4. Give each writing worker its own output path or its own worktree so workers never edit the same file. A worker in its own worktree must commit there and report the branch and commit; integrate each partition slice, and only the winning arm of a race, into the main checkout (merge or cherry-pick) before reporting it PASS; leave losing arms unmerged. Read-only workers need nothing. A worker that runs the app uses the repo's local run command in its own worktree; if instances would share ports or data, run those workers in batches that cannot collide.
  5. 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, and the order.

Phase B: Fan out

Spawn all N workers in one turn as parallel subagents, using a smaller, faster model for workers. Run them in the background if the client supports it so they run concurrently, then collect each result when it completes. (Claude Code: the Agent tool; Codex: its subagent/collaboration tool.) If the client caps concurrent subagents, run the slices in batches within that cap; if it cannot spawn subagents, run them sequentially in the main thread.

Every brief stands alone. Include the goal, scope, exact slice or race arm, how to verify, and what to report. Workers report exactly one of:

  • PASS with evidence.
  • ISSUES with every issue the worker can prove, not only the first.
  • BLOCKED with what stopped it and what it needs.

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

Phase C: Aggregate

  • Read every terminal result.
  • Drop a result that omits the SHAs or method its brief required, and respawn that worker once. After a second miss, record a gap. A gap is not a pass.
  • For coverage, every required slice needs a result.
  • For a race, apply the rule declared in Phase A. If judging a race needs taste or tradeoffs, spawn one judge subagent using the strongest available model and give it only the worker results.
  • Do not paste raw worker output.

Phase D: Report

Return one report in chat:

  • A table: worker or slice, status, one-line evidence.
  • One line per issue.
  • Gaps and dropouts.
  • The race rule and the winner, when a race ran.
  • Overall status: PASS only if every required slice passed.

Verify

  • Workers were launched in one message, or in batches within the client's subagent cap, or sequentially when subagents are unavailable.
  • Each passing worktree slice and race winner was integrated into the main checkout; losing arms were left unmerged.
  • Every brief was self-contained and named its report format.
  • Each slice has a result or a recorded gap.
  • The report has no raw dumps.

Domande frequenti

Cosa fa la skill IA Agents Swarm?

Fan out N parallel subagent workers in one turn, aggregate their results, and report PASS, ISSUES, or BLOCKED per worker. Use for /agents-swarm, "swarm this", parallel coverage across slices, races between approaches, or broad exploration.

Perché usare Agents Swarm su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Agents Swarm è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Agents Swarm in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/jpoehnelt/skills/tree/main/agents-swarm. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Agents Swarm?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Agents Swarm?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Agents Swarm: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Agents Swarm è gratuita?

Sì. È pubblicata su GitHub da jpoehnelt con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇