本文へ移動
cccskills
無料GitHub で公開日本語紹介

agent-teams-grok

Grok Buildで役割と名前を持つ複数のエージェントをチーム化し、設計・実装・テスト・レビューの順序、メッセージの受け渡し、進行状況と終了処理を管理します。

原文原文の説明を見る

Run Ruflo-style named Agent Teams on Grok Build using the host-agnostic team bus (scripts/grok-team-bus.mjs). Use when coordinating multi-agent pipelines, feature development with architect→coder→tester→reviewer, or replacing Claude SendMessage.

インストール方法を見る

こんなときに便利

  • 設計からレビューまで分担したいとき
  • Grok Buildで担当間の作業引き継ぎ
  • 複数チームの連絡と進行状況を管理
  • worktreeで開発作業を分離

日本語での紹介

できること

Grok Buildで、役割と名前を持つ複数のエージェントをチームとして運用します。チームの作成、作業順序の登録、担当間のメッセージ送信、受信箱と進行状況の確認、終了処理を扱います。Ruflo MCPのteam_*ツールを優先し、使えない場合は付属のgrok-team-bus.mjsを使います。

こんなときに便利

設計、実装、テスト、レビューを別の担当に分け、順番に引き継ぎたい場面に向いています。メッセージはチームごとに分かれ、複数チームを同時に運用できます。開発・テスト担当には、Gitの作業場所を分離するworktreeを使う設定が示されています。

使い方の例

  • 「設計、実装、テスト、レビューの順で進むチームを作って」
  • 「担当間の引き継ぎを管理し、結果をまとめてチームを終了して」

注意点

Grok Build 1.0.41で確認された手順です。新しいバージョンではサブエージェントの仕様確認が必要です。CLIを使う場合はNode.jsを使用します。担当の登録は起動計画を返すだけなので、リーダーがspawn_subagentで起動します。子からの追加起動はできず、ClaudeのSendMessageやTeammateToolは利用できません。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md4.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Agent Teams on Grok (ADR-402)

Claude SendMessage / TeammateTool are not available. Prefer Ruflo MCP team_* tools; CLI bus is the fallback.

Preferred: MCP tools

ToolPurpose
team_createCreate team + topology
team_planOrdered pipeline steps
team_spawnRegister agent; returns spawn plan for spawn_subagent
team_send / team_broadcastHandoff messages
team_inboxDrain/peek mailbox
team_status / team_on_stop / team_shutdownLifecycle

Discover: search_tool query team_create. Call via use_tool as ruflo__team_create etc.

Quick start (CLI fallback)

# 1. Create team
node scripts/grok-team-bus.mjs create --name feature-x --topology hierarchical

# 2. Register plan
node scripts/grok-team-bus.mjs plan --team feature-x \
  --steps '["architect","developer","tester","reviewer"]'

# 3. Register agents (prints spawnPlan JSON for spawn_subagent)
node scripts/grok-team-bus.mjs spawn --team feature-x --agent architect --role architect \
  --prompt "Design <feature>. Handoff to developer." --next developer
node scripts/grok-team-bus.mjs spawn --team feature-x --agent developer --role developer \
  --prompt "Implement from architect design." --next tester
node scripts/grok-team-bus.mjs spawn --team feature-x --agent tester --role tester \
  --prompt "Test implementation." --next reviewer
node scripts/grok-team-bus.mjs spawn --team feature-x --agent reviewer --role reviewer \
  --prompt "Review code and tests."

Lead (you) then

Checked against Grok Build 1.0.41. Pass only the live spawn arguments:

spawn_subagent({
  prompt: spawnPlan.prompt,
  description: spawnPlan.host.grok.spawn.description,
  background: spawnPlan.host.grok.spawn.background,
  isolation: spawnPlan.host.grok.spawn.isolation,
})
  1. Parse spawnPlan.host.grok.spawn (and prompt). Call spawn_subagent in one message for every agent (background: true).
  2. Leave host.grok.advisory on the plan. capability_mode and subagent_type are not spawn arguments on this Grok. The prompt carries the read-only or worktree constraint. isolation is the knob Grok enforces.
  3. .grok/agents/ruflo-* are session profiles (grok --agent-profile ruflo-coder or /agents). spawn_subagent does not select them. An omitted type is general-purpose.
  4. Children must not call spawn_subagent. Nesting depth is 1. The lead spawns the whole pipeline.
  5. Pass description unchanged (<role>:<agent>@<team>): the SubagentStop hook reads it to run on-stop for that team. Then spawn or resume the next step if needed.
  6. Synthesize results; shutdown the team. A shut-down team refuses spawn and send; team_create --force reopens the name.

Every call names its team: mail is per team, and several teams can run at once. team_spawn stops at the team's maxAgents.

If grok --version is newer than 1.0.41, re-read ~/.grok/docs/user-guide/16-subagents.md (Spawning Subagents) before forwarding extra keys. A key the schema dropped fails the spawn.

Defaults

RolePrompt constraint (advisory.capability_mode)isolation (passed through)
architect / reviewerread-onlynone
developer / testerfull toolsworktree

Messaging

node scripts/grok-team-bus.mjs send --team feature-x --to developer \
  --from architect --summary "design" --message "..."
node scripts/grok-team-bus.mjs inbox --team feature-x --agent developer
node scripts/grok-team-bus.mjs status --team feature-x

Also use Ruflo MCP when live

  • memory_search / memory_store with namespace team:feature-x
  • swarm_init for coordination records (then you still execute)

Anti-patterns

  • Waiting for swarm start to write code
  • Inventing SendMessage
  • Passing capability_mode or subagent_type into spawn_subagent (they are advisory on Grok Build 1.0.41)
  • Parallel coders on the same tree without worktrees
  • A child calling spawn_subagent (depth limit is 1)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

add-model-descriptions

無料概要あり

HuggingFace routerのモデル一覧とchat-uiの設定を照合し、未登録モデルの特徴を調査。短い英語の説明を添えて本番・開発用の設定に追加します。

  • ルーターの新モデルを追加したいとき
  • モデルの特徴を短い説明にしたいとき
  • 本番・開発用のモデル情報を同時更新
ruvnet/ruflo7.8万2026年10月20日 更新

adr-create

無料概要あり

技術選定や設計上の判断を残すADRを既存ファイルに続く連番で作成し、AgentDBへの登録と関連する過去の判断へのリンク付けまで行うスキルです。

  • 技術採用の理由を残したいとき
  • APIやデータモデル変更の記録
  • インフラ構成の判断を文書化
ruvnet/ruflo7.8万2026年10月20日 更新

adr-index

無料概要あり

設計判断の記録であるADRを読み込み、検索用の索引と依存関係のグラフを作成・更新します。二つの記述形式に対応し、参照先や状態の不整合も集計します。

  • 他プロジェクトのADR取り込み後
  • ファイルと関係グラフを同期したいとき
  • 既存コードのADR管理を始めたいとき
ruvnet/ruflo7.8万2026年10月20日 更新

adr-reindex

無料概要あり

削除した設計判断の記録や関係情報が索引に残る問題を、ADR索引の全件削除と再構築で解消。現在のファイルと登録件数が一致するかも確認するスキル。

  • ADRファイル削除後の索引再構築
  • ADRの関係情報を削除した後の整理
  • ADR索引の定期的な整合
ruvnet/ruflo7.8万2026年10月20日 更新

adr-review

無料概要あり

コードの変更差分を、採用済みの設計判断を記録したADRと照合します。方針への違反、古い判断への参照、関連記録のない変更を整理し、修正や判断の見直しを提案します。

  • PRをマージする前の設計確認
  • 大きな変更と設計方針を照合したいとき
  • 置き換え済みADRの参照を探したいとき
ruvnet/ruflo7.8万2026年10月20日 更新

adr-verify

無料概要あり

保存済みの設計判断記録(ADR)の関係を検証し、参照切れ、置き換え関係の循環、状態の不整合を報告。取り込み後やリリース前の整合性確認に使えます。

  • ADR取り込み後の整合性確認
  • CIで不整合を検出したいとき
  • リリース前のADRデータ点検
ruvnet/ruflo7.8万2026年10月20日 更新

ruvnet のスキルをすべて見る

このスキルの問題を報告する