Swarm Coordination logo

Swarm Coordination

Organization
gensecaihq
swarm-coordination

Route SOC work across the agent swarm — decide which specialist handles a case next, write a complete handoff message, and stop cleanly; use whenever you are the commander or must decide who acts next.

Overview

Publishergensecaihq
RepositoryWazuh-Autopilot
Skill nameswarm-coordination
Stars
61
Forks
15
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by gensecaihq on GitHub. Read the source before you install it.

Installation

Install the Swarm Coordination AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/swarm-coordination
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Swarm Coordination in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Swarm Coordination on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Swarm Coordination is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Swarm Coordination AI skill do?

Route SOC work across the agent swarm — decide which specialist handles a case next, write a complete handoff message, and stop cleanly; use whenever you are the commander or must decide who acts next.

Why use Swarm Coordination on TypingMind?

Because you install it once and use it with any model. Swarm Coordination is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Swarm Coordination in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/swarm-coordination. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Swarm Coordination?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Swarm Coordination?

As many as you like. As long as a model supports skills, you can use Swarm Coordination with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Swarm Coordination AI skill free?

Yes. It is published on GitHub by gensecaihq under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇