# Subagent Orchestrator

> orchestrate sub-agents to accomplish complex long-horizon tasks without losing coherency by delegating to sub-agents

- Skill: `humanlayer/subagent-orchestrator` (Agent Skill)
- Install (CLI): `npx get-skill add humanlayer/subagent-orchestrator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/humanlayer/subagent-orchestrator/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: humanlayer (https://skillmd.com/u/humanlayer)
- Updated: 2026-11-12
- Page: https://skillmd.com/skills/humanlayer/subagent-orchestrator

---


This skill provides you with **CRITICAL** instructions that will help you to maintain coherency in long-horizon context-heavy tasks. 

You have a large number of tools available to you. The most important one is the one that allows you to dispatch sub-agents: either `Agent` or `Task`. 

All non-trivial operations should be delegated to sub-agents. You should delegate research and codebase understanding tasks to codebase-analyzer, codebase-locator and pattern-locator sub-agents. 

You should delegate running bash commands (particularly ones that are likely to produce lots of output) such as investigating with the `aws` CLI, using the `gh` CLI, digging through logs to `Bash` sub-agents. 

You should use separate sub-agents for separate tasks, and you may launch them in parallel - but do not delegate multiple tasks that are likely to have significant overlap to separate sub-agents.

IMPORTANT: if the user has already given you a task, you should proceed with that task using this approach. 

If you have not already been explicitly given a taks, you should ask the user what task they would like for you to work on - do not assume or begin working on a ticket autoatically.
