Перейти к содержанию
Skillpedia
Агенты48k · #5634

review-multi-agent-orchestration

Что он делает

Этот инструмент проверяет, как ИИ-система с несколькими агентами (например, с супервизором, роем или планировщиком) организует свои задачи. Он проверяет, чётко ли определены задачи, работает ли обмен информацией между агентами и может ли система справляться с ошибками или корректно останавливаться.

Когда использовать

  • ✓Когда вы планируете ИИ-систему с несколькими агентами для сложной задачи.
  • ✓Когда вводите новые способы обмена данными или управления между агентами.
  • ✓Когда нужно найти причины проблем, например повторяющихся задач или «зависших» агентов.

Ссылка на скилл

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

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/review-multi-agent-orchestration/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Проверь план ИИ-системы, которая управляет поддержкой клиентов. Убедись, что задачи каждого агента понятны и что они могут правильно обмениваться информацией.”

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,

…
Частые вопросы

Что такое «оркестрация» в этом контексте?

Это как дирижёр, который ведёт оркестр. В данном случае это то, как ИИ-система управляет несколькими «агентами» (небольшими ИИ-помощниками) и координирует их работу над общей задачей.

Почему важно проверять «контракт»?

«Контракт» задаёт правила того, как агенты работают вместе: что каждый может делать, как они общаются и что происходит, если что-то идёт не так. Проверка помогает убедиться, что все понимают и соблюдают одни и те же правила.

Что такое «терминальные состояния»?

Это возможные конечные результаты задачи или всей ИИ-системы, например «успех», «ошибка» или «отменено». Проверка гарантирует, что система надёжно приходит к одному из них.

Подробности

Оригинальное описание автора

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
Обновлён
15.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы