agents-team-builder
Skill0 starsChanged 4 months agoMITView on GitHub
Use to design and launch a Claude Code agent team (2–5 specialized agents that share a task list, talk peer-to-peer, work in parallel). Triggers — "build an agent team", "design a team of agents", "set up a Claude agent team", "I need a multi-agent crew", "create an agent team for X", "spin up a team of teammates", "build me a Claude team", or `/agents-team-builder`.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- GerardoRdz96/aios-starter-kitedited, first seen Jul 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- GerardoRdz96/aios-starter-kit★ 356% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- aegisSkill
- agent-builderSkill
- ai-applySkill
- auditSkill
- bottleneckSkill
- buildSkill
- capability-radarSkill
- clay-leadsSkill
- cowatchSkill
- deepforkSkill
- design-blueprintSkill
- evalSkill
- fable-modeSkill
- financesSkill
- forgeSkill
- framework-builderSkill
- grill-meSkill
- hooks-builderSkill
- level-upSkill
- loops-builderSkill
- meeting-hudSkill
- multi-brainSkill
- nate-watchSkill
- onboardSkill
- plugin-builderSkill
- ponytailSkill
- presentSkill
- prompt-evalSkill
- radar-harvestSkill
- rag-forgeSkill
- rlsgateSkill
- rnd-loopSkill
- rndSkill
- roastSkill
- routines-builderSkill
- servy-routineSkill
- session-handoffSkill
- skill-builderSkill
- skill-harvestSkill
- sparkSkill
- storm-researchSkill
- studySkill
- talkSkill
- taste-skillSkill
- verify-loopSkill
- verify-specificsSkill
- wheel-of-lifeSkill
- workanaSkill
- workaround-builderSkill
- workflow-builderSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Don't ask "what team do you want to build?" yet.
- Very specific: line 26
If the chosen option is not agent team, stop here and explain *why* (one-liner from references/claude-code-agent-teams.md § "When to use — …
- Very specific: line 30
Read .claude/settings.local.json and verify env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS == "1".
- Very specific: line 37
Verify Claude Code version is ≥ v2.1.32 (!claude --version).
- Distinctive: line 41
Ask via AskUserQuestion. Do NOT batch all rounds — one round per AskUserQuestion call so Gera focuses.
- Distinctive: line 53
Ask Gera to define each role.
- Distinctive: line 77
Run these checks on the answers.
- Distinctive: line 90
Step 1 — Name the team: Ask Gera for a kebab-case team name (default: derive from the goal, e.g., "landing-page-build" or "research-trio").
- Distinctive: line 178
3 is the sweet spot: When in doubt, recommend 3.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/agents-team-builder
Builds Claude Code agent teams: 2–5 specialized agents that share a task list, talk to each other peer-to-peer, and work in parallel. Sibling of /skill-builder, /agent-builder, /routines-builder, /servy-routine — that family picks the mechanism and walks the discovery; this one is the agent-teams specialist. It runs a four-part discovery interview (goal, team, roles, deliverables), enforces Nate's do/don't gates, saves a rerunnable template to .claude/teams/<name>.md, and ends with a paste-ready invocation prompt + tmux observability tip. The full primer is references/claude-code-agent-teams.md — re-read it once if you haven't loaded it this session.
Phase 0 — Source check (silent)
Confirm references/claude-code-agent-teams.md exists. If not, stop and tell Gera: "Source knowledge references/claude-code-agent-teams.md is missing — re-ingest the agent-teams video before continuing." Don't try to build without the source.
Phase 1 — Decision gate (mandatory)
Don't ask "what team do you want to build?" yet. First confirm this should even be a team. Ask Gera one AskUserQuestion summarizing the task he wants done, with these options:
- Agent team — multiple specialized areas, parallel + reactive, quality matters (multi-pass review). Proceed.
- Sub-agents (no team) — independent parallel work, no peer comms needed. Tell Gera to just ask Claude to spin sub-agents; don't team.
- Dynamic workflow (
workflows) — wide fan-out (10s–100s agents), no peer comms. Refer toreferences/claude-code-workflows.md. /goalloop — depth not width; run until criteria met. Refer Gera there.- Just-ask — simple one-shot. Don't fire anything; suggest he just ask Claude.
If the chosen option is not agent team, stop here and explain why (one-liner from references/claude-code-agent-teams.md § "When to use — and when NOT to"). Do not proceed.
Phase 2 — Enablement check
Read .claude/settings.local.json and verify env.CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS == "1".
- If set: confirm to Gera "Agent teams enabled at project level — good." and move on.
- If missing: tell Gera "Agent teams require the
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1env var. May I add it to.claude/settings.local.json?" On yes, add theenvblock (or add the key to an existingenvblock). On no, stop and tell him the feature won't fire without it.
Also remind Gera: the env var only applies to NEW Claude Code sessions. If you just added it, he needs to launch a fresh claude session before the team can run. The skill can still build the prompt + save the template right now — they're persistent artifacts.
Verify Claude Code version is ≥ v2.1.32 (!claude --version). If not, stop.
Phase 3 — Discovery Interview
Ask via AskUserQuestion. Do NOT batch all rounds — one round per AskUserQuestion call so Gera focuses. If Gera supplied a one-line goal as an argument or in his trigger message, skip Round A's goal question and just confirm.
Round A — Goal + team size + model
One AskUserQuestion with three questions:
- Goal (free-form via "Other") — "What's the end deliverable in one sentence?" Provide 0 canned options; require Gera to type it.
- Team size — options: 2 / 3 / 4 / 5. Recommended: 3 ("Nate's sweet spot — enough specialization, not too expensive").
- Model — options: Haiku / Sonnet (Recommended) / Opus. Sonnet is the right default cost/quality trade for most teams.
Round B — Roles (the heart of the build)
Ask Gera to define each role. ONE AskUserQuestion per teammate (so up to 5 rounds). For each:
- Role name — free-form (e.g., "Frontend dev", "QA agent", "Researcher", "Critic").
- Job + outputs — free-form: "What does this teammate do, and what concrete file(s) do they produce?"
- Owns these files — free-form: list of file paths/globs this teammate is the sole writer for.
- Talks to — free-form: which other role(s) by name does this teammate message?
Track answers in a scratch table:
| # | Role | Job | Outputs | Files owned | Talks to |
Round C — Final deliverables + approval mode
One AskUserQuestion with two questions:
- Final deliverables — free-form bullet list. What does the human see at the end? (a running app? a PR? a test report? a doc?)
- First-run approval mode — options:
- Human approves every teammate's plan (Recommended) — safest first run; relax later.
- Main session approves teammate plans — lower friction; the orchestrator is the gatekeeper.
- One teammate is the plan reviewer — specialist pattern; pick which role in the next message.
Phase 4 — Validation gates (block on red)
Run these checks on the answers. Red = block and ask Gera to fix. Yellow = warn but proceed.
| Gate | Check | If red |
| Team size | 2 ≤ N ≤ 5 | Block. Tell Gera why (cost scales linearly; 10+ is 10× more expensive). |
| File ownership | Every teammate has at least one file/glob nobody else writes | Block. Show the overlap. |
| Recipients named | Every teammate that produces a handoff names the recipient | Block. Show the unnamed handoffs. |
| Deliverables concrete | At least one deliverable is a file path or runnable artifact — not "summary" / "ideas" | Block. Ask for a concrete artifact. |
| Goal one-line | Goal is ≤ 200 chars and starts with a verb | Yellow. Trim if longer. |
| Approval mode picked | Phase 3 Round C answered | Block. |
Phase 5 — Generate the artifact
Step 1 — Name the team. Ask Gera for a kebab-case team name (default: derive from the goal, e.g., "landing-page-build" or "research-trio"). This is the file slug.
Step 2 — Write the saved template to .claude/teams/<team-name>.md. Use this exact structure:
# Agent Team: <Team Name>
**Goal:** <one-line goal>
**Created:** <YYYY-MM-DD>
**Status:** ready / re-firable
**First-run approval mode:** <Human-approves | Main-approves | Reviewer-teammate>
## Invocation prompt (paste into a fresh Claude session)
GOAL: <goal>
Create a team called <team-name> of <N> teammates using <model>:
1. <Role 1> — <job + outputs>. Owns: <files>. Talks to: <recipients>.
2. <Role 2> — <job + outputs>. Owns: <files>. Talks to: <recipients>.
3. <Role 3> — <job + outputs>. Owns: <files>. Talks to: <recipients>.
[...continue for N teammates]
Final deliverables:
- <deliverable 1>
- <deliverable 2>
- <deliverable 3>
Approval mode: <approval-mode-instruction>
## Notes
- Each teammate inherits the orchestrator's permissions, MCPs, skills, and project files. No conversation history is passed — context is the prompt above.
- For real per-agent visibility, run in tmux (not VS Code) — see `references/claude-code-agent-teams.md` § "Where you actually see them work".
- To re-fire this team later: open a fresh Claude session in this repo, then paste the "Invocation prompt" block above.Step 3 — Update .claude/teams/index.md (create if missing). One-line entry per team:
- [<team-name>](<team-name>.md) — <one-line goal> · created <YYYY-MM-DD>Step 4 — If Phase 2 had to set the env var, remind Gera one more time: "Restart your Claude Code session before firing this team — the env var only applies to new sessions."
Phase 6 — Output to chat (the paste-ready brief)
In the chat, output exactly this block (substitute real values):
## Agent team ready: <team-name>
Saved template: `.claude/teams/<team-name>.md`
Re-fire later by pasting that file's invocation prompt into a fresh session.
### To run now
1. (If env var was just added) Restart Claude Code in this directory.
2. Open a fresh `claude` session — ideally inside tmux for per-agent visibility:tmux new -s team claude
3. Paste the invocation prompt from `.claude/teams/<team-name>.md`.
4. First run: keep the human-approval mode on; switch to main-approves once the pattern is working.
### Cost reality
Each teammate is a full Claude session. <N> teammates ≈ <N>× the cost of one. Watch the
session limit on first runs; stop early if a teammate goes off-track (the tmux split-pane view
makes this catch easy).
### Reference
- Full primer: `references/claude-code-agent-teams.md`
- Ladder context (vs sub-agents / workflows / /goal): `references/claude-code-workflows.md`Phase 7 — Log
Append one line to references/log.md:
## [<YYYY-MM-DD>] create | Agent team — <team-name>
Built via `/agents-team-builder`. Goal: <goal>. <N> teammates on <model>. Saved at `.claude/teams/<team-name>.md`. First-run approval mode: <mode>.Notes / discipline
- Don't pre-fill role definitions. The skill must walk Gera through each role even if he wants to rush. Pre-filled roles are how teams get bad file-ownership and overlap.
- Don't fire the team for him. This skill builds the prompt and saves the template. Gera fires the team manually in a fresh session. The separation matters: build = cheap (just text); fire = expensive (N parallel Claude sessions).
- Don't bypass the decision gate. "Just-ask" is a valid outcome; many tasks Gera asks about with team language are actually sub-agent or just-ask jobs.
- 3 is the sweet spot. When in doubt, recommend 3.
- Skill stays under 500 lines. Detailed examples and the full primer live in
references/claude-code-agent-teams.md. - Cost discipline: Tell Gera before Phase 5 that this team will be ~N× a single-Claude session. He should know before he saves the template.
Related
references/claude-code-agent-teams.md— the source primer.references/claude-code-workflows.md— the orchestration ladder this fits on..claude/skills/skill-builder/SKILL.md,agent-builder/SKILL.md,routines-builder/SKILL.md,servy-routine/SKILL.md— sibling builders.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

