본문으로 건너뛰기
cccskills
무료GitHub에 공개

orchestration-template

Reference template for multi-agent orchestrated skills. Use as a pattern when creating complex skills that need parallel execution.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md3.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Sub-Agent Orchestration Template

This is a reference template for creating skills that use parallel sub-agents. It is NOT directly invocable - use it as a pattern when building new orchestrated skills.

When to Use This Pattern

Use sub-agent orchestration when:

  • Task has 3+ independent research phases
  • Each phase can run in parallel without dependencies
  • Results need synthesis into a unified output
  • Context isolation improves quality (prevents contamination)

Do NOT use when:

  • Task is simple and linear
  • Phases depend on each other sequentially
  • Interactive dialogue is needed throughout

Orchestration Structure

Phase 1: Planning

1. TaskCreate for overall work item
2. Identify independent workstreams
3. Create sub-tasks for each workstream
4. Set dependencies with TaskUpdate (addBlockedBy)

Phase 2: Parallel Execution

Launch N agents in parallel using Task tool:

Task tool calls (in single message for parallelism):

Agent 1: subagent_type: "Explore", model: "haiku"

- Purpose: [specific research goal]
- Tools: Read, Glob, Grep (read-only)

Agent 2: subagent_type: "Explore", model: "haiku"

- Purpose: [different research goal]
- Tools: Read, Glob, Grep (read-only)

Agent 3: subagent_type: "general-purpose"

- Purpose: [complex analysis requiring writes]
- Tools: All available

Phase 3: Synthesis

1. Collect results from all agents
2. Identify conflicts or gaps
3. Generate unified output
4. Update tasks to completed

Model Selection for Sub-Agents

Sub-Agent PurposeModelRationale
Read-only search/explorationHaikuFast, cheap, isolated context
Analysis with contextSonnetGood reasoning
Complex synthesisSonnetBalanced cost/quality
Deep architecture reasoningOpusExtended thinking needed

Example: Parallel Research Pattern

## Phase 1: Create Tasks

TaskCreate: "Research API patterns"
TaskCreate: "Research database patterns"
TaskCreate: "Research auth patterns"
TaskCreate: "Synthesise findings" (blockedBy: above three)

## Phase 2: Launch Parallel Agents

[Single message with 3 Task tool calls]

Task 1: Explore agent for API patterns
Task 2: Explore agent for database patterns
Task 3: Explore agent for auth patterns

## Phase 3: Synthesise

Read agent outputs
Combine into unified report
Mark all tasks completed

Best Practices

  1. Limit to 3-5 parallel agents - More causes coordination overhead
  2. Use Haiku for exploration - Cheaper and faster for read-only
  3. Clear agent prompts - Each agent needs complete context (no shared state)
  4. Aggregate carefully - Agents may have conflicting findings
  5. Track with Tasks - Use TaskCreate/TaskUpdate for visibility
  6. Handle failures - If one agent fails, others continue

Anti-Patterns

❌ Don't spawn agents for sequential work ❌ Don't use background agents when MCP tools needed ❌ Don't pass partial context expecting shared state ❌ Don't spawn 10+ agents (diminishing returns)

Skills Using This Pattern

Reference these for working examples:

  • /vault-maintenance - Parallel health checks
  • /quality-report - Parallel analysis dimensions
  • /project-status - Parallel data gathering agents

Template Variables

When creating a new orchestrated skill, replace:

{{SKILL_NAME}} - Name of the skill
{{PHASE_COUNT}} - Number of parallel phases
{{AGENT_PURPOSE_N}} - Purpose of each agent
{{SYNTHESIS_OUTPUT}} - What the final output looks like

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Batch populate summary fields using content analysis

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

auto-tag

무료

Batch auto-tag untagged notes using content analysis

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Generate C4 architecture diagrams from system notes

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

canvas

무료

Create and edit Obsidian Canvas files for architecture visualization

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

Check Outlook inbox and update daily note with message summary

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

commit

무료

Stage and commit vault changes with UK English conventional commit messages

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

DavidROliverBA/ArchitectKB532026년 3월 2일 업데이트

DavidROliverBA의 스킬 모두 보기

이 스킬의 문제 신고