jpskill.com
💬 コミュニケーション コミュニティ 🟢 非エンジニアでもOK 👤 管理職・人事・カスタマー対応

💬 スワーム統括

swarm-orchestration

複数のファイルやモジュールにまたがる複雑な開発作業

⏱ メール返信10件 30分 → 3分

📺 まず動画で見る(YouTube)

▶ 【最新版】Claude(クロード)完全解説!20以上の便利機能をこの動画1本で全て解説 ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

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.

🇯🇵 日本人クリエイター向け解説

一言でいうと

複数のファイルやモジュールにまたがる複雑な開発作業

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o swarm-orchestration.zip https://jpskill.com/download/2143.zip && unzip -o swarm-orchestration.zip && rm swarm-orchestration.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/2143.zip -OutFile "$d\swarm-orchestration.zip"; Expand-Archive "$d\swarm-orchestration.zip" -DestinationPath $d -Force; ri "$d\swarm-orchestration.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して swarm-orchestration.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → swarm-orchestration フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
3

💬 こう話しかけるだけ — サンプルプロンプト

  • Swarm Orchestration で、お客様への返信文を作って
  • Swarm Orchestration を使って、社内向けアナウンスを書いて
  • Swarm Orchestration で、メールテンプレートを整備して

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

Swarm Orchestration スキル

目的

複雑なタスクのためのマルチエージェントスウォーム調整。階層型トポロジーと専門エージェントを使用して、複数のファイルとモジュールにわたる複雑な作業を分解し、実行します。

トリガーするタイミング

  • 3つ以上のファイルに変更が必要な場合
  • 新機能の実装
  • クロスモジュールリファクタリング
  • テストを伴うAPI変更
  • セキュリティ関連の変更
  • コードベース全体のパフォーマンス最適化
  • データベーススキーマの変更

スキップするタイミング

  • 単一ファイルの編集
  • 簡単なバグ修正(1~2行)
  • ドキュメントの更新
  • 設定の変更
  • 簡単な調査

コマンド

Swarm の初期化

階層型トポロジー(アンチドリフト)で新しいスウォームを開始します。

npx @claude-flow/cli swarm init --topology hierarchical --max-agents 8 --strategy specialized

例:

npx @claude-flow/cli swarm init --topology hierarchical --max-agents 6 --strategy specialized

タスクのルーティング

タスクの種類に基づいて、適切なエージェントにタスクをルーティングします。

npx @claude-flow/cli hooks route --task "[task description]"

例:

npx @claude-flow/cli hooks route --task "implement OAuth2 authentication flow"

エージェントの生成

特定のタイプのエージェントを生成します。

npx @claude-flow/cli agent spawn --type [type] --name [name]

例:

npx @claude-flow/cli agent spawn --type coder --name impl-auth

ステータスの監視

現在のスウォームステータスを確認します。

npx @claude-flow/cli swarm status --verbose

タスクのオーケストレーション

複数のエージェントにわたってタスクをオーケストレーションします。

npx @claude-flow/cli task orchestrate --task "[task]" --strategy adaptive

例:

npx @claude-flow/cli task orchestrate --task "refactor auth module" --strategy parallel --max-agents 4

エージェントのリスト表示

すべてのアクティブなエージェントをリスト表示します。

npx @claude-flow/cli agent list --filter active

スクリプト

スクリプト パス 説明
swarm-start .agents/scripts/swarm-start.sh デフォルト設定でスウォームを初期化します
swarm-monitor .agents/scripts/swarm-monitor.sh リアルタイムスウォーム監視ダッシュボード

参照

ドキュメント パス 説明
Agent Types docs/agents.md エージェントのタイプと機能の完全なリスト
Topology Guide docs/topology.md スウォームトポロジー設定ガイド

ベストプラクティス

  1. 開始する前に既存のパターンについてメモリを確認します。
  2. 調整には階層型トポロジーを使用します。
  3. 完了後に成功したパターンを保存します。
  4. 新しい学習事項を文書化します。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

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

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。