1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134 | # Setup
This repo is three plain-text subagent definitions for Claude Code (`agents/orchestrator.md`, `agents/worker.md`, `agents/advisor.md`). There is no application code, no build step, and nothing to compile. Setup means: install Claude Code, then copy three files into a folder.
## What you need
| Requirement | Why | Have it already? |
|---|---|---|
| A terminal (macOS Terminal, Windows PowerShell, or Linux shell) | To run the install command and the `cp`/`copy` step | Check by opening it |
| Claude Code CLI | This repo's files are Claude Code subagent definitions โ they only do anything inside a Claude Code session | Run `claude --version` |
| An Anthropic account (Claude.ai login, or an Anthropic Console API key) | Claude Code needs to authenticate to run any model at all | You'll be prompted on first `claude` launch if you don't have one |
| git (to clone this repo) | To get the files onto your machine | Run `git --version` |
| **NOT needed:** Docker | Nothing here runs in a container | โ |
| **NOT needed:** GPU | These are text prompt files, not models | โ |
| **NOT needed:** Python, Node project deps, `pip install`, `npm install` in this repo | The repo has no `requirements.txt` / `package.json` โ the only npm install is for the Claude Code CLI itself, a global tool, not a project dependency | โ |
| **NOT needed:** any paid API key of your own for this repo's content | The three `.md` files are static prompts with no code that calls an API; you only need whatever Claude Code subscription/API access you already use for Claude Code itself | โ |
## Install, step by step
### 1. Install git (skip if `git --version` already prints a version)
macOS (Homebrew):
```bash
brew install git
```
If you don't have Homebrew yet:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
Windows (PowerShell, using winget):
```powershell
winget install --id Git.Git -e --source winget
```
Linux (Debian/Ubuntu):
```bash
sudo apt-get update && sudo apt-get install -y git
```
Check it worked:
```bash
git --version
```
Expected output: something like `git version 2.x.x`.
### 2. Install Claude Code (skip if `claude --version` already prints a version)
macOS / Linux:
```bash
curl -fsSL https://claude.ai/install.sh | bash
```
Windows (PowerShell):
```powershell
irm https://claude.ai/install.ps1 | iex
```
Alternative for any OS with Node.js 18+ already installed:
```bash
npm install -g @anthropic-ai/claude-code
```
Check it worked:
```bash
claude --version
```
Expected output: a version string, e.g. `1.x.x (Claude Code)`.
### 3. Clone this repo
```bash
git clone <this-repo-url> orchestrator-agents
cd orchestrator-agents
```
Check it worked:
```bash
ls agents/
```
Expected output:
```
advisor.md orchestrator.md worker.md
```
### 4. Copy the agent files into your Claude Code global agents directory
macOS / Linux:
```bash
mkdir -p ~/.claude/agents
cp agents/*.md ~/.claude/agents/
```
Windows (PowerShell):
```powershell
New-Item -ItemType Directory -Force -Path "$HOME\.claude\agents" | Out-Null
Copy-Item .\agents\*.md "$HOME\.claude\agents\"
```
Check it worked:
```bash
ls ~/.claude/agents | grep -E "orchestrator|worker|advisor"
```
Expected output:
```
advisor.md
orchestrator.md
worker.md
```
## Configure
Nothing to configure. There are no environment variables, config files, or secrets in this repo โ the `.md` files are the entire product. The only account interaction is the normal Claude Code login/authentication you already do to use `claude` at all (handled by the `claude` CLI itself on first run, not by anything in this repo).
If you want to point the agents at different models than the frontmatter ships with (`model: sonnet` in `worker.md`, `model: fable` in `orchestrator.md` and `advisor.md`), edit those lines directly in `~/.claude/agents/*.md` after copying โ see the README's "Make it your own" section.
## Run it
1. Start (or restart) a Claude Code session anywhere on your machine:
```bash
claude
```
2. Inside the session, invoke one of the subagents by name, for example:
```
@worker rename the variable `foo` to `bar` in src/app.js
```
Success looks like: Claude Code recognizes `@worker` (or `@orchestrator`, `@advisor`) as a known subagent โ it responds in that agent's voice/role instead of saying it doesn't recognize the name. If you started your session before copying the files, exit (`Ctrl+D` or `/exit`) and run `claude` again so it picks up the new agents.
## Troubleshooting
1. **`claude: command not found`** โ the installer didn't add it to your `PATH`, or your shell hasn't reloaded. Close and reopen your terminal, or run `source ~/.zshrc` (macOS default shell) / `source ~/.bashrc`, then retry `claude --version`.
2. **`@worker` / `@orchestrator` / `@advisor` not recognized inside a session** โ the files aren't in the right place, or the session started before you copied them. Confirm with `ls ~/.claude/agents/` (macOS/Linux) or `dir $HOME\.claude\agents` (Windows), then start a brand new `claude` session โ subagents are loaded at session start, not live-reloaded.
3. **Claude Code prompts for login / says you're not authenticated** โ this is unrelated to this repo; it's your Claude Code account setup. Run `claude` and follow the on-screen login prompt (Claude.ai account or Anthropic Console API key), then retry.
|