team-forming

team-forming is a skill for Claude Code from radumarias/xorio-claude-plugin. It costs 185 tokens per session (9,875 once invoked), scanned A, original, MIT.

A tool that assembles a group of coding agents for one task and assigns them roles such as exploration, architecture, planning, or implementation. An agent team is a set of specialized agents working on the same task.

In plain words
What is it for?
Use it to form and coordinate an agent team for a task, optionally choosing roles, a team identifier, planning, exploration, and review settings.
Why use it?
It helps divide a larger coding task into coordinated pieces and gives the work an initial codebase investigation and technical plan. The exact team depends on the selected roles and options.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the xorio plugin — 9 skills, 10 commands, 4 agents, 2 hooks shipped together

Good fit Use it to form and coordinate an agent team for a task, optionally choosing roles, a team identifier, planning, exploration, and review settings.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add radumarias/xorio-claude-plugin
Claude Code
/plugin install xorio

Made for: Claude Code.

Or install xorio, the plugin that ships this one along with the rest of its 9 skills, 10 commands, 4 agents, 2 hooks.

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-forming

README.md
[![agentmods](https://agentmods.dev/badge/skills/radumarias/xorio-claude-plugin/team-forming/github.svg)](https://agentmods.dev/skills/radumarias/xorio-claude-plugin/team-forming)
Your own site
<a href="https://agentmods.dev/skills/radumarias/xorio-claude-plugin/team-forming"><img src="https://agentmods.dev/badge/skills/radumarias/xorio-claude-plugin/team-forming/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-forming

Your own site · 80×15
<a href="https://agentmods.dev/skills/radumarias/xorio-claude-plugin/team-forming"><img src="https://agentmods.dev/badge/skills/radumarias/xorio-claude-plugin/team-forming.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 185 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,875 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00185 $0.09875
Opus 5 $0.00093 $0.04938
Sonnet 5 $0.00037 $0.01975
Haiku 4.5 $0.00018 $0.00988

Measured 10d ago against content hash d023f29a99a1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

team-forming scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/team-forming/SKILL.md · 346 lines

How it starts

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

team-forming

Compose and spawn a team for one task-group. Returns the team-slug, member list with agent IDs, formation output contract, and scaling envelope to the caller (the main session, or a coordinating agent when invoked from one).

Actors (terminology). Two actors drive everything below:

  • Orchestrator — whoever runs this skill: the main session, or a coordinating agent that invoked it. It forms the team and, after handoff, acts as the coordinator that wakes members at their phase boundaries (via SendMessage) and fields escalations. The words caller, main session, coordinating agent, and coordinator all refer to this one actor in different moments.
  • tech-lead — a distinct in-team member (when composed) that coordinates task execution within the team's autonomy boundaries. It does NOT own formation or cross-team decisions — those stay with the orchestrator.

Communication model (mailbox). Spawning a named agent creates a persistent teammate that goes idle and is re-woken by SendMessage with its context intact — there is no synchronous return value; members reply by SendMessage to the lead. An agent idles until a message arrives, acts on it, then idles again. (Verified in-harness: a member re-messaged after going idle replied and correctly recalled its earlier turn.)

State directory. All persistent state lives under ~/.claude/teams-state/:

  • ~/.claude/teams-state/<team-slug>.json — team registry (one file per formed team)
  • ~/.claude/teams-state/<team-slug>.log.jsonl — event log (append-only)
  • ~/.claude/teams-state/<team-slug>.design.md — the architect's design doc (the durable single source of design truth that teammates read for clarification)
  • ~/.claude/teams-state/patterns/formation-<type>.jsonl — formation pattern history (one JSON record per past formation: {composition, verdict, date, task_group_ref, planned_vs_actual})
  • ~/.claude/teams-state/patterns/review-<domain>.jsonl — review pattern history

Create directories on first write. A missing pattern file is not an error — it means "no historical patterns", and the relevant cascade step falls through.

Spawn-in-two-waves, everything-upfront principle. Wave 0 spawns the architect/planner alone; it designs the work and composes the rest of the team (see Phase 0). Wave 1 then spawns every remaining role in a single batch, before execution unblocks. Each teammate reads its brief, acknowledges, and goes idle; the coordinator wakes each at its phase boundary via SendMessage, and any teammate may wake the architect for clarification. These two waves are the ONLY staging — within wave 1, lazy per-phase spawning is still forbidden: it leads to late phases with absent roles and inconsistent briefs. Writing all wave-1 briefs in a single batch forces reconciling role boundaries, downstream expectations, and scope in one pass — lazy spawning produces role drift.

Planner-first, MAX-pinned pivots. Two roles are pinned to the MAX tier (the most capable model + an Ultrathink — use maximum thinking. prefix — see Model tiers below), overriding the Cost framing budget guidance: the architect/planner and the verification roles — both lenses, code-reviewer (static) and qa-tester (behavioural), whenever present. Rationale: planning decisions shape every downstream brief, and verification is the last line of defense — quality at these points compounds across the whole engagement, so they get maximum reasoning regardless of cost. The architect/planner is additionally spawned in a first wave, before the rest of the team, because its output composes the team — and an independent MAX-tier plan-reviewer gates that plan before wave 1 (see the Adversarial Plan-Review Gate). Do not down-tier these roles to save cost.

Explicit-per-role-model mandate. Every spawn names a pinned model tier (haiku / sonnet / the top tier via the Agent tool's model param — the top tier resolves to the most capable model available, opus today; see Model tiers) — never omitted, never inherit, never an implicit default. An omitted model inherits the orchestrator's model and carries no cost intent, which compounds per-teammate cost across a multi-member team. A closed session at ~14B sub-agent tokens across 30 engagements is the cost shape this rule prevents. The spawn batch aborts if any role lacks an assigned model tier. MAX-tier spawns additionally pass effort="max" (see Model tiers); the opt-in --fable flag swaps the top-tier model to fable (see Top-tier model).

Read the full file on GitHub · 346 lines

Files

What ships with it

1 file 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. 10d ago First seen · 346 lines · 185 tokens per session scan A d023f29a99a1

Subscribe to this mod's changes

team-forming is a skill published in the GitHub repository radumarias/xorio-claude-plugin (3 stars, last pushed 1mo ago), licensed MIT. It adds 185 tokens to every session and 9,875 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens