subagent-orchestrator
它能做什么
它教 AI 智能体把研究、日志阅读和命令行工作交给独立的子智能体。适用于运行大型、长时间任务、担心主对话会失去焦点的人。
适用场景
- ✓当任务规模大,需要跨多个文件进行研究时。
- ✓当某项工作会产生大量日志或命令输出,可能使对话变乱时。
- ✓当你希望智能体并行处理不同部分,同时不偏离目标时。
技能链接
https://github.com/humanlayer/humanlayer/blob/main/.claude/skills/subagent-orchestrator/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“这个项目很大。请把代码库研究和日志排查分给几个助手完成,然后给我一份总结。”
每周 5 个新技能,1 分钟读完。
工作原理
主智能体会把研究和繁杂的命令工作交给子智能体,子智能体可以并行运行。主对话则专注于整体任务。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
This skill provides you with CRITICAL instructions that will help you to maintain coherency in long-horizon context-heavy tasks.
You have a large number of tools available to you. The most important one is the one that allows you to dispatch sub-agents: either Agent or Task.
All non-trivial operations should be delegated to sub-agents. You should delegate research and codebase understanding tasks to codebase-analyzer, codebase-locator and pattern-locator sub-agents.
You should delegate running bash commands (particularly ones that are likely to produce lots of output) such as investigating with the aws CLI, using the gh CLI, digging through logs to Bash sub-agents.
You should use separate sub-agents for separate tasks, and you may launch them in parallel - but do not delegate multiple tasks that are likely to have significant overlap to separate sub-agents.
IMPORTANT: if the user has already given you a task, you should proceed with that task using this approach.
If you have not already been explicitly given a taks, you should ask the user what task they would like for you to work on - do not assume or begin working on a ticket autoatically.
常见问题
没有我的任务,它会自行开始工作吗?
不会。如果你没有给出任务,智能体会先询问你想做什么,然后再开始任何工作。
两个子智能体可以处理同一件事吗?
该技能说明,不要把有大量重叠的任务分给不同的子智能体。
它需要特殊设置吗?
没有说明需要设置。智能体使用它已经具备的子智能体工具。
详情
作者的原始描述
orchestrate sub-agents to accomplish complex long-horizon tasks without losing coherency by delegating to sub-agents
repo: humanlayer/humanlayer
热度
- GitHub 星标
- 13k
- 排名
- #11391
- 许可证
- Apache-2.0
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
asd-ste100
13k教你的智能体把难懂的英文改写成短句、每句只有一个意思,方便人和其他软件阅读。
better-github-skill
13k帮你的智能体查看拉取请求的状态、阅读其审查评论,并借助现成的 GitHub 脚本找出 CI 构建失败的原因。
calldiff
13k帮你的智能体比较代码库中两个 git 版本之间的函数调用链,让代码审查能看出行为发生了什么变化。
chrome-devtools-cli
13k帮你的智能体通过终端控制 Chrome,打开页面、点击、填写表单,并截取页面快照,用于浏览器自动化和测试。