Skip to content
cccskills
FreePublished on GitHub

agent-team

This skill should be used when the user asks to "create a team", "spawn agents", "parallel execution", "delegate tasks to agents", "use a swarm", "team workflow", "split work across agents", "run tasks in parallel", or mentions wanting multiple agents to collaborate on a complex task.

The English summary is being prepared. Showing the original description.

See how to install

Files included (6)

  • SKILL.md7.0 KB
  • examples/parallel-feature.md1.5 KB
  • examples/research-implement.md1.6 KB
  • examples/review-pipeline.md1.9 KB
  • references/subagent-types.md8.2 KB
  • references/team-patterns.md5.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Agent Team Orchestration

Orchestrate multi-agent teams to decompose complex tasks, select optimal sub-agents, and execute work in parallel.

When to Use

  • Tasks requiring parallel work across multiple domains (frontend + backend, research + implementation)
  • Complex multi-step tasks benefiting from specialization (plan, implement, test, review)
  • Large-scale refactoring or feature development spanning many files
  • Tasks requiring both research and implementation phases

Core Workflow

1. Task Decomposition

Analyze the user's request and break it into independent, parallelizable units:

  1. Identify the goal and deliverables
  2. Split into sub-tasks that can run concurrently
  3. Identify dependencies between sub-tasks (what blocks what)
  4. Assign each sub-task to the optimal agent type

2. Agent Type Selection

Select the optimal subagent_type for each sub-task based on the work required.

Built-in Agents

Agent TypeBest ForTools Available
general-purposeImplementation, file editing, full-stack workAll tools (Read, Write, Edit, Bash, Glob, Grep, etc.)
ExploreCodebase research, finding patterns, understanding architectureRead-only (Glob, Grep, Read, WebFetch, WebSearch)
PlanDesign decisions, architecture planning, implementation strategyRead-only (same as Explore)
BashGit operations, build commands, CLI tasksBash only
code-simplifierRefactoring, cleanup, code quality improvementsAll tools

Project Custom Agents (.claude/agents/)

Specialized agents with project-specific context pre-loaded. Prefer these over general-purpose when the task falls within their domain.

Agent TypeDomainScope Restriction
backend-devHono + Drizzle ORM + SQLite API 実装packages/server/ のみ
frontend-devNext.js 16 + React 19 + Tailwind UI 実装packages/web/ のみ
testerVitest テスト設計・実装・実行packages/server/src/__tests__/

Custom agents already know the project's coding conventions, file structure, and reference files -- no need to repeat this context in the prompt.

Selection Rules

  • Research/investigation -> Explore (fast, read-only)
  • Architecture planning -> Plan (structured output, read-only)
  • Backend API changes -> backend-dev (project-aware, scoped to server)
  • Frontend UI changes -> frontend-dev (project-aware, scoped to web)
  • Test writing/execution -> tester (project-aware, knows mock patterns)
  • Cross-package or general changes -> general-purpose (full access)
  • Build/deploy commands -> Bash (minimal overhead)
  • Refactoring -> code-simplifier (specialized for cleanup)

3. Team Spawn Pattern

For parallel independent tasks (no team coordination needed):

Use multiple Task tool calls in a single message:
- Task 1: subagent_type="Explore", prompt="Research X"
- Task 2: subagent_type="general-purpose", prompt="Implement Y"
- Task 3: subagent_type="Bash", prompt="Run tests"

For coordinated multi-step tasks (team with shared task list):

1. TeamCreate -> create team with name and description
2. TaskCreate -> create all tasks with dependencies
3. Task tool -> spawn teammates with team_name parameter
4. TaskUpdate -> assign tasks to teammates
5. Monitor progress via TaskList
6. SendMessage -> coordinate as needed
7. Shutdown teammates when done
8. TeamDelete -> clean up

4. Model Selection

Optimize cost and latency by selecting the right model per agent:

ModelWhen to Use
haikuSimple tasks: file lookups, running commands, straightforward edits
sonnetMost tasks: implementation, research, moderate complexity
opusComplex tasks: architecture decisions, nuanced analysis, multi-file refactoring

Default: inherit parent model. Override with the model parameter on the Task tool.

Common Team Patterns

Pattern A: Research-then-Implement

Parallel research phase, then sequential implementation:

Phase 1 (parallel):
  - Explore agent: "Investigate current codebase patterns for X"
  - Explore agent: "Find all files related to Y"
  - Plan agent: "Design approach for Z"

Phase 2 (after results):
  - general-purpose agent: "Implement based on research findings"

Pattern B: Parallel Feature Development

Split frontend/backend using project custom agents:

Parallel:
  - backend-dev agent: "Implement API endpoint for user settings"
  - frontend-dev agent: "Build settings page UI"
  - tester agent: "Write tests for the new settings route"

Pattern C: Review Pipeline

Multi-stage quality assurance:

Sequential:
  1. general-purpose: "Implement feature"
  2. Parallel review:
     - Explore: "Check for security issues"
     - Explore: "Verify test coverage"
     - code-simplifier: "Simplify and refactor"

Pattern D: Large-Scale Refactoring

Divide-and-conquer across file groups:

Phase 1 (Explore): "Map all files needing changes"
Phase 2 (parallel general-purpose agents):
  - Agent 1: "Refactor module A files"
  - Agent 2: "Refactor module B files"
  - Agent 3: "Refactor module C files"
Phase 3 (Bash): "Run full test suite"

Key Guidelines

Parallelization Rules

  • Launch independent tasks in a single message with multiple Task tool calls
  • Use run_in_background: true for long-running tasks that don't need immediate results
  • Check background task results with the Read tool on the output_file

Agent Communication

  • Teammates communicate via SendMessage (plain text, not JSON)
  • Messages are delivered automatically - no polling needed
  • Use broadcast only for critical team-wide issues
  • Idle state is normal - send a message to wake a teammate

Task Dependencies

  • Use addBlockedBy / addBlocks to establish ordering
  • Teammates should check TaskList after completing each task
  • Prefer ID order (lowest first) when multiple tasks are available

Cost Optimization

  • Use haiku model for simple, well-defined subtasks
  • Use Explore instead of general-purpose for read-only work (faster, cheaper)
  • Avoid spawning teams for tasks completable in a single agent turn
  • Minimize broadcasts - prefer targeted messages

Additional Resources

Reference Files

For detailed agent selection criteria and advanced patterns:

  • references/subagent-types.md - Complete guide to each agent type with capabilities and limitations
  • references/team-patterns.md - Advanced team patterns with real-world examples

Example Files

Working team configurations:

  • examples/parallel-feature.md - Parallel frontend + backend development
  • examples/research-implement.md - Research phase followed by implementation
  • examples/review-pipeline.md - Multi-agent code review pipeline

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Agent Teams スキルを設計・構築するためのベストプラクティスガイド。 サブエージェント定義、SendMessage 通信プロトコル、タスク依存管理、 PostToolUse Hook によるログ、MCP ツール統合、コンテキストファイル設計を網羅。 7つの実績あるチームスキル(app-naming, ui-review, logo-design, persona-creation, skill-creator-team, ui-variations, aso-optimize)から抽出したパターン集。 Use when: Agent Teams を使ったスキルを新規作成したい、 既存のチームスキルの品質を改善したい、エージェント間通信のデバッグ、 チームスキルの設計パターンを知りたい。 Triggers: "agent team", "チームスキル", "エージェントチーム", "サブエージェント定義", "SendMessage パターン", "チーム設計", "エージェント間通信", "team skill", "swarm pattern"

The English summary is being prepared. Showing the original description.

sean-sunagaku/claude-code-plugin38Updated Jul 30, 2026

アプリ名・サービス名の命名を、5つの専門エージェントチームで多角的に評価・決定するスキル。 ブランディング、商標/法的リスク、デジタルプレゼンス(SEO/ASO/SNS)、国際展開(多言語/発音)の 4観点から候補を提案・調査・議論し、コンテキストファイルと議事録で次回セッションへ引き継ぐ。 Use when: アプリ名を決めたい、サービス名を変更したい、プロダクト名を検討したい、 ネーミングブレスト、名前の商標チェック、アプリ名のリネーム。 Triggers: "アプリ名", "サービス名", "プロダクト名", "ネーミング", "名前を決め", "リネーム", "rename", "app name", "naming", "ブランド名", "商標チェック"

The English summary is being prepared. Showing the original description.

sean-sunagaku/claude-code-plugin38Updated Jul 30, 2026

App Store プレビュー動画を Remotion (React) で生成する Agent Team スキル。 video-director が構成を設計し、script-writer がナレーション台本を作成し、 motion-designer が Remotion コードを実装し、preview-reviewer がコードレビューし、 frame-inspector がレンダリング結果を目視検証する。 Use when: App Store プレビュー動画を作りたい、アプリのプロモーション動画を作りたい、 Remotion で動画を生成したい。 Triggers: "プレビュー動画", "App Store 動画", "アプリ動画", "preview movie", "Remotion", "動画作成", "app preview"

The English summary is being prepared. Showing the original description.

sean-sunagaku/claude-code-plugin38Updated Jul 30, 2026

アプリのトーン&マナー(トンマナ)を8名のエージェントチームで設計するスキル。 ブランドアーキタイプ・パーソナリティ定義から、カラー・タイポグラフィ・ビジュアルスタイル・ トーン・オブ・ボイスまでを一貫設計し、Pencil (.pen) + Markdown で成果物を出力する。 「デザインテンション」(矛盾ペア)を核に、AIっぽくない独自のブランドアイデンティティを生成する。

The English summary is being prepared. Showing the original description.

sean-sunagaku/claude-code-plugin38Updated Jul 30, 2026

仕様書・要件定義からソフトウェアアーキテクチャを設計するスキル。 5人の専門エージェント(Architecture Lead・Module Designer・Dependency Analyst・ Platform Expert・Devil's Advocate)が協議しながら、 モジュール分割・依存関係・データフロー・インターフェース設計を行う。 成果物は構造化されたアーキテクチャ設計書(Markdown)。 Use when: 仕様書からどう設計するか迷っている時、モジュール分割の方針を決めたい時、 技術スタックに合ったアーキテクチャパターンを選びたい時、 設計書を作成したい時。 Triggers: "アーキテクチャ設計", "arch design", "仕様書から設計", "モジュール分割", "設計書を作りたい", "アーキテクチャを考えて", "コンポーネント設計", "依存関係を設計", "どう設計する", "design the architecture", "design from spec"

The English summary is being prepared. Showing the original description.

sean-sunagaku/claude-code-plugin38Updated Jul 30, 2026

コードベースのアーキテクチャを 6 つの専門エージェントチーム(Claude 5体 + Codex 1体)で 多角的に分析し、リスク・デグレしやすい箇所・改善ポイントを洗い出すスキル。 パフォーマンス、スケーラビリティ、信頼性、セキュリティ、運用、DX、データ整合性、依存関係の 8 観点を 5 グループに分担し、さらに Codex がクロスカットレビュアーとして横断分析する。 エージェント同士が反論・補足・自由な議論を行い、合意形成した結果をレポートとして出力する。 どのプロジェクトでも使える汎用スキル。 Use when: アーキテクチャを分析したい、リファクタリング前にリスクを把握したい、 デグレしやすい箇所を知りたい、コードの健全性を確認したい、大きめの実装前に注意点を洗い出したい、 技術的負債を可視化したい、コードベースの品質を監査したい。 Triggers: "arch review", "アーキテクチャ分析", "アーキテクチャレビュー", "リスク分析", "コード監査", "codebase audit", "技術的負債", "デグレしやすい", "architecture analysis", "risk analysis", "コードの健全性", "品質チェック", "実装前の確認"

The English summary is being prepared. Showing the original description.

sean-sunagaku/claude-code-plugin38Updated Jul 30, 2026

See all skills by sean-sunagaku

Report a problem with this skill