本文へ移動
cccskills
無料GitHub で公開

multi-agent-orchestration

Use when coordinating multiple specialized agents for complex distributed tasks. Keywords: multi-agent, orchestrator, subagent, handoff, swarm, supervisor, agent topology, coordination.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md4.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Multi-Agent Orchestration

Overview

This skill provides a framework for designing and managing multi-agent systems where specialized agents collaborate on complex, multi-stage workflows. It emphasizes clear agent boundaries, structured communication, and robust error isolation.

When To Use

  • When tasks are too large or diverse for a single agent (scope creep).
  • When specific domain expertise (e.g., database design, UI/UX, security) is required in separate, modular contexts.
  • To maintain clean separation of concerns and reduce context window degradation.
  • When you need to delegate parallelizable work to maximize throughput.

Topology Patterns

  • Hierarchical Supervisor: A central supervisor agent delegates sub-tasks to specialized workers, aggregates their results, and provides final synthesis.
  • Swarm Handoffs: Agents pass tasks directly to the next appropriate agent based on completion criteria, forming a chain or graph of expertise.
  • Router-Worker: A router analyzes incoming requests and dispatches them to a specific pool of workers based on classification.
  • Blackboard: Multiple agents read from and write to a shared persistent state (the "blackboard") until a task objective is satisfied.
  • Round-Robin Debate: Agents with opposing viewpoints propose solutions, iterate, and refine based on peer criticism to improve quality.

Communication Protocols

  • Agent-to-Agent (A2A): Always use structured message framing.
  • Structured Payloads: Encapsulate tasks, constraints, and dependencies in a common JSON format or structured Markdown.
  • Return Summaries: Every subagent MUST return a concise summary of work done, resources created, and final status (SUCCESS/FAIL/BLOCKED) before closing the conversation.

Context Isolation & Boundary Hand-offs

  • Ephemeral Context: Spawn subagents with only the minimal, high-signal information needed for their specific task.
  • Avoid Token Bloat: Do not pass the entire parent conversation history unless strictly necessary. Pass pointers to file locations or artifact links instead.
  • Clean State: Each subagent should operate within its own branched workspace to prevent side effects on the parent or other subagents.

Failure Isolation

  • Localized Faults: Subagent crashes must be caught by the parent via message timeout or error reporting mechanisms.
  • Graceful Retries: Implement retry logic for discrete sub-tasks. If a worker fails, the supervisor should attempt to diagnose the root cause (using Root Cause Tracing) before retrying or pivoting strategy.
  • Never Crash Parent: A subagent failure should trigger an alert in the parent agent, not an unhandled exception that propagates to the user.

Task Decomposition Strategies

  • Parallel Execution: Use when tasks are independent (e.g., unit tests for different modules, gathering info from multiple docs).
  • Sequential Execution: Use when tasks have strict causal dependencies (e.g., design -> implement -> review -> deploy).
  • Merge Points: Define clear synchronization points where context from different agents is consolidated, validated, and refined by the supervisor.

State Sharing Patterns

  • Shared Artifacts: Write common results to files in the shared artifacts/ directory.
  • Blackboard Memory: Use shared databases or documented state files for common configurations or global project context.
  • Message Bus: Use the parent agent as the hub for all inter-agent messages.

Anti-patterns

  • God Orchestrator: A single agent attempting to do everything; leads to poor specialization and context degradation.
  • Circular Dependencies: Agents waiting on each other indefinitely; always define a clear directed acyclic graph (DAG) of task flow.
  • Context Explosion: Passing the entire project state to every subagent; use selective scoping instead.
  • Silent Failures: Subagents finishing without reporting status; every interaction must have an explicit "done" or "blocked" signal.

Quality Gates

  • Pre-Handoff Check: Does the subagent have everything it needs? (Requirements, constraints, deadline).
  • Post-Handoff Review: Does the output meet the original task intent? Does it need further refinement before the next step?
  • Final Integration: Verify the combined results of all subagents against original user acceptance criteria.

References

  • KILO-KIT Core Principles (skills/kilo-kit/SKILL.md)
  • Systematic Debugging (skills/systematic-debugging/SKILL.md)
  • Architecture Decision Making (skills/architecture/SKILL.md)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

2d-games

無料

2D game development principles. Sprites, tilemaps, physics, camera.

日本語の概要は準備中です。原文の説明を表示しています。

VoDaiLocz/kilo-kit-mcp272026年9月13日 更新

3d-games

無料

3D game development principles. Rendering, shaders, physics, cameras.

日本語の概要は準備中です。原文の説明を表示しています。

VoDaiLocz/kilo-kit-mcp272026年9月13日 更新

aesthetic

無料

Create aesthetically beautiful interfaces following proven design principles. Use when building UI/UX, analyzing designs from inspiration sites, generating design images with ai-multimodal, implementing visual hierarchy and color theory, adding micro-interactions, or creating design documentation. Includes workflows for capturing and analyzing inspiration screenshots with chrome-devtools and ai-multimodal, iterative design image generation until aesthetic standards are met, and comprehensive design system guidance covering BEAUTIFUL (aesthetic principles), RIGHT (functionality/accessibility), SATISFYING (micro-interactions), and PEAK (storytelling) stages. Integrates with chrome-devtools, ai-multimodal, media-processing, ui-styling, and web-frameworks skills.

日本語の概要は準備中です。原文の説明を表示しています。

VoDaiLocz/kilo-kit-mcp272026年9月13日 更新

Use when implementing or managing persistent, hierarchical memory systems for AI agents. Covers cross-session state, fact supersession, and self-managed memory tools to enable long-term recall and adaptive agent behavior.

日本語の概要は準備中です。原文の説明を表示しています。

VoDaiLocz/kilo-kit-mcp272026年9月13日 更新

Use when monitoring, tracing, or debugging agentic workflows in production. Keywords: observability, tracing, OpenTelemetry, Langfuse, latency, token cost, loop detection, telemetry.

日本語の概要は準備中です。原文の説明を表示しています。

VoDaiLocz/kilo-kit-mcp272026年9月13日 更新

Use when building self-correcting retrieval systems for AI agents. Keywords: RAG, retrieval, Corrective RAG, Self-RAG, query decomposition, reranking, hallucination, grounding.

日本語の概要は準備中です。原文の説明を表示しています。

VoDaiLocz/kilo-kit-mcp272026年9月13日 更新

VoDaiLocz のスキルをすべて見る

このスキルの問題を報告する