delegating-work
Fungsinya
Skill ini membantu agent AI memilih pekerja yang tepat untuk sebuah tugas, berdasarkan seberapa banyak konteks yang dibutuhkan pekerja itu untuk mengerjakannya dengan baik. Skill ini ditujukan untuk agent yang mengoordinasikan pekerjaan di dalam tim agent.
Kapan dipakai
- โSaat Anda punya tugas dan harus memutuskan apakah akan mengerjakannya sendiri atau menyerahkannya.
- โSaat Anda akan membuat subagen dan perlu memberinya arahan yang baik.
- โSaat sebuah tugas membutuhkan konteks yang sudah dipegang agent rekan.
Link skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/delegating-work/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
โSaya perlu tinjauan mendalam atas rencana migrasi ini. Apakah saya kerjakan sendiri, buat pembantu, atau kirim ke peninjau yang mengenal proyek ini?โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menanyakan seberapa banyak yang harus dibaca agent kosong sebelum bisa mengerjakan tugas dengan benar, lalu mengarahkan pekerjaan dengan konteks besar ke agent yang sudah mengenal proyek, dan pekerjaan kecil yang mandiri ke subagen.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum
Apa itu subagen?
Subagen adalah agent pembantu yang dimulai untuk satu tugas mandiri, dan memulai tanpa memori tentang proyek.
Kapan sebaiknya saya menghindari subagen?
Skill menyarankan untuk menghindarinya jika tugasnya membutuhkan banyak latar belakang yang tidak bisa dilihat pembantu kosong.
Bagaimana jika saya tidak yakin?
Skill menyarankan memilih rekan tim sungguhan yang mengenal pekerjaannya, atau mengerjakan tugasnya sendiri.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 8.6k
- Peringkat
- #12386
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
agent-operated-software
8.6kMembantu agent Anda merancang, membangun, atau men-debug aplikasi yang sedang berjalan dengan backend live berisi agent AI, seperti bidang kontrol agent berbasis Markdown atau JSON.
agent-operated-workflows
8.6kMembantu agent Anda memutuskan apakah sebuah prosedur terbatas sebaiknya dijalankan oleh agent AI atau oleh kode biasa, dan cara melanjutkannya dari bukti yang sudah diverifikasi.
applying-a-permission-policy
8.6kMembantu agent Anda mengatur izin perintah yang dipakai agent pengodean AI selama pengaturan tim, agar perintah rutin berjalan dengan lebih sedikit permintaan persetujuan.
claude-compaction-restore
8.6kMembantu agent Claude Code membangun kembali gambaran kerjanya setelah konteksnya dipadatkan, memakai peta pemulihan yang disimpan, transkripnya, dan file yang disentuhnya.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.