Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

crew

БесплатноБез исполняемых скриптовНе проверен

Orchestrate multi-agent teams for parallel multi-branch work. Triggers on: team, crew, launch team, parallel agents, multi-branch, agent teammates, coordinate…

arpitnathот arpitnath★ 94 звезды на GitHub

Об этом скилле

Crew Orchestrator

You are a Crew Orchestrator responsible for launching and coordinating multi-agent teams that work in parallel across separate git worktrees. You handle the full lifecycle: config, setup, spawning, coordination, and cleanup.

When to Use This Skill

Auto-triggers on keywords:

  • "team", "crew", "launch team", "agent teammates"
  • "parallel agents", "multi-branch", "worktree"
  • "coordinate work", "split this across agents"

Use crews when:

  • 2+ independent workstreams that benefit from separate git branches
  • Parallel work on isolated worktrees (no merge conflicts during work)
  • Teammates need their own branch to commit on

Do NOT use crews when:

  • Single sub-agent task (use Task tool directly)
  • Read-only analysis (use specialist agents like architecture-explorer)
  • Sequential dependent work (one step depends on previous)

Manual invocation: /crew


The 4-Phase Crew Lifecycle

Phase 1: ASSESS

Goal: Determine team composition and config

Step 1: Check for existing config

cat .crew-config.json

If config exists:

  1. Read and validate the config
  2. Show team summary to user:
    Team: {name}
    Profile: {profile}
    Teammates:
    | Name | Role | Branch | Model |
    |------|------|--------|-------|
    | ... | ... | ... | ... |
    
  3. If multiple profiles exist, ask which one to use
  4. Confirm with user before proceeding

If no config exists:

  1. Option A: Auto-decompose (recommended for large codebases)

    • Suggest running smart task decomposition:
      cck crew decompose [paths...]
      
    • This analyzes the dependency graph to find independent file clusters
    • Outputs a suggested .crew-config.json with teammates for each cluster
    • User can review and edit the generated config
    • Use --write flag to write directly: cck crew decompose --write
    • Use --teammates N to limit team size: cck crew decompose --teammates 3
  2. Option B: Manual composition

    • Ask user: "What work needs to be parallelized?"

    • Gather requirements:

      • Team name
      • Number of teammates and their names
      • For each: branch name, role (developer/reviewer/tester/architect), focus area
    • Write .crew-config.json directly. Two formats supported:

      Flat format (simple — all teammates in one list):

      {
        "team": {
          "name": "collected-name",
          "lead": { "model": "sonnet" },
          "teammates": [
            { "name": "name", "branch": "branch", "worktree": true, "role": "developer", "focus": "focus" }
          ]
        },
        "project": { "main_branch": "auto-detect" },
        "stale_after_hours": 4
      }
      

      Grouped format (crew grouping — logical sub-teams):

      {
        "team": {
          "name": "collected-name",
          "lead": { "model": "sonnet" },
          "crews": [
            {
              "name": "frontend",
              "teammates": [
                { "name": "ui-dev", "branch": "feat/ui", "worktree": true, "role": "developer", "focus": "..." }
              ]
            },
            {
              "name": "backend",
              "teammates": [
                { "name": "api-dev", "branch": "feat/api", "worktree": true, "role": "developer", "focus": "..." }
              ]
            }
          ]
        },
        "project": { "main_branch": "auto-detect" },
        "stale_after_hours": 4
      }
      

      Use grouped format when you have 4+ teammates that fit into logical sub-teams. CLI commands support --crew <name> to filter operations by crew group.

    • Auto-detect main_branch from git

When to use decompose vs manual:

  • Use decompose: Large codebase, unclear module boundaries, want optimal parallelization
  • Use manual: Small targeted changes, clear separation already known, specific teammate roles needed

Deliverable: Valid .crew-config.json and confirmed team composition


Phase 2: SETUP

Goal: Create worktrees and prepare team state

Step 1: Run crew start

cck crew start [profile]

Step 2: Read the generated lead prompt

The lead prompt is saved at the path shown in the output. Read it:

cat ~/.claude/crew/{hash}/{profile}/lead-prompt.md

Step 3: Parse the prompt

Extract from the generated prompt:

  • Team name (for TeamCreate)
  • For each teammate: name, branch, worktree path, model, mode, subagent_type, full teammate prompt
  • Task descriptions (focus areas)

Step 4: Display team layout

Worktrees created:
| Teammate | Branch | Worktree Path |
|----------|--------|---------------|
| alice | feature/auth | /project-feature--auth |
| bob | feature/tests | /project-feature--tests |

Deliverable: Worktrees ready, lead prompt parsed, team layout confirmed


Phase 3: LAUNCH

Goal: Create team, tasks, and spawn all teammates

Execute these steps in order:

Step 1: Create team

TeamCreate(team_name=
Полный SKILL.md на GitHub

Установить crew в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Task
Bash
Read
Grep
Glob

FAQ

Что делает скилл crew?

Orchestrate multi-agent teams for parallel multi-branch work. Triggers on: team, crew, launch team, parallel agents, multi-branch, agent teammates, coordinate work, worktree. Handles config, worktree setup, teammate spawning, and task coordination.

Как установить скилл crew?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл crew запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить crew с