delegating-work
What it does
This skill helps an AI agent choose the right worker for a task, based on how much context that worker would need to do it well. It is for agents that coordinate work across a team of agents.
When to use it
- βWhen you have a task and must decide whether to do it yourself or hand it off.
- βWhen you are about to spawn a subagent and need to brief it well.
- βWhen a task needs context that a teammate agent already holds.
Skill link
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βI need a deep review of this migration plan. Should I do it myself, spawn a helper, or send it to the reviewer who knows the project?β
5 new skills a week. 1 minute to read.
How it works
It asks how much a blank agent would have to read before doing the task correctly, then routes large-context work to an agent that already knows the project and small self-contained work to a subagent.
Technical content (original SKILL.md)
Original text by the author, straight from 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:linecitations 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
FAQ
What is a subagent?
A subagent is a helper agent started for one self-contained task, which begins with no memory of the project.
When should I avoid a subagent?
The skill says to avoid one when the task needs a lot of background that a blank helper cannot see.
What if I am not sure?
The skill says to lean toward a real teammate who knows the work, or to do the task yourself.
Details
Original description by the author
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
Popularity
- GitHub stars
- 8.6k
- Ranking position
- #12386
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
agent-operated-software
8.6kHelps your agent design, build or debug an ongoing app whose live backend includes AI agents, such as a Markdown or JSON agent control plane.
agent-operated-workflows
8.6kHelps your agent decide whether a bounded procedure should be run by an AI agent or by ordinary code, and how to resume it from verified evidence.
applying-a-permission-policy
8.6kHelps your agent set up the command permissions an AI coding agent uses during team setup, so routine commands run with fewer approval prompts.
claude-compaction-restore
8.6kHelps a Claude Code agent rebuild its working picture after its context is compacted, using a saved restore map, its transcript and the files it touched.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.