본문으로 건너뛰기
Skillpedia
에이전트48k · #5259

multi-agent-task-orchestrator

하는 일

이 시스템은 여러 AI(에이전트)의 작업을 정리합니다. 작업을 적합한 에이전트에게 배정하고, 같은 일을 중복하지 않도록 막고, 결과가 좋은지 확인한 뒤에야 작업을 완료로 봅니다.

사용하는 경우

  • ✓복잡한 일을 함께 해야 하는 AI 에이전트가 3개 이상일 때.
  • ✓에이전트들이 같은 일을 하거나 서로 방해하기 시작할 때.
  • ✓누가 언제 무엇을 했는지 정확히 알아야 할 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/multi-agent-task-orchestrator/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“우리 새 앱 사용법에 대한 튜토리얼을 만들도록 AI 팀을 조직해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

시스템은 먼저 각 에이전트가 할 수 있는 일과 할 수 없는 일을 정의합니다. 그다음 다른 에이전트가 이미 그 작업을 하고 있는지 확인합니다. 마지막으로 작업을 가장 적합한 에이전트에게 보내고 결과의 품질을 검증합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Multi-Agent Task Orchestrator

Overview

A production-tested pattern for coordinating multiple AI agents through a single orchestrator. Instead of letting agents work independently (and conflict), one orchestrator decomposes tasks, routes them to specialists, prevents duplicate work, and verifies results before marking anything done. Battle-tested across 10,000+ tasks over 6 months.

When to Use This Skill

  • Use when you have 3+ specialized agents that need to coordinate on complex tasks
  • Use when agents are doing duplicate or conflicting work
  • Use when you need audit trails showing who did what and when
  • Use when agent output quality is inconsistent and needs verification gates

How It Works

Step 1: Define the Orchestrator Identity

The orchestrator must know what it IS and what it IS NOT. This prevents it from doing work instead of delegating:

You are the Task Orchestrator. You NEVER do specialized work yourself.
You decompose tasks, delegate to the right agent, prevent conflicts,
and verify quality before marking anything done.

WHAT YOU ARE NOT:
- NOT a code writer — delegate to code agents
- NOT a researcher — delegate to research agents
- NOT a tester — delegate to test agents

This "NOT-block" pattern reduces task drift by ~35% in production.

Step 2: Build a Task Registry

Before assigning work, check if anyone is already doing this task:

import sqlite3
from difflib import SequenceMatcher

def check_duplicate(description, threshold=0.55):
    conn = sqlite3.connect("task_registry.db")
    c = conn.cursor()
    c.execute("SELECT id, description, agent, status FROM tasks WHERE status IN ('pending', 'in_progress')")
    for row in c.fetchall():
        ratio = SequenceMatcher(None, description.lower(), row[1].lower()).ratio()
        if ratio >= threshold:
            return {"id": row[0], "description": row[1], "agent": row[2]}
    return None

Step 3: Route Tasks to Specialists

Use keyword scoring to match tasks to the best agent:

AGENTS = {
    "code-architect": ["code", "implement", "function", "bug", "fix", "refactor", "api"],
    "security-reviewer": ["security", "vulnerability", "audit", "cve", "injection"],
    "researcher": ["research", "compare", "analyze", "benchmark", "evaluate"],
    "doc-writer": ["document", "readme", "explain", "tutorial", "guide"],
    "test-engineer": ["test", "coverage", "unittest", "pytest", "spec"],
}

def route_task(description):
    scores = {}
    for agent, keywords in AGENTS.items():
        scores[agent] = sum(1 for kw in keywords if kw in description.lower())
    return max(scores, key=scores.get) if max(scores.values()) > 0 else "code-architect"

Step 4: Enforce Quality Gates

Agent output is a CLAIM. Test output is EVIDENCE.

After agent reports completion:
1. Were files actually modified? (git diff --stat)
2. Do tests pass? (npm test / pytest)
3. Were secrets introduced? (grep for API keys, tokens)
4. Did the build succeed? (npm run build)
5. Were only intended files touched? (scope check)

Mark done ONLY after ALL checks pass.

Step 5: Run 30-Minute Heartbeats

Every 30 minutes, ask:
1. "What have I DELEGATED in the last 30 minutes?"
2. If nothing → open the task backlog and assign the next task
3. Check for idle agents (no message in >30min on assigned task)
4. Relance idle agents or reassign their tasks

Examples

Example 1: Delegating a Code Task

[ORCHESTRATOR -> code-architect] TASK: Add rate limiting to /api/users
SCOPE: src/middleware/rate-limit.ts only
VERIFICATION: npm test -- --grep "rate-limit"
DEADLINE: 30 minutes

Example 2: Handling a Duplicate

User asks: "Fix the login bug"
Registry check: Task #47 "Fix authentication bug" is IN_PROGRESS by security-reviewer
Decision: SKIP — similar task already assigned (78% match)
Action: Notify user of existing task, wait for completion

Best Practices

  • Always define NOT-blocks for every agent (what they must refuse to do)
  • Use SQLite for the task registry (lightweight, no server needed)
  • Set similarity threshold at 55% for anti-duplication (lower = too many false positives)
  • Require evidence-based quality gates (not just agent claims)
  • Log every delegation with: task ID, agent, scope, deadline, verification command

Common Pitfalls

  • Problem: Orchestrator starts doing work instead of delegating Solution: Add explicit NOT-blocks and role boundaries

…

자주 묻는 질문

에이전트가 응답하지 않으면 어떻게 되나요?

시스템은 30분마다 유휴 상태인 에이전트가 있는지 확인하고, 있다면 작업을 다시 배정하거나 에이전트에게 계속하라고 요청합니다.

결과물이 좋다는 것을 어떻게 보장하나요?

파일이 수정되었는지, 테스트가 통과하는지, 비밀 정보(비밀번호 등)가 포함되지 않았는지, 프로젝트 빌드가 성공했는지를 확인합니다.

「NOT-block」이란 무엇인가요?

에이전트가 절대 해서는 안 되는 일을 알려 주는 지침입니다. 에이전트가 전문 작업을 직접 하려 하지 않고 위임과 검증에만 집중하게 합니다.

상세 정보

작성자의 원본 설명

Route tasks to specialized AI agents with anti-duplication, quality gates, and 30-minute heartbeat monitoring

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5259
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬