team-composition-patterns

team-composition-patterns is a skill for Claude Code from wshobson/agents. It costs 114 tokens per session (1,750 once invoked), scanned B, original, MIT.

Guidance for choosing and organizing teams of coding agents, including team size, roles, and how agents work together.

In plain words
What is it for?
It is for setting up review, feature, or debugging teams, selecting agent roles, and choosing how agents are displayed and coordinated.
Why use it?
It reduces guesswork when deciding how many agents a task needs and what each agent should do.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the agent-teams plugin — 6 skills, 7 commands, 4 agents shipped together

Good fit It is for setting up review, feature, or debugging teams, selecting agent roles, and choosing how agents are displayed and coordinated.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wshobson/agents/team-composition-patterns
About the project

Agentic Plugin Marketplace is a collection of reusable plugins, agents, skills, commands, and rules for coding-agent tools including Claude Code, Codex CLI, Cursor, OpenCode, Antigravity CLI, and GitHub Copilot. It is for developers assembling agentic workflows across multiple harnesses from shared Markdown sources, and the catalogue entries are examples or subsets of those workflow components.

wshobson/agents · 43,064 stars · on GitHub · sethhobson.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wshobson/agents --skill team-composition-patterns
Clone the repo
git clone --depth 1 https://github.com/wshobson/agents

Made for: Claude Code.

Or install agent-teams, the plugin that ships this one along with the rest of its 6 skills, 7 commands, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for team-composition-patterns

README.md
[![agentmods](https://agentmods.dev/badge/skills/wshobson/agents/team-composition-patterns/github.svg)](https://agentmods.dev/skills/wshobson/agents/team-composition-patterns)
Your own site
<a href="https://agentmods.dev/skills/wshobson/agents/team-composition-patterns"><img src="https://agentmods.dev/badge/skills/wshobson/agents/team-composition-patterns/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for team-composition-patterns

Your own site · 80×15
<a href="https://agentmods.dev/skills/wshobson/agents/team-composition-patterns"><img src="https://agentmods.dev/badge/skills/wshobson/agents/team-composition-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,750 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 14 Sept 2026
  • Snyk pass 14 Sept 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Agent Snooping · line 97
    Skill reads from agent configuration directories (.claude/, .codex/, .gemini/). These directories may contain API keys, personal settings, and other credentials that the skill has no legitimate need to access.
    Fix: Remove all code or instructions that access agent configuration directories (.claude/, .codex/, .gemini/). If configuration values are needed, pass them explicitly as parameters or environment variabl
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00114 $0.01750
Opus 5.5 $0.00046 $0.00700
Sonnet 5.5 $0.00023 $0.00350
Haiku 4.5 $0.00011 $0.00175

Measured 3mo ago against content hash e158dd0e38d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

team-composition-patterns scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Configure in `~/.claude/settings.json`:
plugins/agent-teams/skills/team-composition-patterns/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Team Composition Patterns

Best practices for composing multi-agent teams, selecting team sizes, choosing agent types, and configuring display modes for Claude Code's Agent Teams feature.

When to Use This Skill

  • Deciding how many teammates to spawn for a task
  • Choosing between preset team configurations
  • Selecting the right agent type (subagent_type) for each role
  • Configuring teammate display modes (tmux, iTerm2, in-process)
  • Building custom team compositions for non-standard workflows

Team Sizing Heuristics

Complexity Team Size When to Use
Simple 1-2 Single-dimension review, isolated bug, small feature
Moderate 2-3 Multi-file changes, 2-3 concerns, medium features
Complex 3-4 Cross-cutting concerns, large features, deep debugging
Very Complex 4-5 Full-stack features, comprehensive reviews, systemic issues

Rule of thumb: Start with the smallest team that covers all required dimensions. Adding teammates increases coordination overhead.

Preset Team Compositions

Review Team

  • Size: 3 reviewers
  • Agents: 3x team-reviewer
  • Default dimensions: security, performance, architecture
  • Use when: Code changes need multi-dimensional quality assessment

Debug Team

  • Size: 3 investigators
  • Agents: 3x team-debugger
  • Default hypotheses: 3 competing hypotheses
  • Use when: Bug has multiple plausible root causes

Feature Team

  • Size: 3 (1 lead + 2 implementers)
  • Agents: 1x team-lead + 2x team-implementer
  • Use when: Feature can be decomposed into parallel work streams

Fullstack Team

  • Size: 4 (1 lead + 3 implementers)
  • Agents: 1x team-lead + 1x frontend team-implementer + 1x backend team-implementer + 1x test team-implementer
  • Use when: Feature spans frontend, backend, and test layers

Read the full file on GitHub · 142 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 142 lines · 114 tokens per session scan B e158dd0e38d8

Subscribe to this mod's changes

team-composition-patterns is a skill published in the GitHub repository wshobson/agents (43,064 stars, last pushed 5d ago), licensed MIT. It adds 114 tokens to every session and 1,750 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

team-composition-patterns compared with skills from other repositories

team-composition-patterns next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
team-composition-patternswshobson/agentsSkill43k5d agoMITB114Claude Code
9router-web-fetchdecolua/9routerSkill33k7d agoMITA67Claude Code, Codex
9router-sttdecolua/9routerSkill33k7d agoMITA63Claude Code, Codex
9router-embeddingsdecolua/9routerSkill33k7d agoMITA66Claude Code, Codex
provider-model-refreshcalesthio/OpenMontageSkill84k14d agoAGPL-3.0A26Claude Code, Codex
visualizecode-yeongyu/oh-my-openagentSkill71ktodaynoneA50Claude Code, Codex
dex-obsidian-setupdavekilleen/DexSkill5226d agoMITA68Claude Code, Codex