Communitygithub.com

チームビルダー

対話形式でエージェントを選択し、並列チームを構成・起動するためのスキル。タスクに適したエージェントチームを編成し、同時に実行します。

チームビルダー とは?

チームビルダーは、複数のAIエージェント(ペルソナ)を動的に発見し、対話形式でチームを編成・並列実行するためのスキルです。ユーザーは、エンジニアリング、マーケティング、セールスなど様々なドメインから自由にエージェントを選択し、同時にタスクを割り当てることができます。このスキルは、`claude agents`コマンドによるエージェント一覧の取得と、マークダウンファイルからのペルソナ読み込みを自動的に行い、最大5つのエージェントを並列起動します。出力された結果はエージェントごとにまとめられ、最終的に統合レポートとして提示されるため、複数専門家の視点を効率的に得ることができます。Claude Code、Cursor、Codexなど、Agentツールと並列実行パターンをサポートするプラットフォームで利用可能です。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/team-builder

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

チームビルダー は何をしますか?

対話型メニューを使って、オンデマンドでエージェントチームをブラウズし、構成します。フラット構造またはドメイン別サブディレクトリ構造のエージェントコレクションに対応しています。

使用タイミング

  • 複数のエージェントペルソナ(マークダウンファイル)があり、タスクにどれを使うか選びたい場合
  • 異なるドメイン(例:セキュリティ + SEO + アーキテクチャ)からアドホックなチームを構成したい場合
  • どのエージェントが利用可能かを、決断する前にブラウズしたい場合

前提条件

エージェントファイルは、ペルソナプロンプト(アイデンティティ、ルール、ワークフロー、成果物)を含むマークダウンファイルである必要があります。最初の # 見出し がエージェント名として、最初の段落が説明として使用されます。

フラット構造とサブディレクトリ構造の両方をサポートします。

サブディレクトリ構造 — ドメインはフォルダ名から推測されます。

agents/
├── engineering/
│   ├── security-engineer.md
│   └── software-architect.md
├── marketing/
│   └── seo-specialist.md
└── sales/
    └── discovery-coach.md

フラット構造 — ドメインは共有ファイル名のプレフィックスから推測されます。2つ以上のファイルで共有されているプレフィックスがドメインとしてカウントされます。ユニークなプレフィックスを持つファイルは「General」に分類されます。注意:アルゴリズムは最初の - で分割するため、複数単語のドメイン(例:product-management)は代わりにサブディレクトリ構造を使用してください。

agents/
├── engineering-security-engineer.md
├── engineering-software-architect.md
├── marketing-seo-specialist.md
├── marketing-content-strategist.md
├── sales-discovery-coach.md
└── sales-outbound-strategist.md

設定

エージェントは2つの方法で発見され、エージェント名でマージ・重複排除されます。

  1. claude agents コマンド(プライマリ) — claude agents を実行して、CLIで認識されている全エージェント(ユーザーエージェント、プラグインエージェント(例:ecc:architect)、組み込みエージェント)を取得します。これにより、パス設定なしでECCマーケットプレイスのインストールを自動的にカバーします。
  2. ファイルグロブ(フォールバック、エージェントコンテンツ読み取り用) — エージェントマークダウンファイルは以下から読み取られます。
    • ./agents/**/*.md + ./agents/*.md — プロジェクトローカルのエージェント
    • ~/.claude/agents/**/*.md + ~/.claude/agents/*.md — グローバルなユーザーエージェント

名前が衝突した場合、優先順位はユーザーエージェント > プラグインエージェント > 組み込みエージェントです。ユーザーが指定した場合、カスタムパスを使用できます。

動作方法

ステップ 1:利用可能なエージェントを発見

claude agents を実行して完全なエージェントリストを取得します。各行を解析します。

  • プラグインエージェント は プラグイン名: というプレフィックスが付いています(例:ecc:security-reviewer)。: 以降をエージェント名、プラグイン名をドメインとして使用します。
  • ユーザーエージェント にはプレフィックスがありません。~/.claude/agents/ または ./agents/ から対応するマークダウンファイルを読み取り、名前と説明を抽出します。
  • 組み込みエージェント(例:Explore、Plan)は、ユーザーが明示的に含めるよう要求した場合を除きスキップされます。

マークダウンファイルからロードされたユーザーエージェントの場合:

  • サブディレクトリ構造: 親フォルダ名からドメインを抽出
  • フラット構造: すべてのファイル名プレフィックス(最初の - より前のテキスト)を収集します。プレフィックスは、2つ以上のファイル名に出現する場合にのみドメインとして認定されます(例:engineering-security-engineer.md と engineering-software-architect.md はどちらも engineering で始まる → Engineering ドメイン)。ユニークなプレフィックスを持つファイル(例:code-reviewer.md、tdd-guide.md)は「General」に分類されます。
  • 最初の # 見出し からエージェント名を抽出します。見出しがない場合は、ファイル名から名前を派生させます(.md を削除、ハイフンをスペースに置換、タイトルケース)。
  • 見出しの後の最初の段落から1行の要約を抽出します。

claude agents の実行とファイル場所の調査後、エージェントが見つからない場合は、ユーザーに「エージェントが見つかりません。claude agents を実行して設定を確認してください。」と通知し、停止します。

ステップ 2:ドメインメニューを表示

利用可能なエージェントドメイン:
1. Engineering — Software Architect, Security Engineer
2. Marketing — SEO Specialist
3. Sales — Discovery Coach, Outbound Strategist

ドメインを選択するか、特定のエージェントを指定してください(例:「1,3」または「security + seo」):
  • エージェントが0のドメインはスキップします(空のディレクトリ)
  • ドメインごとのエージェント数を表示します

ステップ 3:選択を処理

柔軟な入力を受け付けます。

  • 数字:「1,3」はEngineeringとSalesのすべてのエージェントを選択
  • 名前:「security + seo」は発見されたエージェントに対してあいまい一致
  • 「all from engineering」はそのドメインのすべてのエージェントを選択

5つを超えるエージェントが選択された場合、アルファベット順にリストし、ユーザーに絞り込みを依頼します:「N個のエージェントが選択されました(最大5個)。どれを保持するか選ぶか、'最初の5つ'と言って最初の5つをアルファベット順に使用してください。」

選択を確認します。

選択:Security Engineer + SEO Specialist
彼らに何を任せますか?(タスクを説明してください):

ステップ 4:エージェントを並列起動

  1. 選択された各エージェントのマークダウンファイルを読み取る
  2. まだ提供されていない場合、タスク説明を求める
  3. Agentツールを使用してすべてのエージェントを並列起動します。
    • subagent_type: "general-purpose"
    • prompt: "{エージェントファイルの内容}\n\nタスク: {タスク説明}"
    • 各エージェントは独立して実行されます — エージェント間通信は不要
  4. エージェントが失敗した場合(エラー、タイムアウト、空の出力)、インラインで失敗を記録し(例:「Security Engineer: 失敗 — [理由]」)、成功したエージェントからの結果で続行します

ステップ 5:結果を統合

すべての出力を収集し、統合レポートを提示します。

  • エージェントごとにグループ化された結果
  • 統合セクションで以下を強調表示:
    • エージェント間の一致点
    • 推奨事項間の矛盾や緊張関係
    • 推奨される次のステップ

1つのエージェントのみが選択された場合は、統合をスキップして出力を直接提示します。

ルール

  • 動的な発見のみ。 エージェントリストをハードコードしないでください。ディレクトリ内の新しいファイルは自動的にメニューに表示されます。
  • チームあたり最大5エージェント。 5を超えると効果が減少し、トークン使用量が過剰になります。選択時に強制します。
  • 並列ディスパッチ。 すべてのエージェントが同時に実行されます — Agentツールの並列呼び出しパターンを使用します。
  • 並列Agent呼び出し、TeamCreateではない。 このスキルは、独立した作業のための並列Agentツール呼び出しを使用します。TeamCreate(マルチエージェント対話のためのClaude Codeツール)は、エージェントが議論したり互いに応答したりする必要がある場合にのみ必要です。

例

ユーザー: チームビルダー

Claude:
利用可能なエージェントドメイン:
1. Engineering (2) — Software Architect, Security Engineer
2. Marketing (1) — SEO Specialist
3. Sales (4) — Discovery Coach, Outbound Strategist, Proposal Strategist, Sales Engineer
4. Support (1) — Executive Summary

ドメインを選択するか、特定のエージェントを指定してください:

ユーザー: security + seo

Claude:
選択:Security Engineer + SEO Specialist
彼らに何を任せますか?

ユーザー: 私のNext.js eコマースサイトをローンチ前にレビューして

[両方のエージェントが並列起動し、それぞれの専門性をコードベースに適用]

Claude:
## Security Engineer の所見
- [所見...]

## SEO Specialist の所見
- [所見...]

## 統合
両方のエージェントが以下で一致: [...]
緊張関係:SecurityはインラインスタイルをブロックするCSPを推奨、SEOはインラインスキーママークアップを必要とする。解決策: [...]
次のステップ: [...]

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

関連スキル