orchestration

Coordinates skills, frameworks, and workflows throughout the project lifecycle using pattern-based sequencing, goal decomposition, phase-gate validation, and multi-agent orchestration. Use when starting multi-phase projects, sequencing frameworks, decomposing goals into capability plans, validating phase-gate readiness, coordinating subagents, or designing MCP-based tool orchestration.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "orchestration" with this command: npx skills add oakoss/agent-skills/oakoss-agent-skills-orchestration

Orchestration

Overview

Coordinates skills, frameworks, and workflows across the project lifecycle. Combines pattern-based project classification with goal decomposition, hierarchical task planning, and multi-agent coordination.

Use this skill for project-level workflow decisions: which frameworks to activate, in what order, and how to validate progress between phases. For Claude Code-specific agent implementation details (agent configuration, batch sizing, prompt engineering), use the agent-patterns skill instead.

This skill does NOT replace project management tools. It provides the decision framework for sequencing capabilities and validating readiness at each transition point.

Quick Reference

NeedAction
Identify project typeClassify as Pattern A / B / C
Sequence frameworksFollow pattern-specific phase order
Decompose a goalExtract required effects, match capabilities
Validate readinessCheck phase-gate criteria before advancing
Find alternativesGenerate fallback capabilities per step
Score a planEvaluate cost, latency, risk, diversity
Coordinate agentsSelect orchestration pattern for task type
Pass contextUse context distillation for subagents

Pattern Identification

Classify every project before selecting frameworks or skills.

PatternCharacteristicsTimeline
A: Simple FeatureExisting system, well-understood, single-team1-5 days
B: New Product/SystemFrom scratch, security/compliance matters4-12 weeks
C: AI-Native/ComplexAI agents, RAG, knowledge graphs, orchestration8-20 weeks

Phase Gates

Do not advance without meeting gate criteria.

GateEntry Criteria
Design (Phase 2)PRP complete, problem validated, success metrics, user stories
Development (3)Architecture documented, data model designed, security threats mapped
Testing (Phase 4)Features complete, unit tests over 80%, code review, SAST clean
Deployment (5)All tests passing, UAT completed, security tested, coverage over 90%

Scoring Function

Plans are evaluated using weighted utility:

FactorWeightScores
Cost0.3free=1.0, low=0.8, medium=0.5, high=0.2
Risk0.3safe=1.0, low=0.8, medium=0.5, high=0.2
Latency0.2instant=1.0, fast=0.7, slow=0.3
Diversity0.2min(unique_domains / 5, 1.0)

Modifiers: recently used (within 3 steps) gets -30% penalty; novel capability gets +20% bonus.

Multi-Agent Orchestration Patterns

PatternUse Case
HierarchicalParent delegates to specialized subagents
SequentialChain of experts (architect -> dev -> review)
ParallelIndependent tasks running simultaneously
HandoffOne agent passes context to the next

Key rules: max delegation depth of 3, use context distillation (not full codebase), log all agent interactions.

MCP Integration

MCP (Model Context Protocol) standardizes how agents connect to external tools, data sources, and prompt templates. The orchestrator discovers available MCP servers at startup and routes tool calls from subagents to the correct server.

MCP PrimitiveRole in Orchestration
ResourcesDiscover available data (schemas, configs, docs) before work
ToolsExecute validated actions with typed arguments
PromptsReuse domain-specific instruction templates across agents
SamplingAllow servers to request AI reasoning mid-execution

Common Mistakes

MistakeCorrect Pattern
Treating all projects as Pattern A (simple feature)Classify first: Pattern A (simple), B (new product), C (AI-native) before selecting frameworks
Skipping phase gates to move fasterEnforce gate criteria before advancing; skipping causes compounding rework
Activating all available skills simultaneouslyLimit to 1-3 skills per phase with clear deliverables and handoffs
No decision logging for capability choicesLog rationale, alternatives considered, scores, and rejection reasons at each step
Building HTN plans without validating preconditionsCheck project state (files, dependencies, env vars) against each capability's requirements first
Delegating without a clear objective manifestEvery subagent needs an objective, constraints, max tokens, and available tools
Passing entire codebase to subagentsUse context distillation to pass only relevant symbols and facts

Delegation

  • Discover project pattern and classify scope: Use Explore agent to survey the codebase, dependencies, and requirements
  • Execute multi-phase orchestration plan: Use Task agent to implement phase-specific deliverables with gate validation
  • Design architecture and capability sequences: Use Plan agent to decompose goals and build scored HTN plans

References

  • goal-decomposition.md -- HTN planning, goal analysis, capability matching, precondition validation, scoring, decision logging
  • project-patterns.md -- Pattern A/B/C classification, phase sequences, skill coordination by phase, parallelization
  • multi-agent-coordination.md -- Hierarchical, sequential, parallel orchestration patterns, delegation manifests, recursion limits
  • mcp-orchestration.md -- MCP architecture, resources, tools, prompts, multi-server orchestration, bidirectional sampling
  • context-distillation.md -- Symbol indexing, fact extraction, recursive context reduction, token management
  • error-handling.md -- Objective drift, tool failure, context overflow, circuit breakers, recovery strategies, logging

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

playwright

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

ui-ux-polish

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

tanstack-form

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

find-skills

No summary provided by upstream source.

Repository SourceNeeds Review