swarm-orchestration
यह क्या करती है
यह स्किल एजेंट को बड़े काम को हिस्सों में बाँटकर एक पदानुक्रमित ढाँचे में विशेषज्ञ एजेंटों को सौंपने में मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जो एक साथ कई फ़ाइलों या modules को छूने वाले बदलाव कर रहे हैं।
कब इस्तेमाल करें
- ✓जब किसी बदलाव में तीन या ज़्यादा फ़ाइलों में अपडेट चाहिए।
- ✓जब कोई फ़ीचर कई modules को छूता हो और उनका समन्वय करना हो।
- ✓जब बदलाव में कोड और टेस्ट दोनों एक साथ अपडेट होने हों।
Skill का लिंक
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/swarm-orchestration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“विशेषज्ञ एजेंटों का इस्तेमाल करके auth module, उसके टेस्ट और database schema में एक साथ बदलाव का समन्वय कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट एक पदानुक्रमित swarm शुरू करता है, काम सही विशेषज्ञों तक भेजता है, उनकी प्रगति ट्रैक करता है, और उनके नतीजे मिलाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Swarm Orchestration Skill
Purpose
Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules.
When to Trigger
- 3+ files need changes
- new feature implementation
- cross-module refactoring
- API changes with tests
- security-related changes
- performance optimization across codebase
- database schema changes
When to Skip
- single file edits
- simple bug fixes (1-2 lines)
- documentation updates
- configuration changes
- quick exploration
Commands
Initialize Swarm
Start a new swarm with hierarchical topology (anti-drift)
npx @claude-flow/cli swarm init --topology hierarchical --max-agents 8 --strategy specialized
Example:
npx @claude-flow/cli swarm init --topology hierarchical --max-agents 6 --strategy specialized
Route Task
Route a task to the appropriate agents based on task type
npx @claude-flow/cli hooks route --task "[task description]"
Example:
npx @claude-flow/cli hooks route --task "implement OAuth2 authentication flow"
Spawn Agent
Spawn a specific agent type
npx @claude-flow/cli agent spawn --type [type] --name [name]
Example:
npx @claude-flow/cli agent spawn --type coder --name impl-auth
Monitor Status
Check the current swarm status
npx @claude-flow/cli swarm status --verbose
Orchestrate Task
Orchestrate a task across multiple agents
npx @claude-flow/cli task orchestrate --task "[task]" --strategy adaptive
Example:
npx @claude-flow/cli task orchestrate --task "refactor auth module" --strategy parallel --max-agents 4
List Agents
List all active agents
npx @claude-flow/cli agent list --filter active
Scripts
| Script | Path | Description |
|---|---|---|
swarm-start |
.agents/scripts/swarm-start.sh |
Initialize swarm with default settings |
swarm-monitor |
.agents/scripts/swarm-monitor.sh |
Real-time swarm monitoring dashboard |
References
| Document | Path | Description |
|---|---|---|
Agent Types |
docs/agents.md |
Complete list of agent types and capabilities |
Topology Guide |
docs/topology.md |
Swarm topology configuration guide |
Best Practices
- Check memory for existing patterns before starting
- Use hierarchical topology for coordination
- Store successful patterns after completion
- Document any new learnings
अक्सर पूछे जाने वाले सवाल
इसे कब छोड़ें?
स्किल कहती है कि एक-फ़ाइल संपादन, छोटे बग फ़िक्स और दस्तावेज़ अपडेट के लिए इसे छोड़ दें।
यह कौन-सा topology इस्तेमाल करती है?
यह विशेषज्ञ एजेंटों वाला hierarchical topology इस्तेमाल करती है, जो स्किल के अनुसार drift रोकने में मदद करता है।
क्या मैं चुन सकता हूँ कि कितने एजेंट चलें?
हाँ। स्किल swarm शुरू होते समय एजेंटों की अधिकतम संख्या तय करती है।
जानकारी
लेखक का मूल विवरण
Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules. Use when: 3+ files need changes, new feature implementation, cross-module refactoring, API changes with tests, security-related changes, performance optimization across codebase, database schema changes. Skip when: single file edits, simple bug fixes (1-2 lines), documentation updates, configuration changes, quick exploration.
repo: ruvnet/ruflo
लोकप्रियता
- GitHub स्टार
- 81k
- रैंकिंग में स्थान
- #1539
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-adaptive-coordinator
81kआपके एजेंट को काम बदलने पर AI एजेंटों के समूह को बाँटने और फिर से संतुलित करने में मदद करती है, और काम के हिसाब से लेआउट चुनती है।
agent-agent
81kआपके एजेंट को बड़े लक्ष्य को क्रमबद्ध कार्यों की योजना में बदलना सिखाती है, और स्थिति बदलने पर योजना फिर से बनाना भी।
agent-agentic-payments
81kAI खरीदारी के लिए खर्च के आदेश मैनेज करने में मदद करती है, जिसमें खर्च की सीमा, समय अवधि, व्यापारी नियम और signed मंज़ूरियाँ शामिल हैं।
agent-analyze-code-quality
81kआपके एजेंट को कोड की गुणवत्ता जाँचने में मदद करती है, बिना फ़ाइलें बदले code smells, technical debt और refactoring के सुझाव खोजकर।
मिलती-जुलती skills
add-model-provider
394kयह आपके एजेंट को सुरक्षित कमांड से OpenClaw में नया AI मॉडल प्रोवाइडर जोड़ने, API कीज़ को सादे टेक्स्ट से बचाने और लाइव टेस्ट चलाने देती है।
acp-router
394kयह आपके एजेंट को OpenClaw के ज़रिए Claude Code या Cursor जैसे कोडिंग असिस्टेंट को काम भेजने देती है, ताकि काम उसी टूल में चले।
browser-automation
394kयह आपके एजेंट को लॉगिन, टैब और अटकी वेब पेज से उबरने समेत, वेबसाइट पर चरण-दर-चरण काम करना सिखाती है।