agentleFS
EIrwinEIrwin/agent-team-topologies/CLAUDE.md

agent-team-topologies

CLAUDE.md4 starsChanged 10 months agoMITView on GitHub

Reusable team topology patterns for Claude Code agent teams. This repo provides battle-tested configurations for structuring multi-agent collaboration -- each pattern describes a proven way to decompose work across parallel Claude Code instances. Use the /topology skill to interactively select the right pattern for your task: It will walk you through the decision tree and output a ready-to-use spawn prompt.

  • In this repositoryOne other file it gives its agents.

The file

We split this CLAUDE.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use the /topology skill to interactively select the right pattern for your task:

    line 7
  2. Very specific:

    When adding a new topology, create a directory under topologies/ and add an entry to topologies/index.md.

    line 55

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

Agent Team Topologies

Reusable team topology patterns for Claude Code agent teams. This repo provides battle-tested configurations for structuring multi-agent collaboration -- each pattern describes a proven way to decompose work across parallel Claude Code instances.

Quick start

Use the /topology skill to interactively select the right pattern for your task:

/topology

It will walk you through the decision tree and output a ready-to-use spawn prompt.

Repo structure

docs/                  Conceptual guides (mental model, decision tree, etc.)
topologies/            8 topology pattern cards with spawn prompts and examples
.claude/
  agents/              Agent definitions for working in this repo
  skills/topology/     Interactive topology selector skill
  hooks/               Hook definitions for quality-gated workflows
  settings.local.json  Project-level Claude Code permissions

Topologies

PatternBest for
Parallel ExplorersDiscovery, research, codebase mapping
Review BoardCode review with distinct lenses
Competing HypothesesAmbiguous bugs, architectural decisions
Feature PodCross-layer feature delivery
Risky RefactorHigh-risk changes needing plan approval
Orchestrator-OnlyPure coordination, lead never codes
Quality-GatedEnforcing completion standards (composable overlay)
Task QueueMany small independent tasks

Agent definitions

  • explorer -- Read-only codebase discovery specialist. Maps architecture, traces flows, identifies key files.
  • security-reviewer -- OWASP-informed security review. Categorizes findings as must-fix / should-fix / nice-to-have.
  • perf-reviewer -- Performance analysis. Algorithmic complexity, N+1 queries, memory, bundle size.
  • test-reviewer -- Test coverage and correctness. Coverage gaps, missing edge cases, test quality.
  • architect -- Plan-mode architecture design. Produces plans with rollback strategies. Does not implement.
  • implementer -- Focused code execution. Follows plans, tests before marking done.

For agents working in this repo

  • Pattern cards live in topologies/<pattern-name>/index.md. Each card follows a consistent structure: when to use, team shape, spawn prompt, and example walkthrough.
  • The /topology skill in .claude/skills/topology/ is the interactive entry point. It reads the decision tree and guides users to the right pattern.
  • Docs in docs/ are conceptual guides, not pattern cards. Keep them topology-agnostic.
  • Examples must be real walkthroughs, not hypothetical templates. Every example should include what actually happened, what went wrong, and concrete metrics (duration, tokens, cost).
  • When adding a new topology, create a directory under topologies/ and add an entry to topologies/index.md.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.