Claude architecture: orchestrator + subagents
A 'chief' (orchestrator) delegates to subagents; each subagent runs in its own isolated context window.
In Claude Code a skill is made of the orchestrator (chief) that runs the main conversation, plus the subagents it calls on demand.
- The orchestrator is the main Claude talking to the user. It splits the task and delegates to the right subagent.
- Each subagent is a separate Markdown file:
.claude/agents/<name>.md. It has its own system prompt, its own tool access, and its own permissions. - The critical point: each subagent runs in its own context window. The search/log/file noise it produces never floods the main conversation — the subagent only returns its summary. This is the real way you keep context clean.
The orchestrator decides which subagent to call, and when, by reading the subagent's description. So the description isn't marketing — it's a trigger.
In this editor the master node is the orchestrator and a sub node is one subagent file.
