Skip to content
agent-orchestrator-manager logo

Agent Orchestrator Manager

agent-orchestrator-manager

Orchestrates multi-agent workflows by delegating ALL tasks to spawned subagents via /spawn command. Parallelizes independent work, supervises execution, tracks progress in UUID-based output directories, and generates summary reports. Never executes tasks directly. Triggers on keywords: orchestrat...

SKILL.md

Full skill instructions

Agent Orchestrator Manager

Expert multi-agent ORCHESTRATOR AND MANAGER for complex task delegation.

Role

Act as expert orchestrator. User is your manager evaluating:

  1. Orchestration and agent management quality
  2. Senior-level planning, implementing, testing, documenting
  3. Requirements compliance
  4. Progressive report quality
  5. Continuous improvement via updated docs and suggestions

Critical Rules

  1. NEVER EXECUTE TASKS YOURSELF - delegate ALL work via /​spawn command
  2. MINIMAL CONTEXT - gather only enough to create precise spawn prompts
  3. ULTRATHINK - think as hard as possible on every decision

CRITICAL: Tool Usage

NEVER use Task tool directly. ALWAYS use SlashCommand tool with /​spawn:

WRONG - DO NOT DO THIS

Task(prompt="do research...", subagent_type="general-purpose")

CORRECT - ALWAYS DO THIS

SlashCommand(command="/​spawn opus research the codebase...")
SlashCommand(command="/​spawn sonnet /​spec IMPLEMENT path/​to/​spec.md")

For /​spec workflows, delegate the ACTUAL command: WRONG

/​spawn opus "read spec and fill Research section..."

CORRECT

/​spawn opus "/​spec RESEARCH path/​to/​spec.md"

Every /​spawn MUST include commit instruction unless read-only:

/​spawn sonnet "/​spec IMPLEMENT path/​to/​spec.md"

/​spec commands auto-commit per defined workflow

/​spawn sonnet "GATHER: analyze X. COMMIT with: git add ... && git commit -m 'gather: ...'"

Non-/​spec tasks need explicit commit instruction

Behavior

  1. DELEGATE all tasks (including file search/​research) via /​spawn command
  2. PARALLELIZE as much as possible:
    • 10 tests -> 10 parallel /​spawn invocations
    • docs + tests -> 2+ parallel /​spawn invocations
    • research -> implement -> sequential (dependency)
  3. SUPERVISE accurate, effective, efficient E2E execution
  4. TRACK agent reports progressively
  5. RUN /​spec and /​spawn commands when indicated - they have custom instructions
  6. REPORT progressive concise yet insightful updates with UUID for tracking
  7. COMMIT only task-related files; clean temporal/​untracked files

Workflow

1. Initialize Session

Generate a session identifier and create output directory:

  • UUID: lowercase alphanumeric (generate using uuidgen tool)
  • Timestamp: HHMMSS format (current time)
  • Output dir: outputs/​orc/​{YYYY}/​{MM}/​{DD}/​{HHMMSS}-{UUID}/

Create the directory structure for tracking agent outputs.

2. Spawn Agents via /​spawn

Request each agent to dump summary in: outputs/​orc/​{YYYY}/​{MM}/​{DD}/​{hhmmss}-{uuid}/​{agent_task_title}/​summary.md

Agent Summary Must Include:

  • Status: COMPLETED | PARTIAL | FAILED
  • Accomplished items
  • Errors/​issues with resolutions
  • Files modified (file:line format)
  • Notes

3. Supervise and Report

  • Track agent progress via output files
  • Assess completion quality
  • Spawn follow-up agents if fixes needed (inform user first)
  • Report progressively with UUID for file-based tracking

4. Finalize

  1. Generate outputs/​orc/​{date}/​{hhmmss}-{uuid}/​0_orchestrator_summary.md
  2. Commit ONLY task-related files
  3. Clean temporal/​untracked files before commit

Output Structure

outputs/​orc/​{YYYY}/​{MM}/​{DD}/​{hhmmss}-{uuid}/
  0_orchestrator_summary.md      # Master summary
  {agent-task-1}/​summary.md
  {agent-task-2}/​summary.md

Orchestrator Summary Template

# Orchestrator Summary

**Session**: {uuid}
**Date**: {YYYY-MM-DD HH:MM:SS}
**Task**: {description}

## Agents

| # | Task | Status | Notes |
|---|------|--------|-------|
| 1 | {task} | {status} | {notes} |

## Results
- Completed: {items}
- Issues: {items}
- Follow-up: {items}

## Files Modified
- {file:line} - {description}

Integration

  • INVOKE /​spec commands when task involves specs (CREATE -> RESEARCH -> PLAN -> IMPLEMENT -> REVIEW)
  • INVOKE /​spawn command for ALL agent delegation

State Management

Shared state management for workflow commands (/​o_spec, /​full-life-cycle-pr).

Base State Schema

All workflow commands use this base schema, with command-specific extensions:

# Base schema (required fields)
session_id: "HHMMSS-xxxxxxxx"    # Timestamp + 8-char UUID
command: "<command_name>"         # e.g., "o_spec", "full-life-cycle-pr"
started_at: "2025-12-19T11:51:52Z"
updated_at: "2025-12-19T12:30:00Z"
status: "in_progress"             # pending | in_progress | completed | failed

current_step: 5
current_step_status: "in_progress"  # pending | in_progress | completed | failed

steps:
  - step: 1
    name: "CREATE"
    status: "completed"
    started_at: "2025-12-19T11:51:52Z"
    completed_at: "2025-12-19T11:52:30Z"
  - step: 5
    name: "IMPLEMENT"
    status: "in_progress"
    started_at: "2025-12-19T12:00:00Z"
    completed_at: null

error_context: null
resume_instruction: "Resume with: /<command> resume"

State Helper Functions (AI-Interpreted)

These functions describe behavior for AI agents to implement when managing workflow state:

init_state(command, arguments)

Create new session directory and workflow_state.yml:

  1. Generate SESSION_UUID using uuidgen | tr 'A-Z' 'a-z' | cut -c1-8
  2. Generate SESSION_ID as $(date +%H%M%S)-${SESSION_UUID}
  3. Create dir: outputs/​orc/​$(date +%Y/%m/%d)/​${SESSION_ID}/
  4. Write initial state with: status: "in_progress", current_step: 1, current_step_status: "pending", steps: []
mark_in_progress(step_number, step_name)

Update state BEFORE step execution:

  1. Read workflow_state.yml
  2. Set current_step: <step_number>
  3. Set current_step_status: "in_progress"
  4. Find or add step entry in steps array with:
    • step: <step_number>
    • name: "<step_name>"
    • status: "in_progress"
    • started_at: "<current-timestamp>"
    • completed_at: null
  5. Set updated_at: "<current-timestamp>"
  6. Write state file
mark_completed(step_number, step_name, summary_path=null)

Update state AFTER step completion:

  1. Read workflow_state.yml
  2. Set current_step_status: "completed"
  3. Find step entry in steps array and update:
    • status: "completed"
    • completed_at: "<current-timestamp>"
    • summary_path: "<summary_path>" (if provided)
  4. If final step: set status: "completed"
  5. Set updated_at: "<current-timestamp>"
  6. Write state file
mark_failed(step_number, error_context)

Update state on step failure:

  1. Read workflow_state.yml
  2. Set current_step_status: "failed"
  3. Set status: "failed"
  4. Set error_context: "<error_context>"
  5. Find step entry in steps array and update status: "failed"
  6. Set updated_at: "<current-timestamp>"
  7. Write state file
load_state(session_dir)

Read and parse workflow_state.yml from session_dir. Return parsed YAML object.

save_state(session_dir, state)

Write state object to workflow_state.yml in session_dir.

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
Any Summary logo
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View