claude-agent-team
đ Fork
đ Quick Links
đ Project Details
- Primary Language: None
- Languages Used: Not specified
- License: None
- Created: April 05, 2026
- Last Updated: April 05, 2026
đ About
Claude Code Agent Team đ¤đī¸
A battle-tested agent team setup for Claude Code that turns a single AI session into a full engineering team â architect, reviewers, developer, tester, and a retrospective analyst that makes the team smarter after every session.
Setup Instructions (for Claude Code)
Point your Claude at this repo and tell it: "Read the README at
pranavprem/claude-agent-teamand follow the setup instructions to install agent teams on this machine."
Claude: follow these steps exactly.
Step 1: Copy Agent Personas
Copy all .md files (except README.md and CLAUDE.md) from this repo into ~/.claude/agents/. Create the directory if it doesn't exist.
~/.claude/agents/
âââ architect.md
âââ architecture-reviewer.md
âââ code-reviewer.md
âââ developer.md
âââ tester.md
âââ retrospective.md
Important: Do NOT overwrite any existing agent files. If an agent with the same name already exists, ask the user whether to replace or skip it.
Step 2: Append to CLAUDE.md (DO NOT REPLACE)
Read ~/.claude/CLAUDE.md if it exists. Append the contents of this repo's CLAUDE.md to the end of the existing file. Do not delete or modify any existing content.
If ~/.claude/CLAUDE.md does not exist, copy this repo's CLAUDE.md as-is.
Never replace an existing CLAUDE.md. Always append.
Step 3: Merge Settings
Read ~/.claude/settings.json if it exists. Merge these two settings into it:
- If
envalready exists, add theCLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMSkey to it - If
teammateModealready exists, overwrite it with"tmux" - Preserve all other existing settings
If ~/.claude/settings.json does not exist, create it with the contents of this repo's settings.json.
Step 4: Verify
Run claude --version to confirm Claude Code is installed and âĨ v2.1.32. Check that tmux is available. Report the results to the user.
Step 5: Done
Tell the user the setup is complete and show them the quick start guide below.
What's Inside
6 specialized agent personas that work together through Claude Code's agent teams feature:
| Agent | Role | Personality |
|---|---|---|
| architect | System Designer | 18yr Principal Architect (AWS/Netflix). Produces detailed design docs. |
| architecture-reviewer | Design + Conformance | 22yr Distinguished Engineer. Reviews designs AND validates implementations match. |
| developer | Implementer | 15yr Staff SWE. Clean, linted, well-commented code. Language-agnostic. |
| tester | Test Engineer | 16yr Principal SDET. Unit, integration, e2e, and security tests. |
| code-reviewer | Code Reviewer | 20yr Staff Engineer. Read-only. Security â correctness â performance â quality. |
| retrospective | Session Analyst | Extracts learnings and updates agent prompts, CLAUDE.md, and memory files. |
The main Claude session acts as team lead (manager), orchestrating the pipeline:
architect â arch-reviewer Ⲡâ developer â tester â code-reviewer Ⲡâ arch conformance â commit â retrospective
Prerequisites
- Claude Code v2.1.32+ (
claude --version) - tmux for split-pane display (recommended)
- macOS:
brew install tmux - Linux:
apt install tmux
Quick Start
# 1. Start tmux
tmux new -s dev
# 2. Navigate to your project
cd ~/your-project
# 3. Launch Claude Code
claude
# 4. Tell it to create a team
Prompt for full pipeline:
Simplified Variants
Architecture + Implementation (medium complexity):
Create an agent team. Task: [your task]
Spawn architect and developer. Architect designs, developer implements.
Implementation + Review (well-understood tasks):
Create an agent team. Task: [your task]
Spawn developer, tester, and code-reviewer.
Developer implements, tester writes tests, code-reviewer reviews.
Individual agents (quick tasks):
Use the code-reviewer subagent to review my recent changes
Use the architect to design the new auth module
The 8-Phase Pipeline
- Architecture â Architect produces a design document (components, data flow, API contracts, security, error handling)
- Architecture Review Ⲡâ Reviewer evaluates the design. Loop until approved.
- Implementation â Developer implements following the approved architecture
- Testing â Tester writes comprehensive tests (happy path, edge cases, errors, security)
- Code Review Ⲡâ Reviewer checks code. Loop with developer until approved.
- Architecture Conformance â Reviewer validates implementation matches the design
- Completion â Atomic commits, push
- Retrospective â Analyst extracts learnings, updates agent prompts & CLAUDE.md
tmux Navigation
With teammateMode: "tmux", each agent gets its own pane:
| Action | Command |
|---|---|
| Switch panes | Click (with mouse on) or Ctrl+B + arrow key |
| Jump to pane by number | Ctrl+B then q then number |
| Zoom/unzoom a pane | Ctrl+B then z |
| Show task list | Ctrl+T |
Tip: Enable mouse support:
Design Principles Baked In
Every agent has these principles embedded:
- Security first â validate input, parameterize queries, least privilege, never log secrets
- Clean code â self-documenting names, small functions, no dead code, DRY (rule of three)
- Meaningful comments â explain why, not what
- Typed errors â specific, actionable error messages
- Immutability by default â const/final/readonly everywhere
- Test behavior, not implementation â tests survive refactoring
- Lint and format always â follow the project's existing style
Customization
Modify agent personas
Edit files in ~/.claude/agents/. Each agent is a markdown file with YAML frontmatter:
---
name: architect
description: "System Architect. Designs scalable, secure architectures..."
tools: Read, Grep, Glob, Bash, Write, Edit, WebFetch, WebSearch
model: opus
---
You are a **Principal Software Architect**...
Change the model
Edit the model: field in each agent's frontmatter. Options: opus, sonnet, haiku, or inherit.
Cost optimization: Use opus for architect + code-reviewer (strongest reasoning), sonnet for developer + tester (good coding, cheaper).
Update the pipeline
Edit ~/.claude/CLAUDE.md to change the phase order, add phases, or modify management principles.
Add project-specific context
Create .claude/CLAUDE.md in your project root for project-specific conventions. Agents read both user-level and project-level CLAUDE.md.
How It Gets Smarter
The retrospective agent runs at the end of every session and:
- Analyzes what went right and wrong
- Classifies learnings as universal (all projects) or project-specific
- Updates agent prompts with new checklist items
- Updates CLAUDE.md with new standards
- Writes to memory files for future reference
Over time, your team evolves â common mistakes get caught earlier, patterns get codified, and each agent's instructions become more refined.
File Structure
claude-agent-team/
âââ README.md # This file (includes setup instructions for Claude)
âââ CLAUDE.md # Orchestration instructions (appended to existing)
âââ settings.json # Agent teams enabled + tmux mode
âââ architect.md # System architecture agent
âââ architecture-reviewer.md # Design review + conformance agent
âââ developer.md # Implementation agent
âââ tester.md # Test engineering agent
âââ code-reviewer.md # Code review agent
âââ retrospective.md # Session learning agent
Credits
Built by pranavprem with Neo đ
Inspired by: - Claude Code Agent Teams docs - Claude Code Sub-agents docs - Community patterns from awesome-claude-agents
âšī¸ Fork Information
This is a fork of another repository.