delegating-work
Skill này làm gì
Skill này giúp agent AI chọn đúng người làm việc cho một tác vụ, dựa trên lượng ngữ cảnh mà người đó cần để làm tốt. Skill dành cho các agent phối hợp công việc trong một đội agent.
Khi nào nên dùng
- ✓Khi bạn có một tác vụ và phải quyết định tự làm hay giao đi.
- ✓Khi bạn sắp tạo một subagent và cần giao việc cho nó thật rõ.
- ✓Khi một tác vụ cần ngữ cảnh mà một đồng đội agent đã nắm sẵn.
Liên kết skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tôi cần rà soát sâu kế hoạch migration này. Tôi nên tự làm, tạo một trợ lý, hay gửi cho người rà soát đã hiểu dự án?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill hỏi một agent trắng cần đọc bao nhiêu để làm đúng tác vụ, rồi chuyển công việc cần nhiều ngữ cảnh cho agent đã biết dự án, và việc nhỏ tự đủ cho subagent.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
Câu hỏi thường gặp
Subagent là gì?
Subagent là một agent trợ lý được khởi động cho một tác vụ độc lập, và nó bắt đầu mà không có trí nhớ về dự án.
Khi nào nên tránh subagent?
Skill nói nên tránh khi tác vụ cần nhiều bối cảnh mà một trợ lý trắng không thấy được.
Nếu tôi không chắc thì sao?
Skill khuyên nghiêng về một đồng đội thật sự biết công việc, hoặc tự làm tác vụ.
Chi tiết
Mô tả gốc của tác giả
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
Độ phổ biến
- Sao GitHub
- 8.6k
- Vị trí xếp hạng
- #12386
- Giấy phép
- Apache-2.0
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
agent-operated-software
8.6kGiúp agent của bạn thiết kế, xây dựng hoặc gỡ lỗi một ứng dụng đang chạy có backend là agent AI, như một lớp điều khiển agent bằng Markdown hoặc JSON.
agent-operated-workflows
8.6kGiúp agent của bạn quyết định một quy trình có ranh giới nên do agent AI hay code thông thường điều khiển, và cách tiếp tục từ bằng chứng đã xác minh.
applying-a-permission-policy
8.6kGiúp agent của bạn thiết lập quyền lệnh mà agent lập trình AI dùng khi cài đặt đội, để các lệnh thông thường chạy với ít lần xác nhận hơn.
claude-compaction-restore
8.6kGiúp agent Claude Code dựng lại bức tranh làm việc sau khi ngữ cảnh bị nén, bằng một bản đồ khôi phục đã lưu, transcript và các file nó đã chạm vào.
Skill tương tự
add-model-provider
394kGiúp agent của bạn kết nối nhà cung cấp mô hình AI mới với OpenClaw bằng lệnh an toàn, giữ API key khỏi văn bản thuần và chạy thử.
acp-router
394kGiúp agent của bạn gửi một tác vụ đến trợ lý lập trình như Claude Code hoặc Cursor qua OpenClaw, để công việc chạy ngay trong công cụ đó.
browser-automation
394kHướng dẫn agent của bạn điều khiển trang web từng bước, gồm đăng nhập, tab và cách khôi phục khi trang ngừng phản hồi.