# Subagent Orchestrator

Orchestrate sub-agents to accomplish complex long-horizon tasks without losing...

- Repository: https://github.com/humanlayer/humanlayer (12740 stars)
- Category: AI and agents
- License: Apache-2.0
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add humanlayer/humanlayer --skill subagent-orchestrator -g -a claude-code -y`
Codex: `npx skills add humanlayer/humanlayer --skill subagent-orchestrator -g -a codex -y`
Cursor: `npx skills add humanlayer/humanlayer --skill subagent-orchestrator -g -a cursor -y`
Gemini CLI: `npx skills add humanlayer/humanlayer --skill subagent-orchestrator -g -a gemini-cli -y`

## Description

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

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

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.
