← ClaudeAtlas

brewcodeteamslisted

Creates and manages dynamic teams of domain agents. Triggers: create team, agent team, team status, cleanup team.
kochetkov-ma/claude-brewcode · ★ 27 · AI & Automation · score 77
Install: claude install-skill kochetkov-ma/claude-brewcode
<instructions> # Teams Manage dynamic teams of domain-specific agents with tracking framework. **Arguments:** `$ARGUMENTS` --- ## Phase 1: Parse Arguments **EXECUTE** using Bash tool: ```bash bash "${CLAUDE_SKILL_DIR}/scripts/detect-mode.sh" "$ARGUMENTS" && echo "OK" || echo "FAILED" ``` Output: `MODE:`, `TEAM_NAME:`, `PROMPT:` (optional). Store all three. --- ## Universal Prelude (every mode) ### Step 0: Init + Validate + Confirm 1. Output: `Mode: {MODE}, Team: {TEAM_NAME}` 2. Load environment: | Action | Command / Path | |--------|----------------| | Read agent template | `${CLAUDE_SKILL_DIR}/references/agent-template.md` | | Read framework templates | `${CLAUDE_SKILL_DIR}/references/framework-files.md` | | Check team dir | `.claude/teams/{TEAM_NAME}/` -- exists? | | Check existing agents | `.claude/agents/` -- list all | | If team.md exists | Read, show current roster | | If trace.jsonl exists | Show entry counts via `trace-ops.sh read` | 3. If team exists, verify: ```bash bash "${CLAUDE_SKILL_DIR}/scripts/verify-team.sh" "TEAM_NAME_HERE" && echo "PASS" || echo "FAIL" ``` 4. Formulate action plan for current mode. 5. **ASK** using AskUserQuestion: "Here's my plan: {plan}. Continue?" Options: "Yes, continue" | "No, I want changes" | "Cancel" - "changes" -> AskUserQuestion for details, revise plan - "Cancel" -> **STOP** --- ## Mode: CREATE (9 phases) ### C1: Project Analysis Spawn 3-5 Explore agents in ONE message via Task tool: | # | F