delegating-work
Fungsinya
Skill ini memandu agent untuk memutuskan, sebelum memulai tugas bertahap, apakah utas utama atau subagen yang lebih murah sebaiknya mengerjakan pekerjaan itu. Cakupannya meliputi penulisan kode, pengujian di peramban, tindak lanjut permintaan tarik, dan siklus uji. Skill ini untuk orang yang menjalankan agent dan ingin mengendalikan biaya.
Kapan dipakai
- โSaat Anda akan menulis kode atau membuat perubahan lintas berkas sendiri.
- โKetika sebuah tugas melibatkan pengujian di peramban, pemantauan CI, atau siklus uji dan perbaikan yang berulang.
- โSaat sebuah edit tunggal yang kecil tidak punya bagian independen untuk dipisahkan.
Link skill
https://github.com/BuilderIO/agent-native/blob/main/.agents/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
โSebelum mulai, putuskan bagian mana dari perbaikan ini yang sebaiknya diserahkan ke agent pembantu yang lebih murah, dan bagian mana yang harus Anda tinjau sendiri.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa tugas sebelum memulai. Agent menyerahkan implementasi, pekerjaan peramban, dan loop berulang ke subagen, sambil menyimpan peninjauan dan keputusan di utas utama.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Delegating Work
Activation guard
Use this at the moment you're about to start a multi-step task yourself โ before the first line of code, the first browser action, the first CI poll, or the first test run. It applies whenever the main thread is about to do work, not just when the user says "parallelize this."
Skip it for a genuinely single small edit with nothing independent to split off โ spawning overhead would exceed the work itself.
Do NOT do this on the main thread
Each of these is a real temptation, not a hypothetical โ they're the single most-repeated correction the user gives, most recently today (2026-07-31):
- Writing the implementation yourself because the change "looks quick." Spawn a coding subagent even for a small fix; the main thread reviews the diff, it doesn't produce it. "Hmm why are you coding on the main thread? You're supposed to spawn cheaper models like sonnet to write the code."
- Driving the browser yourself for a UI check or E2E pass. Spawn a subagent to run Playwright / Chrome DevTools MCP and report back. "use cheaper sub agents for testing ... don't use fable (you) for browser automation bro"
- Babysitting a PR yourself (polling CI, pushing fixups). Spawn a subagent to watch and fix. "please use a cheaper model to do the babysitting - like sonnet. not you"
- Running the test/fix retry loop yourself. Spawn a subagent to run tests, read failures, patch, and re-run until green. "i prefer to use terra sub agents for testing/fixing and not use you, the main thread, for these things like i see you doing rn"
- Doing a mechanical multi-file sweep yourself (renames, lint fixes, the same small edit repeated across files). Split by file set, one subagent per slice.
- Skipping delegation "just this once" because the task feels urgent. Cost is the reason to delegate, not an excuse to skip it. "this run is getting really expensive ... fable model is now per-token pricing so this is costing me thousands"
Decision table
| Kind of work | Tier |
|---|---|
| Planning, architecture, ambiguity calls | Main thread |
| Synthesis / final review of subagent output | Main thread |
| Talking to the user | Main thread |
| Writing an implementation slice | Cheap subagent |
| Browser automation / E2E verification | Cheap subagent |
| PR babysitting (CI polling + fixups) | Cheap subagent |
| Test-fix-retry loops | Cheap subagent |
| Mechanical sweeps (rename, lint, repeated edit) | Cheap subagent(s), one per disjoint file set |
| Research / repo scans / docs extraction | Cheap subagent |
Default to the cheapest tier that can do the work reliably โ Haiku for bulk/mechanical work, Sonnet for anything needing real coding judgment. Reserve the expensive/frontier model for the main-thread row above. This is a standing instruction: don't ask the user for permission to parallelize.
What the main thread keeps
Planning, prioritization, ambiguity resolution, integrating what subagents return, final review before the user sees it, and all direct conversation with the user. Everything else in this table is a delegation candidate by default, not an exception.
Parallel edits are the intended pattern, not a risk
Parallel subagents editing disjoint files is normal and expected here. Assign non-overlapping file sets before you fan out, and have each subagent re-read existing changes before editing. Use the shared checkout's normal read-before-edit discipline.
Related skills
This skill is the decision point; it doesn't replace the workflows that follow it:
efficient-frontierโ the orchestration workflow once you've decided to delegate: handoff packets, fan-out limits, the review loop.efficient-fableโ the same workflow, plus Fable's per-token pricing as a reason it matters even more.delegate-to-agentโ the briefing contract (objective / context / output / boundaries) and fan-out discipline (cap ~3, default to one) for spawning a sub-agent from the main thread.
Pertanyaan umum
Apakah ini berlaku untuk setiap perubahan kecil?
Tidak. Skill ini menyatakan untuk melewatkan delegasi pada edit tunggal yang benar-benar kecil, karena pengaturannya lebih mahal daripada pekerjaannya.
Apa tugas utas utama?
Utas utama meninjau hasil dan membuat keputusan, alih-alih menghasilkan setiap bagian pekerjaan.
Mengapa pekerjaan peramban didelegasikan?
Skill ini menyatakan pemeriksaan peramban bisa dijalankan oleh subagen dan dilaporkan kembali, sehingga utas utama tetap fokus.
Detail
Deskripsi asli dari pembuat
Which tier โ main thread vs. a cheaper subagent โ owns a piece of work, decided at the moment you're about to start it. Use before writing an implementation yourself, driving a browser, babysitting a PR, running a test/fix loop, or doing a mechanical multi-file sweep on the main thread.
repo: BuilderIO/agent-native
Popularitas
- Bintang GitHub
- 7.6k
- Peringkat
- #13155
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- โฆ
Skill lain dari repositori ini
design-exploration
7.6kMembantu agent Anda mengeksplorasi beberapa arah desain UI secara berdampingan, membiarkan Anda memilih satu, lalu menyempurnakan desain yang dipilih.
visual-edit
7.6kMembantu agent Anda membuka aplikasi lokal yang sedang berjalan di editor visual agar Anda dapat meninjau dan mengedit layar aslinya bersama-sama.
turn-into-app
7.6kMengubah alur kerja, spreadsheet, atau proyek menjadi aplikasi visual yang rapi, dengan layar yang terisi dan agent yang bekerja di balik kontrol.
visual-plan
7.6kMengubah rencana teks biasa menjadi rencana visual interaktif dengan diagram, peta file, cuplikan kode, dan pertanyaan terbuka.
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.