team
Skill215 starsChanged 5 months agoApache-2.0View on GitHub
Spawn long-lived provider LLM teammates in tmux panes that you message via the native agent-team tools — multi-turn, collaborative, watchable. Use for sustained parallel build/work ("spawn workers", N teammates on N files), or when you need a collaborator you message across turns. NOT a fire-and-forget one-shot or a flat batch of independent prompts — that is /cc-fleet:subagent. NOT a scripted multi-phase run — that is /cc-fleet:workflow.
- Deletes or force-pushes
30 other projects use a version of this.
Adopted by
Most recently taken up by
- MaxMiksa/Auto-Companytheir own version, first seen Oct 2, 2026
- sungminpark-biz/tandem-skillstheir own version, first seen Oct 2, 2026
- sethatwood/belaytheir own version, first seen Sep 23, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Sep 22, 2026
- BULDEE/ai-craftsman-superpowerstheir own version, first seen Sep 21, 2026
- shenysun/skills-managertheir own version, first seen Sep 10, 2026
Used with
Projects with it also use ultraqa, community-led-growth 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.
ahilarionSkillultraqa
Autonomous QA cycling until all tests pass
Also in 3 projects that use this
nicepkgSkillcommunity-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 3 projects that use this
nicepkgSkillfinancial-unit-economics
Use when evaluating business model viability, analyzing profitability per customer/product/transaction, validating startup metrics (CAC, LTV, payback period), making pricing decisions, assessing scalability, comparing business models, or when user mentions unit economics, CAC/LTV ratio, contribution margin, customer profitability, break-even analysis, or needs to determine if a business can be profitable at scale.
Also in 3 projects that use this
zephyrpersonalSkillultrawork
Obsessive task completion mode (Sisyphus Mode) - activates maximum intensity work with todo continuation enforcement
Also in 4 projects that use this
an8079Skillralplan
Also in 4 projects that use this
lza6Skillvisual-verdict
Structured visual QA verdict for screenshot-to-reference comparisons
Also in 3 projects that use this
- +4 more from nicepkg
Other versions30 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 30
- Yeachan-Heo/oh-my-claudecode★ 40ksame name
- MaxMiksa/Auto-Company★ 3.1ksame name
- nicepkg/ctxport★ 644same name
- shenysun/skills-manager★ 196same name
- nicepkg/auto-company★ 192same name
- Rune-kit/rune★ 88same name
- Kastalien-Research/thoughtbox★ 66same name
- NikitaDmitrieff/auto-co-meta★ 51same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- betahope/cofounder-team★ 28same name
20 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Run a third-party provider model as a real Claude Code teammate in a tmux pane: same tool stack and team coordination as a native teammate, …
- Very specific: line 12
When this skill cites cc-fleet-shared/<file>.md, OPEN it with the Read tool at ../cc-fleet-shared/<file>.md relative to this SKILL.md — the …
- Very specific: line 16
Precondition — agent-teams must be ON: check your own tool list for SendMessage / TeamCreate.
- Distinctive: line 53
ASK before tearing down — a teammate is reusable (SendMessage it the next task) and the user may want its pane.
“Common” is measured: kept by at least 6 in 10 of the 24 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.
Files
team — long-lived provider teammates
Run a third-party provider model as a real Claude Code teammate in a tmux pane: same tool stack and team coordination as a native teammate, LLM backend swapped to the provider. Your main session's own auth stays untouched.
Wrong lane? A fire-and-forget one-shot or flat batch → /cc-fleet:subagent; a scripted multi-phase run → /cc-fleet:workflow; full arbitration in cc-fleet-shared/routing.md.
When this skill cites cc-fleet-shared/<file>.md, OPEN it with the Read tool at ../cc-fleet-shared/<file>.md relative to this SKILL.md — the cited content is load-bearing, not optional background.
Execution environment — check before running anything. Confirm your shell tool executes on the host where cc-fleet is installed. In sandboxed or remote agent sessions, a tool named Bash may run on an isolated machine with a different filesystem, PATH, processes, and tmux server —
command not found, a healthy-lookingdoctorwhose leaves can't reach your files, or a wrong working directory should prompt you to verify whether you are in a sandbox shell, not conclude that cc-fleet is broken. If so, route commands through a host-executing bridge tool (for example, desktop-commander) and pass host paths for any files you reference; do not retry the same Bash call expecting different results. If no host-executing tool is available, stop and explain that cc-fleet must run on its installation host.
Precondition — agent-teams must be ON: check your own tool list for SendMessage / TeamCreate; absent → do NOT spawn (an unmessageable pane bills the provider with no work) — enablement + fallback in cc-fleet-shared/routing.md.
Core loop
Steps 1, 3, 6 are native tools; steps 2, 5, 6a are cc-fleet via Bash with --json.
1. TeamCreate({team_name: "<team>"})
← native, FIRST — the main session becomes the lead
2. cc-fleet spawn [<provider>] --as <name> --team <team> [--model <slot|id>] --json
← Bash; check ok:true, grab .pane_id / .agent_id
The provider arg is OPTIONAL — omitted, the default provider applies
(see "The provider ask ladder"). Full flag table: cc-fleet-shared/cli-reference.md.
3. SendMessage({to: "<name>", message: "<task>. When done, send your result
back with SendMessage."})
← native; always tell it to report — see "Getting a result back"
4. (optional) repeat 2+3 to fan out more workers in parallel
5. wait for idle notifications — WITH a timeout. A teammate on a failed
provider API (429 / out-of-balance / 401) wedges in a retry loop and never
goes idle, so "just wait" blocks forever. Poll cc-fleet ps --json --check
and dispatch on error_class — see "Watching for stuck teammates".
6. report to the user, then ASK before tearing down. On confirm, BOTH, in order:
a. cc-fleet teardown <team> --json ← Bash FIRST: kills provider panes + reaps procs
b. TeamDelete() ← native SECOND: removes the team/tasks dirsOn a spawn failure (ok:false), dispatch on error_code — table + self-heal flow in cc-fleet-shared/troubleshooting.md.
Teardown order — two hard rules (apply to wedged and probe teams too):
cc-fleet teardownFIRST,TeamDelete()SECOND — teardown reads the team'sconfig.json(the swarm socket lives there), whichTeamDelete()deletes; andTeamDelete()alone never touches tmux, so a provider pane/process would be orphaned and keep billing.- ASK before tearing down — a teammate is reusable (SendMessage it the next task) and the user may want its pane. Skip the ask only if the user already said "clean up when done" or it's a throwaway probe team.
Example: one worker on a refactor
TeamCreate({team_name: "refactor-api"}) # native
cc-fleet spawn --as worker-1 --team refactor-api --model strong --json # default provider
# → {"ok":true,"agent_id":"worker-1@refactor-api","name":"worker-1","pane_id":"%42", ...}
SendMessage({to: "worker-1", message: "Refactor src/api/handlers.go: split each handler into its own file under src/api/handlers/. Keep tests passing. Report your result via SendMessage when done."})
# … wait with timeout + ps --check …
# report; tear down only after the user confirms:
cc-fleet teardown refactor-api --json # Bash, FIRST
TeamDelete() # nativeExample: three workers in parallel
TeamCreate({team_name: "translate-docs"})
cc-fleet spawn kimi --as zh-1 --team translate-docs --json # leaf: omit --model
cc-fleet spawn kimi --as zh-2 --team translate-docs --json
cc-fleet spawn deepseek --as polish --team translate-docs --model strong --json # synthesis: strong
SendMessage({to: "zh-1", message: "Translate docs/intro.md to zh-CN beside it. SendMessage me when done."})
SendMessage({to: "zh-2", message: "Translate docs/api.md to zh-CN beside it. SendMessage me when done."})
SendMessage({to: "polish", message: "When zh-1 and zh-2 finish, copy-edit their outputs for tone consistency. SendMessage me the result."})
# … notifications per worker; report first, tear down on confirm:
cc-fleet teardown translate-docs --json # FIRST: kills all three panes + procs
TeamDelete()The provider ask ladder (ask at most once per task)
- The user named a provider or model → use it.
- Else run
cc-fleet default --json: if it returns a provider (source "configured" or "auto"), use it and STATE it in your kickoff line (e.g. "using glm (default)"). - Else (several providers, none default) ask the user ONCE which to use — list the enabled providers from
cc-fleet list --json(name + default_model + the one-line note in cc-fleet-shared/providers.md). After they pick, runcc-fleet default <chosen>so you never ask again. (cc-fleet default <p>is user-layer; only run it to FILL a blank default, never with --force.) - A mid-task provider failure (insufficient balance / rate limit / auth) → STOP, tell the user what happened, propose the next provider, and WAIT for their confirmation. Never switch providers silently.
Model tier within a provider: fan-out / leaf work → omit --model (or --model fast); judge / synthesis / sustained work → --model strong. The provider's roster decides the actual model — see cc-fleet-shared/providers.md.
Getting a teammate's result back
A teammate reports by calling SendMessage to the lead; the harness delivers it to you. Mode-independent — split pane or swarm pane, the pane is where it runs, never how you talk to it. Two provider-specific notes:
- Tell it to report. End every task message with "When done, send your final result back to me with SendMessage." Weaker provider models often finish and go idle WITHOUT calling SendMessage — the answer sits in their pane.
- Idle but no result → ask once more, then read the pane. Re-
SendMessage: "You appear done — reply with your result via SendMessage." If the second ask still yields nothing, read the pane directly — don't bother the user:
Safe: the provider API key is never in the pane (resolved viacc-fleet ps --json # → the teammate's tmux_socket + pane_id tmux -L <tmux_socket> capture-pane -t <pane_id> -p | tail -40apiKeyHelper, never printed).tmux_socketis empty for in-tmux teammates (plaintmux capture-pane) andcc-fleet-swarm-<team>for swarm teammates.
Watching for stuck teammates
The one runtime difference from a native teammate. A provider teammate's brain is the provider API: on 429 / out-of-balance / 401 its claude process retries in a loop and never goes idle, never messages you — either would need the very LLM that's down. The error shows only in its tmux pane, never in your inbox. So you must poll.
- Set a timeout. A provider API error surfaces on the first LLM call — check ~60–90s after dispatch, then every ~2–3 min while a task legitimately runs. An idle notification cancels the wait.
Poll health, don't sleep blindly:
cc-fleet ps --json --check.--checkscans each pane and addsstatus(ok|error|unknown) pluserror_class+detailon error — only the class, never raw pane text. Note the key: this runtime-wedge detection dispatches onerror_class(lower_snake), a DIFFERENT key from theerror_code(UPPER_SNAKE) that up-front spawn/subagent failure envelopes carry — don't switch on the wrong one. Dispatch:ok— keep waiting (within your ceiling).unknown— pane couldn't be captured (teammate exited / tmux down). Confirm withcc-fleet ps --json; treat a vanished teammate as failed.error— act now, pererror_class:
error_classMeaning What you do insufficient_balanceProvider out of balance / quota. Retrying can't help. Tear down; STOP, tell the user, propose the next provider, wait for confirm (provider ask ladder, step 4). authProvider rejected the key ( 401/403).Tear down. Tell the user to rotate the key — file backend: cc-fleet edit <provider> --api-key-stdin <<<"$NEW_KEY"(or--api-key-file <path>); other backends via the secret manager. Don't re-spawn the same provider. Never the raw key in argv.rate_limitProvider 429.Tear down; wait a bit and re-spawn, or propose a switch (confirm first). Never keep a wedged teammate looping. api_errorGeneric provider failure (5xx, overloaded, rejected). Tear down; retry once, or propose a switch (confirm first). unknownor not specific enough →capture-paneand read it yourself (same command + key-safety note as above).ps --checkis the first probe; the raw pane is a fine fallback.
Acting on a wedged teammate
Tear down just the wedged worker (siblings keep running) by pane id: cc-fleet teardown <pane_id> --json, or the whole team with cc-fleet teardown <team> --json (then TeamDelete() if done). Then surface it and propose the fallback — another provider (re-spawn + re-SendMessage after the user confirms) or native Agent({subagent_type: "general-purpose", model: "sonnet", prompt: "<task>"}). Never leave a teammate wedged and keep waiting.
Where a teammate runs (in-tmux split vs out-of-tmux swarm)
Either way you drive it with native SendMessage and it reports via SendMessage.
- In tmux → the teammate splits a pane in your visible window; hide/show available (below).
- Not in tmux → spawn auto-builds a detached
cc-fleet-swarm-<team>tmux server and runs the teammate there — silent unless youtmux -L cc-fleet-swarm-<team> attach. (A reusable, SendMessage-able teammate is an interactive process polling its inbox — needs a TTY; the truly-headless path is /cc-fleet:subagent.)
Hiding / showing a pane (in-tmux only)
Declutter the layout without killing the process:
cc-fleet hide <target> --json # pane → detached "claude-hidden" session; keeps running
cc-fleet show <target> --json # pane → back to its origin window, re-tiled<target> = pane id %42 · team/member · name@team · bare team (every member with a pane). Origin is recorded at hide time.
- hide does NOT kill — inbox/
SendMessagestill work,teardownstill cleans it. - Swarm teammates are unsupported —
error_code: "SWARM_UNSUPPORTED"is a terminal no-op, not a tmux failure; attach to view instead. - Dispatch on
error_code, not prose:SWARM_UNSUPPORTED/TEAM_NOT_FOUND/MEMBER_NOT_FOUND/PANE_NOT_FOUND/NOT_HIDDEN/NO_ORIGIN/TMUX_FAILED/BAD_ARGS(malformed target) /CONFIG_WRITE_FAILED(the pane moved but the config write failed — tmux and config are now DIVERGENT; follow the envelope'ssuggestionto reconcile, never blindly re-run) /INTERNAL(lock/parse failure). Hiding an already-hidden pane is idempotentok.
Agents Board (human-facing): bare cc-fleet → Tab to a live board of every teammate across all teams (ps --check health, HIDDEN column, h/s hide/show). You use cc-fleet ps --json --check programmatically, not the TUI.
Anti-patterns
- Spawning a teammate for a single-file edit / quick question — main session; the overhead isn't worth it (cc-fleet-shared/routing.md).
- Typing into a provider pane instead of
SendMessage— task delivery is alwaysSendMessage. (Reading a pane for a result is fine.) - Skipping
TeamCreatebefore spawn →NO_LEAD_SESSION/TEAM_NOT_FOUND. NativeTeamCreatefirst. - Waiting open-endedly on a teammate — it can wedge and never go idle; always timeout +
ps --check. - Switching providers silently after a failure — provider ask ladder, step 4: stop, tell, propose, wait for confirm.
- Auto-tearing down on task completion — the teammate is reusable; ask first.
rm -rf ~/.claude/teams/...to tear down — skips pane/proc cleanup.cc-fleet teardownFIRST, thenTeamDelete().- Putting the provider API key in argv / env — cc-fleet uses
apiKeyHelper; keys never enter env /ps aux/ history. - Looping on errors without dispatching
.error_code— every--jsonfailure carries a code (cc-fleet-shared/troubleshooting.md).
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
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.

