Logo di Swarm Improve

Swarm Improve

Community
fortunto2
swarm-improve

End-to-end project improvement — plan, branch, delegate execution, verify. Calls /plan for analysis, then delegates fixes to agents. Use when "improve project", "swarm improve", "send agents to fix", "refactor project X", "upgrade project". Do NOT use for planning only (use /plan), single tasks (use /delegate), or own codebase (use /self-evolve).

Panoramica

Pubblicato dafortunto2
Repositoryrust-code
Nome della skillswarm-improve
Stelle
46
Fork
12
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 fortunto2 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Swarm Improve 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/fortunto2/rust-code/tree/master/skills/swarm-improve
  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/fortunto2/rust-code.git /tmp/rust-code
mkdir -p .claude/skills
cp -r /tmp/rust-code/skills/swarm-improve .claude/skills/swarm-improve
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Swarm Improve 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 Swarm Improve 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 Swarm Improve 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-improve — Multi-Agent Project Improvement

End-to-end workflow: plan → branch → delegate execution → verify.

This is a thin orchestrator. The heavy lifting is in /plan (analysis) and /delegate (execution).

Step 0: Validate Baseline

Before anything else:

  1. cd to the project (absolute path — store it, you'll need it for every delegate)
  2. Read CLAUDE.md or README.md → find the test command
  3. Run tests: bash: make test (or equivalent)

If tests FAIL → HARD STOP. Create one P0 task "fix broken tests" and finish. Do NOT plan improvements on a broken project — all delegate work will fail too.

Step 1: Plan

If .tasks/PLAN.md already exists and is recent (< 24h):

  • Read it, skip to Step 2
  • Tell the user you're using the existing plan

Otherwise, run the /plan workflow inline (this skill has the same tools):

  1. Recon — already done in Step 0
  2. Design dimensions — pick 3+ analysis angles adapted to the goal (not hardcoded)
  3. Check agent availability — try each agent before committing to the plan
  4. Delegate to 3+ diverse agents — agent diversity mandatory (claude + gemini + codex preferred)
  5. Wait — poll every 60s with delegate_status
  6. Synthesize — cross-reference, dedup, create STAR-formatted execution tasks + .tasks/PLAN.md

Use the task tool for all task creation — never write .tasks/ files manually. Files are named YYYYMMDD-NNN-slug.md automatically.

Step 2: Branch

bash: cd <absolute-project-path> && git checkout -b improve/swarm-$(date +%Y%m%d)

All delegate work happens on this branch. Master/main stays clean.

Step 3: Delegate Execution

Read .tasks/PLAN.md for the prioritized task list. Each task has STAR format — Action tells the delegate what to do, Result tells how to verify.

Assign agents by strength, diversify across agents:

Task typePrimaryFallback
Code changes, refactoringclaudegemini
Quick fixes, single-filecodexclaude
Tests, docsclaudecodex
Review, analysisgeminiopencode

Always pass absolute cwd:

delegate_task {agent: "claude", task_path: ".tasks/YYYYMMDD-001-fix-xxx.md", cwd: "/absolute/path/to/project"}
delegate_task {agent: "gemini", task_path: ".tasks/YYYYMMDD-002-refactor-xxx.md", cwd: "/absolute/path/to/project"}

If an agent fails immediately (not installed, auth error) — switch to fallback agent, don't retry the broken one.

Limit: 3 delegates at a time. When one finishes, start the next.

Step 4: Monitor & Collect

Poll every 60s:

bash: sleep 60
delegate_status

When a delegate finishes, read its task file for results:

read_file: <project>/.tasks/YYYYMMDD-001-fix-xxx.md

If a delegate failed — note it, move on. Don't retry in this cycle.

Step 5: Verify

After all delegates finish:

  1. bash: cd <project> && make check (or project's test command)
  2. bash: git log --oneline improve/swarm-*..HEAD — what was committed
  3. bash: git diff --stat main..HEAD — scope of changes

Step 6: Report

finish: "Improvement complete on branch improve/swarm-YYYYMMDD.
- N tasks planned, M completed, K failed
- Agents used: claude, gemini, codex (diversity: N unique)
- Tests: pass/fail
- Files changed: N
- Ready for review: git diff main..improve/swarm-YYYYMMDD"

Gotchas

  1. Baseline MUST pass — HARD STOP if broken — real failure: orchestrator planned 3 tasks on a project with broken tests. All delegates failed because the code didn't compile. Total waste of time and API credits. Run make test FIRST.
  2. Always branch BEFORE delegating — never delegate on master. If working tree is dirty, stash or commit first.
  3. 3 delegates max concurrently — agents compete for CPU, rate limits, API quota. When one finishes, start the next.
  4. Agent diversity on execution too — don't send all tasks to claude. Mix agents: claude for complex edits, codex for simple fixes, gemini for analysis. Real failure: all 3 sent to claude = $0.50+ and no diversity.
  5. Absolute paths everywhere — cwd must be absolute. Task paths in delegate_task are relative to cwd. Real failure: orchestrator cd'd in bash then used relative paths — delegates couldn't find task files.
  6. Use task tool, never write_file for tasks — the task tool generates correct YYYYMMDD-NNN-slug.md names with proper IDs. Real failure: orchestrator created files via write_file with 60-char names, then delegate_task couldn't find them.
  7. Verify MUST run — even if all tasks report success, run the full test suite. Agents may break each other's work through shared file edits.
  8. codex/gemini may not be available — check early. If delegate_task fails for an agent, switch to fallback immediately. Don't waste time retrying broken agents.

Domande frequenti

Cosa fa la skill IA Swarm Improve?

End-to-end project improvement — plan, branch, delegate execution, verify. Calls /plan for analysis, then delegates fixes to agents. Use when "improve project", "swarm improve", "send agents to fix", "refactor project X", "upgrade project". Do NOT use for planning only (use /plan), single tasks (use /delegate), or own codebase (use /self-evolve).

Perché usare Swarm Improve su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Swarm Improve è 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 Swarm Improve in TypingMind?

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

Quali modelli IA possono usare Swarm Improve?

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 Swarm Improve?

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

La skill IA Swarm Improve è gratuita?

Sì. È pubblicata su GitHub da fortunto2 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 👇