跳到正文
Skillpedia
智能体8.6k · #12386

delegating-work

它能做什么

这个技能帮助 AI 智能体根据执行者做好工作所需的上下文多少,选出合适的执行者。适合在一组智能体之间协调工作的智能体。

适用场景

  • ✓你手上有一项任务,需要决定自己做还是交给别人的时候。
  • ✓你准备启动子智能体,需要向它做好交代的时候。
  • ✓任务需要队友智能体已经掌握的上下文的时候。

技能链接

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我需要深入审查这份迁移方案。应该自己做、启动一个助手,还是交给了解项目的审查者?”

每周 5 个新技能,1 分钟读完。

工作原理

它先问一个空白的智能体在正确完成任务前需要读多少资料,然后把需要大量上下文的工作交给熟悉项目的智能体,把小而独立的工作交给子智能体。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Delegating work — who should do this task?

The core question: context performance

Getting work done well is a context problem. The agent best suited to a task is the one who already holds the context that task requires. Before you spawn a subagent or grind it out yourself, ask who that is.

The decision

Ask: how much would a blank slate have to read in before it could do this correctly?

  • A lot to read in → route to a real agent in the topology that already holds it. This is what the role structure is FOR — reviewers, QA, implementers who have been on a project over time. An agent that already understands the work produces a better, safer result than any amount of briefing.
  • A little — a prompt plus light grounding is enough → spawn a subagent.
  • Genuinely unsure → err toward a real agent, or do it yourself.

Subagents are underused — reach for them far more

For self-contained work that is fully specifiable in the prompt, spawn a subagent instead of spending your own context: tracing, research, grounding passes, summarizing, scanning log files, searching, fetching, web search, mechanical extraction with citations. This is the common shape and it is under-used.

The failure mode — the part that matters most

Subagents start as blank slates, and you cannot anticipate everything they need to know. Give one a task where there is a lot to understand and it will have blind spots it does not know it has — it will complete the task and return a false conclusion, not from weakness but because it lacked the context to know what "correct" even looked like.

This is the unknown-unknowns problem, and it is the single most common subagent failure: a poorly-contextualized summary is worse than no summary, because it arrives looking like an answer. Overreliance on subagents for context-heavy work causes more problems than it solves — and a team burned by it stops using subagents at all, which is the wrong correction. The fix is not "avoid subagents"; it is "match the task to the context it needs."

The practical test

Before delegating to a blank slate, ask: would a wrong-but-plausible answer here be detectable? If the requester cannot check the result against something they already know — a citation they can open, a count they can re-run — the blind-spot risk is unacceptable, and that task belongs with an agent that holds the context.

Worked examples

  • GOOD (→ subagent): extract how four apps implement a UI mechanism, with file:line citations and an explicit instruction to report facts, not recommendations. Self-contained; the requester can verify the citations.
  • BAD to delegate blind (→ routed to the context-holder): an independent security re-sweep of a rewritten git branch, where knowing which commit range must stay byte-identical, and that "lightly obfuscated real values" is the thing to hunt, takes a paragraph to explain and one sentence to get wrong. It went to the agent already holding the context.

It generalizes

This is really "route work to whoever holds the context," with subagents as the option for work that needs none. The audience is every agent — implementers and QA seats make this call as much as orchestrators do.

Check what kind of agent you're handing it to

How to brief another agent depends on the model it runs, so check before you hand over anything open-ended. rig ps --nodes --json shows the model each seat's spec declares (model; null if none is declared). A declared model can differ from the one running, so if it's null, or you aren't sure, ask the seat which model it's running.

  • Goal-oriented models are built to take a goal and find the route themselves. Today that's Claude Opus 5.5 or newer and any Fable model, and Codex models at the Sol level or above from GPT-5.6 on (GPT-5.6-Sol, GPT-6-Sol, GPT-6.1-Sol, GPT-6-Astra). Give them the goal, why it matters, what good looks like, the requirements and the context, then let them work. Spell out the route only where those details really matter.
  • Every other model, and any model you can't identify, does its best work on smaller, simpler pieces with clear steps, clear boundaries and a result you can check. Split open-ended work before you hand it over, or keep the open-ended part yourself.

Describe the task, not the agent: don't tell a model which group it's in, or call it weaker. A model can take a label like that literally and work down to it. A newer m

常见问题

什么是子智能体?

子智能体是为一项独立任务启动的助手智能体,它一开始对项目没有任何记忆。

什么时候应避免使用子智能体?

技能说明,当任务需要大量背景,而空白助手无法看到这些背景时,应避免使用。

如果我拿不准怎么办?

技能建议倾向于交给真正熟悉工作的队友,或者自己完成任务。

详情

作者的原始描述

Use when you have a task and must decide WHO does it — yourself, a spawned subagent, or another agent in the topology that already holds the context — or how to brief the agent you hand it to, which depends on the model it runs. The rule: how much would a blank slate have to read in to do this correctly? A lot → route to a context-holding agent; a little → subagent; unsure → a real agent or yourself. NOT the mechanics of fanning out (that's dispatching-parallel-agents / subagent-driven-development) — this is the who/whether decision, and the failure mode that makes teams abandon subagents. Als

repo: mvschwarz/openrig

热度

GitHub 星标
8.6k
排名
#12386
许可证
Apache-2.0
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能