本文へスキップ
Skillpedia
エージェント81k · #1539

swarm-orchestration

できること

このスキルは、大きな作業を部分に分け、階層構造の専門のエージェントに割り当てるようエージェントを導きます。1度に複数のファイルやモジュールに触れる変更を行う開発者のためのものです。

使う場面

  • ✓3つ以上のファイルの更新が必要な変更があるとき。
  • ✓いくつかのモジュールにまたがる機能があり、調整が必要なとき。
  • ✓コードとテストを一緒に更新する必要があるとき。

スキルのリンク

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/swarm-orchestration/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/ruvnet/ruflo/blob/main/.agents/skills/swarm-orchestration/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“専門のエージェントを使い、認証モジュール、そのテスト、データベースのスキーマをまたいで変更を調整してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントは、階層型のスウォームを開始し、作業を適切な専門家に振り分け、その進み具合を追跡し、結果を組み合わせます。

技術的な内容(元の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

  1. Check memory for existing patterns before starting
  2. Use hierarchical topology for coordination
  3. Store successful patterns after completion
  4. Document any new learnings
よくある質問

いつスキップすべきですか?

1つのファイルだけの編集、小さなバグ修正、文書の更新では使わないよう、スキルは述べています。

どのトポロジーを使いますか?

専門のエージェントによる階層型のトポロジーを使い、それがずれを防ぐのに役立つとスキルは説明しています。

動かすエージェントの数を選べますか?

はい。スキルは、スウォームを開始するときに最大のエージェント数を設定します。

詳細

作者による元の説明

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
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル