agent-swarm-workflow
تنسيق أسراب الوكلاء المتعددين
إدارة وكلاء الذكاء الاصطناعي المتعددين بالتوازي تخلق تعقيدًا في التنسيق. توفر هذه المهارة مطالبات وسير عمل دقيقة لتنسيق أسراب الوكلاء من خلال أدوات NTM وAgent Mail وBeads وBV.
下載技能 ZIP
在 Claude 中上傳
前往 設定 → 功能 → 技能 → 上傳技能
開啟並開始使用
測試它
正在使用「agent-swarm-workflow」。 لدي 4 وكلاء Claude Code ووكيلان Codex. كيف أبدأهم؟
預期結果:
استخدم NTM لإنشاء السرب:
ntm spawn myproject --cc=4 --cod=2
ثم أرسل مطالبة أوامر السير الأولية إلى جميع الوكلاء:
ntm send myproject --all "[Initial prompt text]"
正在使用「agent-swarm-workflow」。 يريد وكيلان تحرير نفس الملف. كيف نمنع التعارضات؟
預期結果:
قبل التحرير، يجب على كل وكيل حجز الملفات:
1. استدعاء file_reservation_paths مع exclusive=True
2. الإعلان عبر send_message للوكلاء الآخرين
3. بعد إكمال العمل، release_file_reservations
حارس pre-commit يفرض حجوزات الملفات.
正在使用「agent-swarm-workflow」。 كيف يعرف الوكلاء أي خرزة يعملون عليها بعد ذلك؟
預期結果:
استخدم أداة bv مع إشارات الروبوت:
bv --robot-triage # Full analysis
bv --robot-next # Get single top pick
bv --robot-plan # Parallel execution tracks
هذه تحدد أولويات الخرزات الجاهزة حسب التأثير وترتيب التبعية.
安全審計
安全This is a documentation-only skill containing workflow prompts for multi-agent coordination. All static findings are false positives: backticks are markdown code fences, cryptographic references are documentation about security patterns, and the URL is legitimate metadata.
品質評分
你能建構什麼
إطلاق فرق تطوير متوازية
بدء سرب من 3-6 وكلاء ذكاء اصطناعي يعملون على نفس قاعدة الأكواد مع التنسيق عبر Agent Mail وتحديد أولويات المهام من خلال BV.
تنفيذ تغييرات معقدة متعددة الملفات
تقسيم مهام إعادة الهيكلة الكبيرة عبر وكلاء متعددين ينسقون من خلال حجوزات الملفات وتتبع الخرزات.
تشغيل دورات ضمان الجودة
نشر وكلاء لمراجعة الكود المنهجية والبحث عن الأخطاء وتحسينات واجهة المستخدم/تجربة المستخدم مع حلقات جودة منسقة.
試試這些提示
First read ALL of the AGENTS dot md file and README dot md file super carefully and understand ALL of both! Then use your code investigation agent mode to fully understand the code, and technical architecture and purpose of the project. Then register with MCP Agent Mail and introduce yourself to the other agents. Be sure to check your agent mail and to promptly respond if needed to any messages; then proceed meticulously with your next assigned beads, working on the tasks systematically and meticulously and tracking your progress via beads and agent mail messages. When you're not sure what to do next, use the bv tool mentioned in AGENTS dot md to prioritize the best beads to work on next. Use ultrathink.
Reread AGENTS dot md so it's still fresh in your mind. Use ultrathink. Use bv with the robot flags to find the most impactful bead(s) to work on next and then start on it. Remember to mark the beads appropriately and communicate with your fellow agents. Pick the next bead you can actually do usefully now and start coding on it immediately. And respond to any agent mail messages you've received.
Great, now I want you to carefully read over all of the new code you just wrote and other existing code you just modified with fresh eyes looking super carefully for any obvious bugs, errors, problems, issues, confusion, etc. Carefully fix anything you uncover. Use ultrathink.
Ok can you now turn your attention to reviewing the code written by your fellow agents and checking for any issues, bugs, errors, problems, inefficiencies, security problems, reliability issues, etc. and carefully diagnose their underlying root causes using first-principle analysis and then fix or revise them if necessary? Don't restrict yourself to the latest commits, cast a wider net and go super deep! Use ultrathink.
最佳實務
- تكوين AGENTS.md مع جميع وصفات الأدوات قبل بدء السرب
- إبقاء خادم Agent Mail قيد التشغيل طوال الجلسة بأكملها
- تشغيل حلقات مراجعة الجودة حتى يعيد الوكلاء باستمرار عدم وجود تغييرات
- استخدام حجوزات الملفات قبل تحرير أي قاعدة أكواد مشتركة
避免
- تشغيل أمر bv المجرد بدون إشارات الروبوت - فهو يطلق واجهة نصية معطلة
- ترك الوكلاء عالقين في مطهر الاتصالات دون إحراز تقدم
- تخطي مرحلة المراجعة الذاتية بعد إكمال الخرزة
- تشغيل الوكلاء بدون AGENTS.md معد مسبقًا ووصفات الأدوات