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

review-multi-agent-orchestration

できること

このツールは、複数のエージェントを備えたAIシステム(監督役、群れのように動くスウォーム、計画役など)が、タスクをどのように整理しているかをレビューします。タスクの定義が明確か、エージェント同士の連携がうまくいくか、エラーに対応できるか、途中で中断できるかを確認します。

使う場面

  • ✓複雑な作業のために、複数のエージェントを使うAIシステムを計画するとき。
  • ✓エージェント間に新しい連携や制御の方法を導入するとき。
  • ✓同じタスクが繰り返される、またはエージェントが止まってしまうといった問題の原因を調べるとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/review-multi-agent-orchestration/SKILL.md

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

使い方

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

貼り付け用メッセージ

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

AIへの頼み方の例

“カスタマーサポートを管理するAIシステムの計画をレビューしてください。各エージェントのタスクが明確か、正しく連携できるかを確認してください。”

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

仕組み

このツールは、システムの設計を状態機械のように捉えて分析します。各ステップに明確な担当があるか、ステップ間の移行が安全か、問題なく最終結果にたどり着けるかを確認します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Review Multi-Agent Orchestration

Overview

Review an orchestration as a distributed state machine, not as a list of agent roles. The goal is to prove that every task has one owner, every state transition has one authority, and every terminal outcome is reachable without duplicate effects, lost work, or unbounded loops.

This skill reviews a design or implementation. Do not launch workers, mutate queues, cancel runs, change production configuration, or deploy fixes unless the user separately requests implementation.

When to Use

  • Reviewing supervisor/worker, planner/executor, debate, swarm, graph, or hierarchical Agent designs.
  • Introducing parallel branches, subagents, MCP tools, durable execution, memory, checkpoints, or human-in-the-loop gates.
  • Diagnosing duplicate work, stale context, deadlocks, livelocks, branch races, runaway retries, or ambiguous ownership.
  • Deciding whether a complex task should be parallel, sequential, delegated, or kept in one agent.

Do not use it for a single independent tool call or a simple pipeline with no concurrency, shared state, retry, or delegation boundary.

Capture the Orchestration Contract

Request or derive:

  • business goal, success criteria, and non-goals;
  • task graph with stable task IDs and dependency edges;
  • agent roles, capabilities, permissions, tools, and sandbox boundaries;
  • state schema, source of truth, ownership, versioning, and persistence;
  • message envelopes and artifact handoff contracts;
  • dispatch, join, retry, timeout, cancellation, compensation, and escalation policies;
  • token, cost, concurrency, wall-clock, and external-effect budgets;
  • terminal states and evidence required to enter them.

Mark each field as declared, inferred, or missing. Never invent framework behavior from role names such as "supervisor" or "validator."

Decide Whether Multi-Agent Execution Is Justified

Multi-agent execution is justified when tasks have independently verifiable outputs and can be isolated by files, artifacts, permissions, or read-only scopes. Keep work sequential when one branch consumes another's evolving output, all workers must edit the same state, or coordination cost exceeds the expected parallel gain.

Score each candidate task:

Dimension Parallel-safe evidence
Dependency Inputs are frozen before dispatch
Ownership One writer owns each artifact or state partition
Verification Output has a local acceptance contract
Context Handoff fits a bounded message or immutable artifact
Side effects Effects are absent, isolated, or idempotent
Failure Failure can be contained without corrupting siblings

If any dimension is unresolved, recommend serialization or an explicit coordination mechanism rather than optimistic concurrency.

Model the State Machine

Represent task state explicitly:

pending -> ready -> leased -> running -> succeeded
                         |        |-> retry_wait -> ready
                         |        |-> needs_human
                         |        |-> failed
                         |        |-> cancelled
                         |-> lease_expired -> ready

For every transition record:

  • authorized actor;
  • compare-and-set precondition or expected state version;
  • persisted fields and artifact references;
  • emitted event and deduplication key;
  • budget consumed;
  • timeout or lease behavior;
  • compensation or recovery path.

Reject designs where workers overwrite the whole shared state object or where "done" is a free-form message rather than a validated transition.

Review Task and State Ownership

Each task needs one active lease owner, a fencing token or monotonically increasing attempt, and a stable idempotency key for external effects. A retry may repeat computation, but it must not repeat a committed effect.

Use one of these state patterns deliberately:

  • Single-writer coordinator: workers return proposals or artifacts; only the coordinator mutates canonical state.
  • Partitioned state: each worker owns a disjoint namespace; a joiner writes the aggregate.
  • Event log with reducers: workers append immutable events; deterministic reducers derive state.

Flag shared checkout edits, last-write-wins JSON blobs, mutable global memory, and unversioned summaries as collision risks.

Review Dispatch and Handoffs

A dispatch envelope should bind:

{
  "run_id": "run-7",
  "task_id": "backend-3",
  "attempt": 2,

…
よくある質問

この文脈での「オーケストレーション」とは何ですか?

オーケストラを指揮する指揮者のような役割のことです。ここでは、AIシステムが複数の「エージェント」(小さなAIアシスタント)を管理して調整し、大きなタスクを協力して進めるための仕組みを指します。

「契約(コントラクト)」をレビューすることがなぜ重要なのですか?

「契約」は、エージェントがどのように協力するか、それぞれが何をできるか、どのように連携するか、何か問題が起きたらどうなるかといったルールを定めています。レビューすることで、全員が同じルールを理解し、守れるようになります。

「終端状態」とは何ですか?

タスクやAIシステム全体の最終的な結果のことで、「成功」「失敗」「キャンセル」などがあります。レビューによって、システムがこれらの状態に確実にたどり着けるかを確認します。

詳細

作者による元の説明

Use when a supervisor, swarm, graph, planner-worker system, or parallel agent workflow needs review for task boundaries, shared state, branch joins, retries, cancellation, context handoffs, budgets, deadlocks, or human escalation before implementation or production rollout.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5634
ライセンス
MIT
更新日
2026/10/15

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

0

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

コメント

  • …

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

似ているスキル