agentleFS
mo-cmykmo-cmyk/mazarbul/.claude/skills/team/SKILL.md

team

Skill2 starsChanged 35 days agoApache-2.0View on GitHub

Spawn an Agent Team , multiple Claude Code instances coordinated by this Lead session, sharing a task list, messaging each other directly. USE WHEN user says "spawn a team", "get a team on this", "multi-agent on this", "design discussion", "second opinion", "competing hypotheses", "multiple theories", or "explore X with multiple perspectives". The generic entry point , picks a roster + phase automatically from natural language. NOT FOR feature implementation (use /plan-feature), architecture from business case (use /architect), or large refactors (use /complex-refactor).

56 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use community-led-growth, ph-community-outreach and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • nicepkgSkill

    community-led-growth

    Expert in community-led growth (CLG) - leveraging user communities to drive acquisition, retention, and expansion. Covers building developer communities, user groups, ambassador programs, and turning customers into advocates. Knows the difference between community as a feature vs community as a growth engine, and how to measure community ROI. Use when "community-led, CLG, ambassador program, champion program, user community, developer community, word of mouth, user group, " mentioned.

    Also in 5 projects that use this

  • nicepkgSkill

    ph-community-outreach

    Engage Reddit, Indie Hackers, Hacker News and other communities for Product Hunt launches. Use this skill to identify relevant communities, craft appropriate posts, and drive cross-platform engagement without appearing spammy.

    Also in 5 projects that use this

  • Jurel89Skill

    ultraqa

    QA cycling loop — build/lint/test, fix, retry up to 5 cycles

    Also in 5 projects that use this

  • ibahgatSkill

    ralplan

    Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.

    Also in 9 projects that use this

  • mastepanoskiSkill

    ux-audit-rethink

    Comprehensive UX audit using IxDF's 7 factors, 5 usability characteristics, and 5 interaction dimensions. Holistic evaluation with redesign proposals based on user-centered design principles.

    Also in 5 projects that use this

  • ncklrsSkill

    seo-content-strategist

    Expert SEO content strategy for SaaS and B2B sites. Use when doing keyword research, planning content clusters, creating pillar pages, optimizing on-page SEO, fixing technical SEO issues, building links, refreshing content, implementing programmatic SEO, mapping search intent, optimizing for SERP features, or measuring content performance. Use for SEO audits, content gap analysis, and organic growth strategy.

    Also in 5 projects that use this

  • +6 more from nicepkg

The file

We split this skill into the rules it gives an agent

12 rules. 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the prompt is ambiguous, ask the user once: "Sounds like a [design/review/implement/debug] team , confirm?"

    line 34
  2. Distinctive:

    3 teammates: default. Balances debate with manageable coordination.

    line 38
  3. Very specific:

    4 teammates: when a clearly distinct fourth perspective is needed (e.g.

    line 39
  4. Distinctive:

    5 teammates: only for adversarial debugging with genuinely competing hypotheses.

    line 40
  5. Distinctive:

    Never spawn 1 teammate (use a subagent).

    line 42
  6. Distinctive:

    Use Shift+Down to cycle through teammates and message any directly.

    line 65
  7. Distinctive:

    Use Ctrl+T to toggle the shared task list.

    line 66
  8. Distinctive:

    Use Shift+Tab (Delegate Mode) to restrict the Lead to coordination-only tools , recommended for teams of 4+.

    line 67
  9. Distinctive:

    Wait for teammates to finish (per docs: "If the lead starts implementing tasks itself, tell it 'wait for teammates'").

    line 68
  10. Very specific:

    When done, say "clean up the team".

    line 72
  11. Very specific:

    By module: when refactoring, one teammate per module (use /complex-refactor --worktree instead , that's the right skill).

    line 79
  12. Very specific:

    If a partition isn't clean, use --worktree to give each teammate their own worktree (Boris pattern).

    line 82

“Common” is measured: kept by at least 6 in 10 of the 41 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

The natural-language entry point to Claude Code's experimental Agent Teams feature. The team you spawn here is a peer team , teammates share a task list, claim work, message each other, debate. Distinct from subagents (which only report back to the Lead).

When to use teams vs subagents vs a single session

SituationUse
Single focused task, result returns to yousubagent (Agent tool)
Multiple workers, results return to youseveral parallel subagents
Multiple workers who need to debate, challenge each other, converge through dialogueAgent Team (this skill)
Cross-layer feature spanning proto + backend + frontend simultaneouslyAgent Team + /plan-feature
Routine implementation, sequentialsingle session

Token cost scales linearly with teammate count (each is a full Claude Code instance). 3–4 teammates is the sweet spot per Anthropic's docs.

Steps

Phase 1 , Pick the phase

Identify what kind of team this is from the user's prompt:

PhaseIndicators in promptDefault roster
Design"design", "second opinion", "explore", "what should we build", "tradeoffs"3 from product-manager, system-architect, ux-designer, ui-designer, operator-advocate, data-engineer, devils-advocate
Review"review", "audit", "multi-angle", "security check", "perf check"3 lens reviewers: security-engineer, qa-engineer, backend-engineer (or ui-designer if web-heavy)
Implement"build X", "implement Y", "parallel implementation"2–4 surface specialists: @golang-service-developer, @frontend-developer, @protocol-schema-architect, @quality-assurance-engineer
Debug"competing hypotheses", "multiple theories", "why is X failing", "we've been stuck"3–5 adversarial investigators , spawn from backend-engineer, sre-engineer, data-engineer, security-engineer, devils-advocate. Prompt each: "try to disprove each other's theories, like a scientific debate"

If the prompt is ambiguous, ask the user once: "Sounds like a [design/review/implement/debug] team , confirm?"

Phase 2 , Pick roster size + size

  • 3 teammates: default. Balances debate with manageable coordination.
  • 4 teammates: when a clearly distinct fourth perspective is needed (e.g. add devils-advocate to a 3-person design discussion).
  • 5 teammates: only for adversarial debugging with genuinely competing hypotheses.

Never spawn 1 teammate (use a subagent). Never spawn 6+ (coordination overhead dominates).

Phase 3 , Spawn

Tell the team-spawn prompt clearly:

  • Each teammate's name (so we can reference them in later prompts)
  • Each teammate's role (the persona file name from .claude/agents/)
  • The shared task or question
  • Any task-specific context the teammate won't have from CLAUDE.md

Example spawn prompt:

"Spawn a 4-teammate design team for adding new event-kind categories:

  • lenny from product-manager: anchor the business case + scope cut
  • archie from system-architect: anchor the technical structure + ADR
  • tui from tui-developer: anchor the terminal user's perspective
  • dee from devils-advocate: challenge every assumption

Question: should resolution categories be operator-chosen, system-derived, or hybrid? Synthesize a recommendation."

Claude Code's Agent Teams machinery handles the rest: tmux-CC split panes (auto-detected from iTerm2 via the project's teammateMode: "tmux"), shared task list, mailbox.

Phase 4 , Coordinate

  • Use Shift+Down to cycle through teammates and message any directly.
  • Use Ctrl+T to toggle the shared task list.
  • Use Shift+Tab (Delegate Mode) to restrict the Lead to coordination-only tools , recommended for teams of 4+.
  • Wait for teammates to finish (per docs: "If the lead starts implementing tasks itself, tell it 'wait for teammates'").

Phase 5 , Clean up

When done, say "clean up the team". The Lead checks for active teammates, asks them to shut down gracefully, then tears down the shared resources. If anything leaks, run make claude-clean from a fresh shell.

File partitioning to avoid conflicts

The docs warn: two teammates editing the same file overwrite each other. Default partitions:

  • By surface: kernel → internal/kernel/**; MCP → internal/mcp/**; CLI → internal/cli/**, cmd/**; TUI → internal/tui/**; tests → *_test.go.
  • By module: when refactoring, one teammate per module (use /complex-refactor --worktree instead , that's the right skill).
  • Read-only: discussion personas (product-manager, devils-advocate, ux-designer, etc.) don't have Edit/Write , partition naturally.

If a partition isn't clean, use --worktree to give each teammate their own worktree (Boris pattern). For most teams, surface-based partition is enough.

Gotchas

  • In-process mode resumption: /resume and /rewind do NOT restore in-process teammates. If you resume a session that had a team, the team is gone , re-spawn from scratch.
  • One team per session: a Lead can manage only one team at a time. Clean up before starting a new one.
  • No nested teams: teammates cannot spawn their own teams. Only the Lead can.
  • Lead model is fixed: the session that created the team is the Lead for its lifetime. To change Lead model, abort and restart.
  • Auto-cleanup is informational only: the TeammateIdle hook (.claude/hooks/teammate-idle-cleanup.sh) reports state but never tears down , that's user-driven.

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.