用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill crew命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | crew |
| description | | Use when this capability is needed. |
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.
Auto-triggers on keywords:
Use crews when:
Do NOT use crews when:
architecture-explorer)Manual invocation: /crew
Goal: Determine team composition and config
Step 1: Check for existing config
cat .crew-config.json
If config exists:
Team: {name}
Profile: {profile}
Teammates:
| Name | Role | Branch | Model |
|------|------|--------|-------|
| ... | ... | ... | ... |
If no config exists:
Option A: Auto-decompose (recommended for large codebases)
cck crew decompose [paths...]
.crew-config.json with teammates for each cluster--write flag to write directly: cck crew decompose --write--teammates N to limit team size: cck crew decompose --teammates 3Option B: Manual composition
Ask user: "What work needs to be parallelized?"
Gather requirements:
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"
When to use decompose vs manual:
Deliverable: Valid .crew-config.json and confirmed team composition
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:
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
Goal: Create team, tasks, and spawn all teammates
Execute these steps in order:
Step 1: Create team
TeamCreate(team_name="{team.name}")
Step 2: Create tasks One task per teammate describing their focus area:
TaskCreate(
subject="[teammate-name]: [brief focus]",
description="[full focus description from config]",
activeForm="[verb-ing form]"
)
Step 3: Spawn ALL teammates in parallel
CRITICAL: Spawn all teammates in a SINGLE message with multiple Task calls.
For each teammate, use the full prompt from the generated lead prompt:
Task(
name="{teammate.name}",
team_name="{team.name}",
subagent_type="{resolved.subagent_type}",
model="{resolved.model}",
mode="{resolved.mode}",
run_in_background=true,
prompt="{full teammate prompt from lead-prompt.md}"
)
The teammate prompt includes:
Step 4: Assign tasks
TaskUpdate(taskId="N", owner="{teammate.name}")
Deliverable: All teammates spawned and working in parallel
Goal: Monitor, support, and wrap up
Monitor progress:
TaskList periodically to see task statusHealth Monitoring:
Teammates can become unresponsive or crash. Use health monitoring to detect issues:
Manual health checks:
cck crew doctor [profile]
Displays health table showing each teammate's status, last activity, and recent commits.
Automated monitoring protocol (every 10-15 minutes):
SendMessage(type="message", recipient="{name}", content="Status check: still working?")
git -C {worktree_path} log --oneline -5
git -C {worktree_path} status
Re-spawning crashed teammates:
Health status meanings:
active (✓): Updated recently, working normallyidle (○): No recent updates but not yet stale, may be thinkingunresponsive (⚠): Stale beyond threshold, may need attentioncrashed (✗): Worktree exists but no activity and very stale, needs re-spawnWhen teammates report completion:
git -C {worktree_path} log --oneline -5
git -C {worktree_path} diff {main_branch} --stat
When ALL tasks are complete:
cck crew merge-preview [profile]
cck crew merge [profile]
Optional flags:
--test: Run tests after each merge (rollback on failure)--test-command="npm run test:ci": Custom test commandgit merge {branch}
# Resolve conflicts manually
git add .
git commit
SendMessage(type="shutdown_request", recipient="{name}", content="Work complete, shutting down.")
cck crew stop [profile] --cleanup
.crew-config.json if it was created for this session onlyDeliverable: All work merged, teammates shut down, worktrees cleaned
Roles set sensible defaults. Explicit fields in config always override role defaults.
| Role | Model | Mode | Focus Default |
|---|---|---|---|
developer | sonnet | bypassPermissions | Implement features, write code, fix bugs |
reviewer | sonnet | default | Review code for bugs, security, quality. Read-only |
tester | haiku | bypassPermissions | Write and run tests, ensure coverage |
architect | opus | default | Design architecture, review patterns. Read-only |
Single team (simple):
{
"team": {
"name": "my-team",
"teammates": [
{ "name": "alice", "branch": "feat/auth", "worktree": true, "role": "developer", "focus": "Build auth" }
]
},
"project": { "main_branch": "main" }
}
Multiple profiles (advanced):
{
"profiles": {
"dev": {
"name": "dev-team",
"teammates": [
{ "name": "backend", "branch": "feat/api", "role": "developer", "focus": "API work" },
{ "name": "frontend", "branch": "feat/ui", "role": "developer", "focus": "UI work" }
]
},
"review": {
"name": "reviewers",
Source: arpitnath/claude-capsule-kit — distributed by TomeVault.
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