Source profileQuality 90/100

phnx-labs/agents-cli/skills/teams/SKILL.md

teams

Organize AI coding agents into teams that collaborate on a shared task. Create teams, add teammates, start them, monitor progress, and collect results. Use this skill when you need parallel agent execution. For single-agent dispatch, use `agents run` instead.

Source repository stars
13
Declared platforms
0
Static risk flags
2
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

Organize AI coding agents into teams for parallel collaboration. This skill teaches you how to use the agents teams CLI.

Best for

  • Use this skill when you need parallel agent execution.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/phnx-labs/agents-cli --skill "skills/teams"
Safe inspection promptEditorial

Inspect the Agent Skill "teams" from https://github.com/phnx-labs/agents-cli/blob/2a7cf84f58b0ec8d9ba215ee95e288874b70419e/skills/teams/SKILL.md at commit 2a7cf84f58b0ec8d9ba215ee95e288874b70419e. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Quick Start

    Review the “Quick Start” section in the pinned source before continuing.

    Review and apply the “Quick Start” source section.
  2. 02

    Single Agent vs Teams

    Single agent: Use agents run "prompt" --mode edit for one-off tasks

    Single agent: Use agents run "prompt" --mode edit for one-off tasksMultiple agents: Use agents teams when you need parallel execution- Single agent: Use agents run "prompt" --mode edit for one-off tasks - Multiple agents: Use agents teams when you need parallel execution
  3. 03

    Create a team

    agents teams create my-feature

    agents teams create my-feature
  4. 04

    Add teammates

    agents teams add my-feature claude "Implement the auth middleware" --name auth agents teams add my-feature codex "Build the login UI" --name frontend

    agents teams add my-feature claude "Implement the auth middleware" --name auth agents teams add my-feature codex "Build the login UI" --name frontend
  5. 05

    Start the team

    agents teams start my-feature --watch bash

    agents teams start my-feature --watch bash

Permission review

Static risk signals and limitations

Network access

medium · line 72

The documentation includes network, browsing, or remote request actions.

agents teams create feat --devices zion,yosemite-s0 --repo https://github.com/you/repo.git

Writes files

medium · line 72

The documentation asks the agent to create, modify, or delete local files.

agents teams create feat --devices zion,yosemite-s0 --repo https://github.com/you/repo.git

Writes files

medium · line 84

The documentation asks the agent to create, modify, or delete local files.

`--devices <list>` on `create` declares the pool; `--repo <url|path>` is how each

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score90/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars13SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
phnx-labs/agents-cli
Skill path
skills/teams/SKILL.md
Commit
2a7cf84f58b0ec8d9ba215ee95e288874b70419e
License
Apache-2.0
Collected
2026-08-05
Default branch
main
View the original SKILL.md

Teams Skill

Organize AI coding agents into teams for parallel collaboration. This skill teaches you how to use the agents teams CLI.

Single Agent vs Teams

  • Single agent: Use agents run <agent> "prompt" --mode edit for one-off tasks
  • Multiple agents: Use agents teams when you need parallel execution

Quick Start

# Create a team
agents teams create my-feature

# Add teammates
agents teams add my-feature claude "Implement the auth middleware" --name auth
agents teams add my-feature codex "Build the login UI" --name frontend

# Start the team
agents teams start my-feature --watch

Commands

CommandDescriptionExample
createStart a new teamagents teams create my-team
addAdd a teammateagents teams add my-team claude "Task" --name role
startLaunch pending teammatesagents teams start my-team --watch
statusCheck who's workingagents teams status my-team
logsRead teammate outputagents teams logs my-team frontend
removeRemove a teammateagents teams remove my-team frontend
disbandStop all and removeagents teams disband my-team
doctorCheck installed agentsagents teams doctor

DAG Dependencies

Use --after to create dependencies:

# Backend first
agents teams add my-feature claude "Build API" --name backend

# Frontend waits for backend
agents teams add my-feature codex "Build UI" --name frontend --after backend

# QA waits for both
agents teams add my-feature claude "Run tests" --name qa --after backend,frontend

# Start drains the DAG automatically
agents teams start my-feature --watch

Distributed Teams (teammates on other machines)

Place teammates on different machines across your fleet (from agents devices) instead of all on the box running teams start. One orchestrator still drives the DAG, polls status, and cleans up — teammates just execute over SSH. One vocabulary — --device / --devices (aliases --host / --hosts); all optional (omit it and every teammate runs local, exactly as before).

# Send ONE teammate elsewhere — no pool needed
agents teams create feat
agents teams add feat claude "build the API" --name backend --device yosemite-s0
agents teams add feat claude "build the UI"  --name ui               # stays local
agents teams start feat --watch

# A device POOL — unpinned teammates auto-schedule across it (least-loaded)
agents teams create feat --devices zion,yosemite-s0 --repo https://github.com/you/repo.git
agents teams add feat claude "..." --name w1                         # auto-scheduled
agents teams add feat claude "..." --name w2 --device yosemite-s0    # or pin

Where a teammate runs — resolved at launch, top-down:

  1. teammate --device XX (explicit pin, no pool required)
  2. else single-device pool → that device (whole team there)
  3. else multi-device pool → auto-scheduled (least-loaded)
  4. else → local (today's behavior)
  • --devices <list> on create declares the pool; --repo <url|path> is how each device gets the code (defaults to the local checkout's origin, reused or cloned into ~/.agents/repos/<team>). Per-teammate worktrees work over SSH too.
  • status / logs show each teammate's host. POSIX hosts only in v1 (Windows hosts are rejected with a clear message).

Placement & Repos (read before a distributed or worktree team)

The trap that turns one team into a teardown-and-rebuild — get these right up front:

  1. --remote-cwd does NOT place a teammate or set its repo. It rides the shared --host flag family but teams add ignores it (and now rejects it with guidance). Place a teammate with --device <host>; the code comes from the team's --repo. There is no per-teammate repo/path override — don't reach for --remote-cwd to send one teammate to a different repo.

  2. One team = one repo. A team's --repo is a single clone source shared by all its remote teammates; local teammates work in the checkout you run add from. Tasks spanning two repos → one team per repo, not a cross-repo team:

    agents teams create wave-cli  --repo ~/src/.../agents-cli --enable-worktrees
    agents teams create wave-mono --repo ~/src/.../monorepo   --enable-worktrees
    agents teams add  wave-cli claude "…" --name mcp --device yosemite-s0 --worktree mcp
    
  3. Worktree fork point differs by placement — and it bites.

    • local teammate → forks from your current local HEAD, with no fetch. Fast-forward the checkout first (git fetch && git merge --ff-only origin/<default>) or every teammate forks off stale code.
    • remote (--device) teammate → forks from the host's freshly-fetched origin/<default> automatically — no manual sync needed.
  4. For a raw --host run (not teams), --remote-cwd resolves on the host. Pass a single-quoted '$HOME/…' path (an unquoted ~ expands locally/Users/you won't exist on a Linux worker) or a valid remote absolute path.

Modes

ModeUse When
plan (default)Read-only work: research, audit, analysis
editCode changes: implementation, refactoring

Always use --mode plan for security audits, research, and analysis.

Monitoring

# Check status
agents teams status my-feature

# Delta poll (efficient)
agents teams status my-feature --since 2026-04-24T09:00:00-07:00

# Read one teammate's log
agents teams logs my-feature frontend

Watch the fleet's comms

agents teams status tells you where each teammate is; the fleet-comms surface tells you what they're saying. Both ride the same mailbox spool teammates use to message each other and to page you:

agents feed                  # what agents need FROM YOU — open questions / blocks, with the reply command
agents mailboxes             # what agents say TO EACH OTHER — boxes + a recent cross-box message log
agents mailboxes --watch     # live tail of all fleet traffic (▲ you when a teammate pages you); Ctrl-C to stop
agents mailboxes --graph     # who-talks-to-whom, busiest first
agents mailboxes --between <a> <b>   # one teammate relationship as a thread

Reply to a teammate (or answer a feed block) with agents message <id> "…" / agents teams message <team> <teammate> "…".

Best Practices

  • Mix agents if available — different agents have different blind spots
  • Use --mode plan for read-only work (audits, research)
  • Give full context — each teammate needs the big picture plus their specific task
  • Demand evidence — end prompts with: Return file:line quotes for every claim
  • Run in parallel — most tasks don't depend on each other
  • Name teammates with --name for easy reference

Budget Guardrails

Teammates inherit the project's budget caps from agents.yaml (see docs/06-observability.md). Before each teammate launches, its estimated cost is projected onto current spend; under on_exceed: block, a teammate that would breach a cap is refused (the spawn fails with [budget] BLOCKED teammate …). Caps are cross-vendor: a Claude teammate and a Codex teammate draw down the same per_project / per_day pool — one budget governs the whole team.

Teammate budgeting is pre-flight only in v1 — a teammate is estimated and blocked before it spawns, but there is no live mid-run hard-cap kill for teammates (that applies to local headless agents run today; teams is a planned follow-up).

# project agents.yaml
budget:
  per_project: 100.00   # shared by every teammate, regardless of agent
  on_exceed: block

Check spend-to-cap any time with agents budget.

Short Aliases

teams c  = create    teams a  = add       teams s  = status
teams rm = remove    teams d  = disband   teams ls = list

Alternatives

Compare before choosing

Computed 10023,835

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1004,944

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 9929,680

HKUDS/Vibe-Trading

strategy-generate

Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.

Computed 9832,671

K-Dense-AI/scientific-agent-skills

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.