Getting Started
This guide walks you through enabling agent teams, installing the topology configs, and running your first topology.
Prerequisites
You need Claude Code installed and running.
Agent teams are experimental. They’re disabled by default. Enable them by adding the following to your Claude Code settings or exporting the environment variable:
{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }See the official agent teams documentation for setup details and known limitations.
Install the configs
Clone this repo and copy the .claude/ directory into your project:
git clone https://github.com/eirwin/agent-team-topologies.git
cp -r agent-team-topologies/.claude/ your-project/.claude/
Already have a
.claude/directory? Merge instead of overwriting. Copyagents/,skills/, andhooks/individually so you don’t clobber your existing settings or instructions:cp -r agent-team-topologies/.claude/agents/ your-project/.claude/agents/ cp -r agent-team-topologies/.claude/skills/ your-project/.claude/skills/ cp -r agent-team-topologies/.claude/hooks/ your-project/.claude/hooks/
What you get
- 6 agent definitions – explorer, security reviewer, performance reviewer, test reviewer, architect, implementer
/topologyskill – interactive chooser that recommends a topology based on your goal- Hook scripts – quality gates and idle summary enforcement
What’s in .claude/
.claude/
├── agents/
│ ├── explorer.md # Read-only codebase discovery
│ ├── security-reviewer.md # OWASP-informed security review
│ ├── perf-reviewer.md # Performance analysis
│ ├── test-reviewer.md # Test coverage & correctness
│ ├── architect.md # Plan-mode architecture design
│ └── implementer.md # Focused code execution
├── skills/
│ └── topology/
│ └── SKILL.md # /topology interactive chooser
└── hooks/
├── quality-gate.sh # Block task completion if tests/lint fail
├── idle-summary.sh # Require structured summary before idle
└── README.md # Hook installation guide
Configure hooks
The hook scripts need to be executable:
chmod +x your-project/.claude/hooks/*.sh
Then register them in your Claude Code settings. See .claude/hooks/README.md for detailed installation and configuration instructions.
Run your first topology
The fastest way to get started is the /topology skill. Run it inside Claude Code:
/topology
It walks you through the decision tree and outputs a ready-to-use spawn prompt for your chosen topology.
Next steps
| Guide | What you’ll learn |
|---|---|
| Mental Model | Teams vs subagents, core concepts, selection heuristics |
| Composing Topologies | Recipes for chaining, nesting, and combining patterns |
| Cost Guide | Token economics by topology, cost reduction strategies |
| Best Practices | Operational guidance for running agent teams |