agentleFS
travisjneumantravisjneuman/.claude/skills/agent-teams/SKILL.md

agent-teams

Skill101 starsChanged 9 months agoMITView on GitHub

Team composition knowledge for Claude Code Agent Teams - when teams fit, optimal sizing, spawn prompt patterns. Use only when the user has explicitly enabled agent teams for the session.

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do NOT suggest agent teams when:

    line 23
  2. Distinctive:

    Every spawn prompt should include:

    line 64
  3. Very specific:

    Always use --teammate-mode auto (default) for automatic detection

    line 76

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “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
SKILL.md

Agent Teams Composition Skill

You have expertise in composing and orchestrating Claude Code Agent Teams. Use this knowledge when the user's task would benefit from parallel multi-session work.

Agent teams are off by default. Use them only when the user explicitly started the session with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1; otherwise use ordinary subagents, and don't propose teams unprompted.

When Agent Teams Fit

With teams enabled, they fit when:

  • The user asks for comprehensive code review (suggest 3-reviewer team)
  • The task involves work across multiple layers (frontend + backend + database)
  • The user describes a bug with unclear root cause (suggest competing hypothesis investigation)
  • The user wants to evaluate multiple technologies or approaches (suggest research panel)
  • The task can be clearly split into independent, file-separated workstreams

Do NOT suggest agent teams when:

  • The task is sequential or involves same-file edits
  • A single session or subagent would suffice
  • The coordination overhead would exceed the benefit
  • The user is on a tight token budget

Team Templates

Full Review (3 teammates)

Security reviewer + Performance reviewer + Correctness reviewer (edge cases, error paths, callers). Each reviews independently, then lead synthesizes findings.

Feature Dev (3 teammates)

Architect (plan approval required) + Implementer + Reviewer. Architect plans first, implementer follows, reviewer validates the diff by review.

Debug Squad (3-5 teammates)

Each teammate investigates a different hypothesis. Adversarial debate structure -- teammates challenge each other's theories.

Cross-Platform (3 teammates)

iOS developer + Android developer + Shared architect. Each platform teammate owns their own directory. Architect coordinates API contracts.

Full-Stack (3 teammates)

Frontend + Backend + Database. Clear file ownership per layer. Coordinate on API contracts first.

Research Panel (3 teammates)

Simplicity advocate + Performance advocate + Devil's advocate. Each evaluates from a different perspective, then synthesize.

Spawn Prompt Formula

Every spawn prompt should include:

  1. Role: "You are the [role] teammate responsible for [domain]"
  2. Files: "You own files in [directories]. Do not modify files outside your scope."
  3. Focus: "Specifically look for / implement [details]"
  4. Context: "[Project-specific information the teammate needs]"
  5. Deliverable: "Report your findings as [format] / Implement [specific output]"

Cross-Platform Awareness

  • macOS and Linux: full support (in-process + tmux split panes)
  • Windows: in-process mode only (automatic with auto setting)
  • Always use --teammate-mode auto (default) for automatic detection

Related Documentation

  • ~/.claude/docs/AGENT-TEAMS.md - Full guide with examples
  • ~/.claude/docs/reference/workflows/agent-teams.md - Decision framework
  • ~/.claude/commands/assemble-team.md - Quick team assembly command

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.