跳到正文
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.

AI 评分90分/ 100查看安装方法

适用场景

  • 分工完成设计到审查的流程
  • 在Grok Build中交接工作
  • 管理多个团队的消息和进度
  • 使用worktree隔离开发工作

中文介绍

功能

在Grok Build中将具有名称和角色的多个智能体作为团队运行。可创建团队、登记工作顺序、向成员发送消息、检查收件箱和进度,并处理团队关闭。优先使用Ruflo MCP的team_*工具,无法使用时改用附带的grok-team-bus.mjs。

适用场景

适合将设计、实现、测试和审查分配给不同成员,并按顺序交接工作的情况。消息按团队分开,可同时运行多个团队。资料还给出了让开发和测试成员使用Git worktree的配置,用于分离各自的工作位置。

使用示例

  • “创建一个按设计、实现、测试、审查顺序推进的团队。”
  • “管理成员间的工作交接,汇总结果后关闭团队。”

注意事项

该流程已在Grok Build 1.0.41中确认,新版本需要核对子智能体规范。使用命令行工具时需要Node.js。登记成员只会返回启动计划,负责人仍须通过spawn_subagent启动成员。子智能体不能继续启动其他智能体,也无法使用Claude的SendMessage或TeammateTool。

本介绍由 AI(OpenAI Codex)根据公开的 SKILL.md 撰写。准确的规格请查看下方原文。

客观评估

AI 仅根据 SKILL.md 的内容,从 4 个方面进行了评估。星标数和热度不计入评估。

指令清晰度能否看出何时使用、做什么
A良好明确说明在Grok Build中分配设计至审查的角色并按顺序交接。
步骤具体性步骤、输入输出和示例是否具体
A良好提供了团队创建、登记、启动、通信和关闭的命令及启动参数。
安全性发送数据、删除文件、执行命令等是否有说明
A良好设计与审查只读,开发与测试使用worktree隔离,并禁止子智能体继续启动成员。
安装难易度所需工具和 API 密钥是否少且有说明
B部分不足列出已验证的Grok Build版本和Node.js命令,但没有Ruflo MCP安装步骤。

总分按每项 A=25 分、B=15 分、C=5 分相加。 由 AI(OpenAI Codex)于 2026年10月21日 评估。仅供参考,安装前请同时查看原文。

如果您认为评估有误,请申请复核

请写明哪一项有误以及原因。无需登录。我们会对照 SKILL.md 重新评估,并在此处更新结果。

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

包含的文件(1)

  • SKILL.md4.3 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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

免费有简介AI 评分 80分

对照HuggingFace router的模型列表与chat-ui配置,研究尚未收录的模型,编写简短英文说明,并同步添加到生产和开发配置。

  • 添加路由中新上线的模型
  • 用简短说明概括模型特点
  • 同步更新生产和开发环境的模型信息
ruvnet/ruflo7.8万2026年10月21日 更新

adr-create

免费有简介AI 评分 80分

为技术选型和设计决策创建ADR文档,沿用现有文件的连续编号,生成模板并登记到AgentDB,同时为找到的相关历史决策添加链接和依赖关系。

  • 记录采用某项技术的理由
  • 记录API或数据模型变更
  • 将基础设施决策形成文档
ruvnet/ruflo7.8万2026年10月21日 更新

adr-index

免费有简介AI 评分 90分

读取记录架构决策及其原因的ADR,创建并更新搜索索引和依赖关系图。支持两种文档格式,并汇总引用与状态的不一致情况。

  • 导入其他项目的ADR后建立索引
  • 同步文件与关系图
  • 为现有代码库开始管理ADR
ruvnet/ruflo7.8万2026年10月21日 更新

adr-reindex

免费有简介AI 评分 70分

删除ADR设计决策记录或关系信息后,清空并重建索引,移除残留的旧条目,再核对当前文件数与索引记录数是否一致;也可预览重建内容而不作更改。

  • 删除ADR文件后重建索引
  • 删除ADR关系后清理残留记录
  • 定期核对并重建ADR索引
ruvnet/ruflo7.8万2026年10月21日 更新

adr-review

免费有简介AI 评分 80分

将代码差异与记录已采纳设计决策的ADR进行核对,整理违反决策、引用过时记录及缺少相关记录的变更,并提出代码修正或决策调整建议。

  • 合并PR前检查设计决策
  • 核对重大变更与设计决策
  • 查找对已被替代ADR的引用
ruvnet/ruflo7.8万2026年10月21日 更新

adr-verify

免费有简介AI 评分 90分

检查已保存的架构决策记录(ADR),报告失效引用、替代关系中的循环和状态不一致问题,适合导入后的校验与发布前的数据检查。

  • 检查ADR导入后的数据一致性
  • 在持续集成中检测不一致问题
  • 发布前检查已保存的ADR数据
ruvnet/ruflo7.8万2026年10月21日 更新

查看 ruvnet 的全部技能

报告此技能的问题