com um clique
team-assemble
// Analyze tasks and dynamically assemble expert agent teams using Claude Code's TeamCreate API. Scouts your codebase, designs optimal agents, and executes with validation.
// Analyze tasks and dynamically assemble expert agent teams using Claude Code's TeamCreate API. Scouts your codebase, designs optimal agents, and executes with validation.
| name | team-assemble |
| description | Analyze tasks and dynamically assemble expert agent teams using Claude Code's TeamCreate API. Scouts your codebase, designs optimal agents, and executes with validation. |
| allowed-tools | ["Agent","Bash","Read","Write","Edit","Glob","Grep","AskUserQuestion","TaskCreate","TaskUpdate","TaskList","TaskGet","TeamCreate","TeamDelete","SendMessage"] |
| version | 1.0.0 |
Analyze a task, dynamically design the right expert agents, and orchestrate them as a team using Claude Code's agent teams feature.
Agent teams must be enabled. See references/enable-agent-teams.md for setup instructions.
Do NOT use for: single-file edits, simple questions, purely sequential work
references/agents.md)
opus — strategy/judgment (scouts, complex execution)sonnet — standard execution/validation (worker, qa, support)haiku — exploration/writing (researcher, editor)references/agents.md provides reference examples (not mandatory)Phase 1 → Phase 2 → Phase 3 → Phase 4 → Phase 5 → Phase 6
Task Codebase Integrate Execute Validate Complete
Analysis Scouts & Confirm & Cleanup
↕ FAIL → support fix (max 3x)
Analyze the user's request and identify relevant areas of the codebase:
Get user approval via AskUserQuestion:
I've analyzed your task and identified the following areas of interest:
- [x] src/auth/ — Authentication module (needs refactoring)
- [x] tests/auth/ — Corresponding tests
- [ ] src/api/ — Not directly affected
I'll scout these areas to design an optimal team.
Options: "Looks good, proceed" / "I'd like to adjust the scope"
For straightforward tasks that don't need codebase exploration, skip Phase 2 and go directly to Phase 3 — design the team yourself using references/agents.md as a guide.
Launch scout agents in parallel to explore relevant areas of the codebase.
general-purpose (constrained to read-only via prompt)Each scout reads the relevant codebase area and proposes agents for the task:
references/agents.md for examples, but freely design new agentsPrompt template:
references/prompt-templates.md§ Codebase Scout
## Scout Report: {area}
### Current State
- {file structure summary}
- {relevance to the task}
### Proposed Agents
| Agent | Role | Tasks | Reference Files |
|-------|------|-------|-----------------|
| {name} | {role} | {task} | {files} |
### Notes
- {area-specific constraints or patterns to follow}
Merge scout reports into a final team composition:
Get final approval via AskUserQuestion:
Proposed team: {team-name}
| # | Agent | Role | Tasks | Dependencies |
|---|-------|------|-------|--------------|
| 1 | architect | System design | Design new auth flow | - |
| 2 | implementer | Code changes | Implement the design | #1 |
| 3 | test-writer | Test coverage | Write tests for changes | #2 |
| 4 | qa | Validation | PASS/FAIL against acceptance criteria | #2, #3 |
Acceptance criteria:
- [ ] AC-1: {measurable criterion}
- [ ] AC-2: {measurable criterion}
Options: "Looks good, execute" / "I'd like to adjust roles"
If the user selects "adjust roles", ask what specifically to change. After 2+ revision requests, switch to free-text input.
TeamCreate(team_name: "{keyword}-team", description: "Task description")
team_name convention: core keyword + -team
Create TaskCreate entries for each agent, then set dependencies with TaskUpdate.
references/agents.md)"general-purpose""bypassPermissions"Detailed prompt structure:
references/prompt-templates.md
qa (sonnet) evaluates each acceptance criterion from Phase 3.
Agent(name: "qa", model: "sonnet", prompt: """
## Acceptance Criteria
- [ ] AC-1: {criterion}
## Validation Target
{Phase 4 execution results}
Evaluate each criterion with evidence-based PASS/FAIL judgment.
No PASS without evidence.
## Output Format
| # | Criterion | Verdict | Evidence |
Overall: PASS / FAIL
Include fix suggestions for any FAIL items.
""")
support (sonnet) fixes only FAIL items → qa re-validates:
## Validation Failed — Manual Intervention Needed
### Repeated Failures
- AC-{N}: {criterion} — {failure reason}
### Attempted Fixes
1. {attempt 1} 2. {attempt 2} 3. {attempt 3}
### Recommended Action
{what needs to be done manually}
## Team Results: {team-name}
### Acceptance Criteria
- [x] AC-1: {criterion} — PASS
### Per-Agent Results
- {agent}: {result summary}
### Deliverables
- {file paths or outputs}
### Validation History
- Validated {N} times, {M} fixes applied
SendMessage(type: "shutdown_request", recipient: "{name}", content: "Work complete")
TeamDelete()
| Mistake | Correct Approach |
|---|---|
| Creating team without user approval | Get AskUserQuestion approval in Phase 1 + Phase 3 |
| Executing without acceptance criteria | Always define criteria in Phase 3 |
| Running scouts for simple tasks | Skip Phase 2 for straightforward work |
| Skipping validation | Always run Phase 5 after execution |
| Ignoring model tiers | Use opus/sonnet/haiku based on role purpose |
| Only picking from fixed catalog | Scouts design freely; examples are reference only |
| Forgetting TeamDelete | Always shutdown_request → TeamDelete |
| Infinite FAIL loop | Max 3 verify/fix rounds, then report to user |
references/agents.md — Agent example bank with model tier guidereferences/prompt-templates.md — Scout + execution + QA prompt templatesreferences/examples.md — Worked examples: feature dev, refactoring, researchreferences/enable-agent-teams.md — How to enable agent teams in Claude CodeThis skill should be used when the user asks to "트윗 가져와", "트윗 번역", "X 게시글 읽어줘", "tweet fetch", "트윗 내용", "트윗 원문", or provides an X/Twitter URL (x.com, twitter.com) and wants to read, translate, or analyze the tweet content. Also useful when other skills need to fetch tweet text programmatically.
Generate Korean podcast episodes from any source (URLs, tweets, articles, PDFs) — analyzes content, writes a script, generates audio via OpenAI TTS, converts to MP4, and auto-uploads to YouTube. Use this skill whenever the user says 'make a podcast', 'convert to podcast', 'podcast', 'create an episode', 'turn this into audio', 'YouTube podcast', 'turn this article into a podcast', 'publish as audio', or provides sources and wants them transformed into a listenable format. Supports partial execution: script-only, TTS-only, or upload-only.
This skill should be used when the user is building, planning, or strategizing and the key question is whether to optimize content (what) or change form (how/medium). Trigger on "내용 vs 형식", "content vs form", "metamedium", "형식을 바꿔볼까", "새로운 포맷", "관점 전환", "perspective shift", "다른 방법 없을까", "같은 방식이 안 먹혀", "diminishing returns". Applies Alan Kay's metamedium concept to surface form-level alternatives. For requirement clarification use vague; for strategy blind spots use unknown.
This skill should be used when the user provides a strategy, plan, or decision document and wants to surface hidden assumptions and blind spots using the Known/Unknown 4-quadrant framework. Trigger on "known unknown", "4분면 분석", "blind spots", "뭘 놓치고 있지", "뭘 모르는지 모르겠어", "전략 점검", "전략 분석", "assumption check", "가정 점검", "quadrant analysis", "what am I missing". Strategy-level blind spot analysis with hypothesis-driven questioning. For requirement clarification use vague; for content-vs-form reframing use metamedium.
This skill should be used when the user's request or requirement is ambiguous and needs iterative questioning to become actionable. Trigger on "clarify requirements", "refine requirements", "요구사항 명확히", "요구사항 정리", "뭘 원하는 건지", "make this clearer", "spec this out", "scope this", "/clarify". Turns vague inputs into concrete specs. For strategy blind spots use unknown; for content-vs-form reframing use metamedium.
This skill should be used when the user asks to "check email", "read emails", "send email", "reply to email", "search inbox", or manages Gmail. Supports multi-account Gmail integration for reading, searching, sending, and label management.