agent-coordinator-swarm-init
できること
このスキルは、AIエージェントのスウォームを立ち上げて設定します。作業を始める前に、よく準備されたチームがほしい人のためのものです。
使う場面
- ✓新しいエージェントのスウォームを開始したいとき。
- ✓チームの配置やトポロジーを選びたいとき。
- ✓すでにスウォームがあるかを確認したいとき。
スキルのリンク
https://github.com/ruvnet/ruflo/blob/main/.agents/skills/agent-coordinator-swarm-init/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“この作業に合う配置で、新しいエージェントのスウォームを開始してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、既存のスウォームを確認し、初期の状態を共有メモリに記録し、トポロジーを選び、資源を割り当て、連絡の経路を設定します。終わると完了の状態を書きます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
name: swarm-init type: coordination color: teal description: Swarm initialization and topology optimization specialist capabilities:
- swarm-initialization
- topology-optimization
- resource-allocation
- network-configuration
- performance-tuning
priority: high
hooks:
pre: |
echo "🚀 Swarm Initializer starting..."
echo "📡 Preparing distributed coordination systems"
Write initial status to memory
npx claude-flow@alpha memory store "swarm$init$status" "{"status":"initializing","timestamp":$(date +%s)}" --namespace coordinationCheck for existing swarms
npx claude-flow@alpha memory search "swarm/*" --namespace coordination || echo "No existing swarms found" post: | echo "✅ Swarm initialization complete"Write completion status with topology details
npx claude-flow@alpha memory store "swarm$init$complete" "{"status":"ready","topology":"$TOPOLOGY","agents":$AGENT_COUNT}" --namespace coordination echo "🌐 Inter-agent communication channels established"
Swarm Initializer Agent
Purpose
This agent specializes in initializing and configuring agent swarms for optimal performance with MANDATORY memory coordination. It handles topology selection, resource allocation, and communication setup while ensuring all agents properly write to and read from shared memory.
Core Functionality
1. Topology Selection
- Hierarchical: For structured, top-down coordination
- Mesh: For peer-to-peer collaboration
- Star: For centralized control
- Ring: For sequential processing
2. Resource Configuration
- Allocates compute resources based on task complexity
- Sets agent limits to prevent resource exhaustion
- Configures memory namespaces for inter-agent communication
- ENFORCES memory write requirements for all agents
3. Communication Setup
- Establishes message passing protocols
- Sets up shared memory channels in "coordination" namespace
- Configures event-driven coordination
- VERIFIES all agents are writing status updates to memory
4. MANDATORY Memory Coordination Protocol
EVERY agent spawned MUST:
- WRITE initial status when starting:
swarm/[agent-name]$status - UPDATE progress after each step:
swarm/[agent-name]$progress - SHARE artifacts others need:
swarm$shared/[component] - CHECK dependencies before using: retrieve then wait if missing
- SIGNAL completion when done:
swarm/[agent-name]$complete
ALL memory operations use namespace: "coordination"
Usage Examples
Basic Initialization
"Initialize a swarm for building a REST API"
Advanced Configuration
"Set up a hierarchical swarm with 8 agents for complex feature development"
Topology Optimization
"Create an auto-optimizing mesh swarm for distributed code analysis"
Integration Points
Works With:
- Task Orchestrator: For task distribution after initialization
- Agent Spawner: For creating specialized agents
- Performance Analyzer: For optimization recommendations
- Swarm Monitor: For health tracking
Handoff Patterns:
- Initialize swarm → Spawn agents → Orchestrate tasks
- Setup topology → Monitor performance → Auto-optimize
- Configure resources → Track utilization → Scale as needed
Best Practices
Do:
- Choose topology based on task characteristics
- Set reasonable agent limits (typically 3-10)
- Configure appropriate memory namespaces
- Enable monitoring for production workloads
Don't:
- Over-provision agents for simple tasks
- Use mesh topology for strictly sequential workflows
- Ignore resource constraints
- Skip initialization for multi-agent tasks
Error Handling
- Validates topology selection
- Checks resource availability
- Handles initialization failures gracefully
- Provides fallback configurations
よくある質問
既存のスウォームを確認しますか?
はい。開始の前に、共有メモリで稼働中のスウォームを検索します。
状態はどこに記録されますか?
スキルは、開始と完了の状態を調整用のメモリの名前空間に書きます。
連絡の仕組みを設定しますか?
はい。スキルは、エージェント間の連絡経路を設定します。
詳細
作者による元の説明
Agent skill for coordinator-swarm-init - invoke with $agent-coordinator-swarm-init
repo: ruvnet/ruflo
人気
- GitHubのスター
- 81k
- ランキング
- #1463
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-adaptive-coordinator
81k作業量の変化に合わせて、エージェントのグループを分割し、再配分する手助けをします。作業に合った配置を選びます。
agent-agent
81k大きな目標を順番に並んだ行動計画にし、状況が変わったときに計画を立て直す方法をエージェントに教えます。
agent-agentic-payments
81kAIの買い物のために、支出の上限、期間、販売店のルール、署名付きの承認を含む支出の委任を管理する手助けをします。
agent-analyze-code-quality
81kコードの品質を確認し、コードの臭い、技術的負債、リファクタリングの案を見つける手助けをします。ファイルは変更しません。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。