brainstorming
OBobra/superpowers298k2,631 new stars in the last 7 days
当需要咨询其他 Agent、寻求帮助,或用户明确要求某个 Agent 参与时使用。支持单次委托和多任务并行委托。
当你需要向另一个 Agent 询问问题、寻求帮助、请求方案、请求复核,或用户明确要求某个 Agent 参与时使用。
listAvailableAgents()
返回所有已启用 Agent 的名称、类型和描述,根据描述选择最合适的 Agent。
delegateToAgent(
agentName="data-analyst",
task="[来自 Agent my-agent 的请求] 请帮我分析以下销售数据,给出环比趋势摘要:..."
)
agentName:目标 Agent 的名称(从 listAvailableAgents() 返回值中取)task:发送给目标 Agent 的完整任务描述task 开头加 [来自 Agent <自身名称> 的请求] 便于对方识别来源最多同时委托 3 个 Agent:
delegateParallel(
tasksJson="[
{\"agentName\": \"research-agent\", \"task\": \"[来自 Agent coordinator 的请求] 搜索 AI 行业最新融资动态\"},
{\"agentName\": \"data-analyst\", \"task\": \"[来自 Agent coordinator 的请求] 分析上季度销售数据趋势\"}
]"
)
tasksJson 是 JSON 数组字符串,每个元素包含 agentName 和 task。
listAvailableAgents() 确认名称,不要猜delegateParallel,不要串行逐个调用| 技能 | 用途 |
|---|---|
chat_with_agent | 向 Agent 咨询、委托、获取结果 |
make_plan | 专门向更强 Agent 索要执行计划(由自己执行) |
delegateToAgent 是同步阻塞调用,等待目标 Agent 完成后返回结果delegateParallel 并发执行,等所有任务完成后一次性返回所有结果delegateToAgent 是独立对话task 参数中附带上一次的关键结论OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days