شعار Swarm Coordination

Swarm Coordination

مؤسسة
gensecaihq
swarm-coordination

وزّع مهام SOC بين مجموعة الوكلاء — حدّد الاختصاصي الذي سيتولى الحالة بعد ذلك، واكتب رسالة تسليم كاملة، وأنهِ العمل بسلاسة؛ استخدم ذلك عندما تكون القائد أو تحتاج إلى تحديد من سيتصرف بعد ذلك.

Add to TypingMind

نظرة عامة

الناشرgensecaihq
المستودعWazuh-Autopilot
اسم المهارةswarm-coordination
النجوم
61
التفريعات
15
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها gensecaihq على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Swarm Coordination في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/swarm-coordination
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Swarm Coordination في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Swarm Coordination تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Swarm Coordination بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Swarm Coordination؟

وزّع مهام SOC بين مجموعة الوكلاء — حدّد الاختصاصي الذي سيتولى الحالة بعد ذلك، واكتب رسالة تسليم كاملة، وأنهِ العمل بسلاسة؛ استخدم ذلك عندما تكون القائد أو تحتاج إلى تحديد من سيتصرف بعد ذلك.

لماذا تستخدم Swarm Coordination على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Swarm Coordination عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Swarm Coordination في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/gensecaihq/Wazuh-Autopilot/tree/main/backend/app/skills/swarm-coordination. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Swarm Coordination؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Swarm Coordination؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Swarm Coordination معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Swarm Coordination مجانية؟

نعم. نشرها gensecaihq على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇