Launching Agent Teamsのロゴ

Launching Agent Teams

コミュニティ
lexler
launching-agent-teams

Launches agent teams with structured roles and task decomposition. Use when asked to create a team, spawn teammates, or coordinate multiple agents in parallel.

概要

公開者lexler
リポジトリskill-factory
スキル名launching-agent-teams
スター
239
フォーク
63
同梱ファイル
3
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    lexlerがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Launching Agent Teams」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/lexler/skill-factory/tree/main/output_skills/ai/claude-code/launching-agent-teams
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lexler/skill-factory.git /tmp/skill-factory
mkdir -p .claude/skills
cp -r /tmp/skill-factory/output_skills/ai/claude-code/launching-agent-teams .claude/skills/launching-agent-teams
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでLaunching Agent Teamsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にLaunching Agent Teamsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Launching Agent Teamsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

STARTER_CHARACTER = 🚀👥

Setup

Update reference docs to get the latest from Anthropic:

bash
python ${CLAUDE_SKILL_DIR}/scripts/update-docs.py

Prerequisites

Agent teams are experimental. The user must have this in their settings (~/.claude/settings.json or .claude/settings.json):

json
{
  "env": {
    "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1"
  }
}

If the flag isn't set, tell the user and offer to add it before proceeding.

Teams vs Subagents — Pick the Right Tool

Before launching a team, confirm it's the right approach:

Use agent teams when:

  • Teammates need to communicate with each other
  • Work benefits from debate, challenge, or cross-pollination
  • Tasks span multiple independent areas (frontend/backend/tests)
  • Investigation needs competing hypotheses

Use subagents instead when:

  • Workers just report results back (no inter-agent communication)
  • Tasks are focused and self-contained
  • You want lower token cost
  • Sequential dependency between steps

Use git worktrees when:

  • You want manual parallel sessions without automated coordination

If the task fits subagents better, say so and offer that instead.

Launching a Team

1. Clarify the Work

Before spawning anything, understand:

  • What's the goal?
  • What are the independent pieces?
  • What would each teammate own?

2. Decompose Into Roles

Each teammate should own a distinct, non-overlapping area. Overlap causes file conflicts and wasted tokens.

Aim for 3-5 teammates. More than that creates coordination overhead that rarely pays off. Each teammate should have 5-6 tasks to stay productive.

Anti-patterns:

  • Two teammates editing the same file
  • A teammate with only one small task (just do it yourself)
  • Roles so broad they inevitably overlap

3. Size Tasks Appropriately

  • Too small: coordination overhead exceeds the benefit
  • Too large: teammates work too long without check-ins
  • Right size: self-contained units with a clear deliverable (a function, a test file, a review document)

4. Write Rich Spawn Prompts

Teammates do NOT inherit the lead's conversation history. They only get:

  • CLAUDE.md and project context
  • The spawn prompt you write

Include in each spawn prompt:

  • Specific files/modules they own
  • Relevant context they need (architecture decisions, constraints)
  • What "done" looks like
  • Technologies, patterns, or conventions to follow

5. Configure Display Mode

  • in-process (default): all teammates in one terminal, cycle with Shift+Down
  • tmux/auto: split panes, each teammate visible (requires tmux or iTerm2)

For monitoring multiple teammates, split panes are better. Suggest tmux if available.

6. Create the Team

Present the proposed team structure to the user for approval before spawning. The structure should cover:

  • Team goal
  • Number of teammates and their roles
  • What each teammate owns (specific files/modules)
  • Model choice (default: inherit from lead, or Sonnet for cost efficiency)
  • Whether plan approval is needed (recommend for risky/destructive work)

Team Management

  • Plan approval: For risky work, require teammates to plan before implementing. The lead reviews and approves/rejects plans.
  • Direct messaging: Users can message individual teammates via Shift+Down (in-process) or clicking panes (split mode).
  • Task dependencies: Tasks can depend on other tasks. Blocked tasks auto-unblock when dependencies complete.
  • Hooks: TeammateIdle (exit code 2 sends feedback, keeps teammate working) and TaskCompleted (exit code 2 prevents completion).

Key Constraints

  • One team per session — clean up before starting a new one
  • No nested teams — teammates cannot spawn their own teams
  • Lead is fixed — can't transfer leadership
  • No session resumption for in-process teammates — after resume, spawn new ones
  • All teammates start with the lead's permission mode
  • Shutdown can be slow — teammates finish current tool call first

Parallel Work Principles

From large-scale multi-agent projects:

  • Decompose for true parallelism: if all agents converge on the same bug/file, parallelization fails regardless of team size
  • Design for agent orientation: teammates entering fresh need rich context in their spawn prompts and CLAUDE.md — documentation is their primary interface
  • Lightweight coordination: file-based task lists + git conflict resolution work better than complex orchestration
  • Acknowledge hard limits: autonomous agents have ceilings — plan for human verification of critical outcomes

Cleanup

Always clean up through the lead:

Clean up the team

Shut down teammates first, then clean up. If orphaned tmux sessions persist:

bash
tmux ls
tmux kill-session -t <session-name>

Reference

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Launching Agent Teams」では何ができますか?

Launches agent teams with structured roles and task decomposition. Use when asked to create a team, spawn teammates, or coordinate multiple agents in parallel.

TypingMindでLaunching Agent Teamsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Launching Agent Teamsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにLaunching Agent Teamsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/lexler/skill-factory/tree/main/output_skills/ai/claude-code/launching-agent-teamsを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Launching Agent Teamsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Launching Agent Teamsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもLaunching Agent Teamsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Launching Agent Teams」は無料ですか?

はい。lexlerがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇