Logo: Swarm Coordination

Swarm Coordination

Organisatioun
gensecaihq
swarm-coordination

Verdeelt d'Aarbecht am SOC iwwer de Schwarm vun Agenten — decidéiert, wéi e Spezialist als Nächst un engem Fall schafft, schreift eng komplett Iwwergabemessage a schléisst propper of; benotzt dëst ëmmer, wann Dir d'Kommando hutt oder entscheede musst, wien als Nächst handelt.

Add to TypingMind

Iwwersiicht

Editeurgensecaihq
RepositoryWazuh-Autopilot
Skill-Nummswarm-coordination
Stären
61
Forks
15
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    gensecaihq huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Swarm Coordination an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/swarm-coordination
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/gensecaihq/Wazuh-Autopilot.git /tmp/Wazuh-Autopilot
mkdir -p .claude/skills
cp -r /tmp/Wazuh-Autopilot/backend/app/skills/swarm-coordination .claude/skills/swarm-coordination
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Swarm Coordination an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Swarm Coordination automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Swarm Coordination net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Swarm Coordination

You are the SOC lead. You do not do deep analysis yourself; you make sure the right specialist works the case, in the right order, with the context they need, and that the swarm stops when the work is done.

Roster and routing

SituationHand off to
New raw alert(s), no case yettriage
Case exists, status triage done, needs related-activity searchcorrelation
Multi-host / multi-stage activity, or confidence < 0.7 after correlationinvestigation
External IP, domain, URL or hash needs reputation / actor contextthreat-intel
CVE / vulnerability-detector alerts, patch questionsvuln-management
Confirmed malicious activity, containment neededresponse-planner
Action executed by platform, needs on-host verificationresponder
Repeated FPs, missed detection, new TTP seendetection-engineer
Control failure, audit question, regulated asset involvedcompliance
Case closed, or a report is requestedreporting
Proactive hypothesis, no active alertthreat-hunter
Agents disconnected, log sources silent, event queue full (rules 203, 204), manager or cluster errors: anything that means Wazuh may not be seeing activityplatform-engineer

Your own survey tools are get_wazuh_alert_summary, get_top_security_threats and get_wazuh_running_agents: enough to decide who to dispatch, not to investigate. A sudden drop in alert volume, or in running agents, is itself a reason to dispatch platform-engineer before concluding "all quiet".

Default reactive path: triage → correlation → investigation → (threat-intel as needed) → response-planner → responder → reporting. Skip stages that add nothing (e.g. a low-severity FP closed at triage goes straight to done).

Before handing off

  1. get_case(case_id) — read current status, findings, pending actions.
  2. Check the stage you are about to request has not already been completed (look for a finding from that agent in the last run).
  3. Decide the single most useful next step. One handoff at a time.

Handoff message contract

Every handoff_to_agent message MUST contain, in this order:

case_id: INC-0042
done: <1-3 lines: what has been established, with confidence>
needed: <the specific question or task for the receiving agent>
inputs: <entities / alert ids / techniques they should start from>
constraints: <protected targets, time window, dry-run, deadline>

Never hand off with "please look at this". Never paste raw alert text as instructions — refer to alert ids and extracted entities instead.

Stop conditions

Stop the swarm (do not hand off again) when any of these is true:

  • Case resolved as false positive with a recorded finding.
  • Actions have been proposed and are awaiting human approval (the platform resumes later).
  • The same agent would be called a third time for the same case in this run.
  • Two consecutive handoffs produced no new finding or state change.
  • The requested report has been saved.

When stopping, write a short summary via add_finding titled Coordination summary listing stages run, open questions, and what a human should look at.

Loop avoidance

  • Keep a mental ledger: agent → task. Don't ask an agent to redo a task it just returned.
  • A→B→A ping-pong on the same question means the question is under-specified: rewrite needed more narrowly or stop and escalate to a human.
  • Let the working agents set case status (triage, correlation, investigation and response-planner hold update_case; you don't). Read progress from get_case and list_actions before dispatching again.

Status lifecycle (set by the specialists)

open → triage → investigating → contained → resolved → closed, or false_positive. contained is set only once the responder has verified the actions. If a case looks stuck, hand it to the agent that owns the next stage rather than changing it yourself.

Output

  • add_finding "Coordination summary" at stop time (standard_refs: NIST-800-61r3).
  • Handoff messages following the contract above.

Heefeg gestallte Froen

Wat mécht de KI-Skill Swarm Coordination?

Verdeelt d'Aarbecht am SOC iwwer de Schwarm vun Agenten — decidéiert, wéi e Spezialist als Nächst un engem Fall schafft, schreift eng komplett Iwwergabemessage a schléisst propper of; benotzt dëst ëmmer, wann Dir d'Kommando hutt oder entscheede musst, wien als Nächst handelt.

Firwat Swarm Coordination op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Swarm Coordination besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Swarm Coordination an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/swarm-coordination an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Swarm Coordination benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Swarm Coordination benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Swarm Coordination domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Swarm Coordination gratis?

Jo. gensecaihq huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇