session-team
Run a team in T3 Code - either Single-Ops-Leader (sync thread, one ops leader thread, delegated workers) or Multi-Lead Model B (sync control plane, autonomous…
от jiahao-shao1★ 48 звёзд на GitHub
Установить session-team в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Session Team
Coordinate multi-strand work in T3 Code using two topologies: Single-Ops-Leader for small/medium teams (1–4 parts), and Multi-Lead (Model B) for large multi-domain projects.
Single-Ops-Leader:
user ⇄ sync ──→ ops leader ⇄ workers (delegated subagents)
↑ reads │ writes
└── team doc in repo
Multi-Lead (Model B):
user ⇄ sync (global control plane; reads status/<lead>.md in parallel)
user ⇄ domain leads (infra / task-gen / kg ...) ⇄ own workers (0-GPU + bounded smoke GPU)
│ verified commits / specs (handoff) │ write own card
▼ ▼
ops leader (shared GPUs, pools, long runs) ──→ <main-repo>/<team-dir>/status/<lead>.md
⇄ cluster / heavy workers
What makes it work is the protocol (shared state on disk, criteria written before the run, one owner per shared thing, explicit resources, typed reports), not chatty messaging. Messages say "look"; the team doc and status cards say what is true.
This skill uses T3 Code only. If its tools are missing (try loading them once with ToolSearch, or use the acp-mcp-call terminal fallback below when T3_ACP_MCP_NODE is set), say so and stop; never fall back to another harness's session tools or native invoke_subagent.
Roles
| role | is | does | does not |
|---|---|---|---|
| sync | user's global control plane | Global overview, cross-track trade-offs, global rules, spawning/retiring leads. Reads the team doc or federated status/<lead>.md cards on demand. |
Dispatch workers, run check-ins, hands-on work, scrape long thread histories |
| domain lead (Model B) | top-level thread (vertical PI) | Discusses architecture/research directly with the user; owns end-to-end 0-GPU / local / domain-repo work (research, code edits, unit tests, PR review) plus short, bounded GPU smoke checks (1–2 idle local/dev GPUs or a single short-lived smoke pod ≤30m, with collision check + immediate net-zero teardown) to verify envs/renders/sanity checks via its own delegate_task workers; writes status/<lead>.md; hands verified commits/specs to ops leader for heavy runs. |
Message sync; unilaterally grab shared cluster compute pools, multi-GPU allocations, or unattended long-running loops |
| ops leader | top-level thread (horizontal SRE) | Owns shared cluster compute quotas, shared worker pools, long-running unattended pipelines (large rollouts, multi-node training, full evals), scheduled check-ins, stop timers, net-zero teardown, and status/ops.md / team board. In Single-Ops-Leader mode, also splits all work. |
Message sync or the user; investigate, debug, run experiments, write code; act as middleman for domain 0-GPU code edits (in Model B) |
| worker | delegate_task child of ops leader or a domain lead |
One bounded part of the work, in its own worktree when editing files. | Touch other parts, message other workers or the user |
- Structural boundaries are hard rules, written into kickoffs. An ops leader that runs commands fills its context with logs and loses the plan. A domain lead that grabs shared GPUs collides with cluster runs.
- Workers are subagents (
delegate_task), not top-level threads. Small team (1–2 workers, ≤ 1 day): sync may act as ops leader while keeping the no-hands-on rule.
Federated status cards (status/<lead>.md)
When leads run in separate git worktrees, a worktree-local STATUS.md is invisible to other leads and sync. Solve this with one shared absolute directory (e.g. <main-repo>/<team-dir>/status/):
- One owner per file (
ops.md,infra.md,taskgen.md,kg.md, etc.) → zero write contention. - ≤ 20 lines per card: updated timestamp, current focus, key verified numbers, active compute/resources, open user decisions (with default), next step. Template in references/team-doc-template.md.
- 1-turn global read: sync reads all cards in parallel when the user asks for status instead of scraping long thread histories. Leads can read each other's cards without interrupting each other.
T3 Code tools & Antigravity ACP delegation
Load native tools with ToolSearch (select:mcp__t3-code__<name>,...).
| action | tool | notes |
|---|---|---|
| sync launches a lead | t3_thread_launch |
title, message = kickoff. Inherit runtime mode. Returns threadId and link. |
| sync → lead / lead ↔ lead | t3_thread_send |
Route by threadId, mode: auto (steers running turn, starts idle thread; plain steer fails on idle). |
| lead → sync | team doc / status/<lead>.md |
Never t3_thread_send to sync. |
| lead starts a worker | delegate_task |
Call orchestrator_capabilities once first. mode: "async", isolation: "worktree" (when editing files), unique clientRequestId. Keep taskId & childThreadId. |
| worker reports | its final answer | Completion wakes parent lead. Read via task_status. Never po |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- README.md
- README.zh-CN.md
- references/kickoff-template.md
- references/message-flow.md
- references/team-doc-template.md
FAQ
Что делает скилл session-team?
Run a team in T3 Code - either Single-Ops-Leader (sync thread, one ops leader thread, delegated workers) or Multi-Lead Model B (sync control plane, autonomous domain leads with own workers for 0-GPU and bounded 1-GPU smoke verification, one ops leader for shared compute/long runs, federated status cards). Triggers include 'be the leader', 'ops leader', 'domain lead', 'leader session', 'start a team of sessions', 'split this across sessions', 'coordinate sessions', 'sync-with-me', '当 leader', '开个 leader', '开个 ops leader', '开几个 session', '拆给几个 session', '多 session 协作', '让 session 之间协作'. Needs the T3 Code thread and delegation tools. Not for a single bounded subtask inside one conversation; delegate that directly.
Как установить скилл session-team?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл session-team запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…