delegate
Fungsinya
Skill ini menjelaskan kapan bagian dari pekerjaan yang lebih besar sebaiknya diserahkan kepada sub-agent yang bekerja bersamaan. Skill ini ditujukan untuk orang yang menjalankan tugas coding, riset, atau pemeriksaan bertahap dengan AI.
Kapan dipakai
- ✓Saat tugas besar dapat dipecah menjadi bagian independen yang berjalan bersamaan.
- ✓Saat Anda ingin pembantu meninjau sekumpulan file terbatas secara hanya-baca.
- ✓Saat suntingan mekanis atau eksekusi tes dapat diserahkan dengan batas yang jelas.
Link skill
https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/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
“Pecah migrasi ini menjadi beberapa bagian dan minta pembantu menangani pemindaian file, sementara Anda menangani desainnya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
AI induk tetap memegang keputusan dan tinjauan akhir, lalu memberi setiap pembantu hasil yang jelas dan kriteria penerimaan, dan menjalankan pembantu independen bersamaan.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Delegate
Use sub-agents when they can do focused work in parallel while the parent keeps architectural judgment, integration, and final verification.
Keep vs Delegate
Keep in the parent:
- Understanding the user's actual request and constraints
- Architecture, security, product, and release-risk decisions
- Cross-module integration
- Final review, test interpretation, and user-facing summary
Delegate to sub-agents:
- Read-only exploration over a bounded file set
- Mechanical edits with a clear file ownership boundary
- Focused test or lint runs
- Boilerplate generation from an explicit spec
- Independent checks that can run while parent work continues
Do not delegate tiny one-step tasks, ambiguous product decisions, destructive operations without a clear acceptance criterion, or final verification.
Launch Focused Work
Use agent for a focused child run. Launch independent children together so they can run in parallel.
Give each child a concrete outcome and acceptance criteria. Let it continue until the work is complete or it needs input. Do not invent time, turn or token budgets, or tell it to stop early because a percentage of a budget has elapsed. The runtime carries any limits explicitly configured by the owner.
Prefer provider-neutral model_strength over hardcoded model ids. Children inherit the active model by default (model_strength: "same"), including type: "explore", so pass model_strength: "faster" explicitly to get the cheaper same-family sibling for read-only exploration:
{
"name": "config_audit",
"prompt": "Inspect crates/tui/src/config.rs and crates/tui/src/settings.rs for duplicate model-default logic. Return file/line findings only; do not edit files.",
"type": "explore",
"model_strength": "faster",
"cwd": "."
}
For code changes, give the child a precise write boundary and tell it not to revert unrelated edits. Keep implementation children capable with model_strength: "same":
{
"name": "docs_patch",
"prompt": "Update only docs/configuration.md to document the new [statusline] keys. Match the surrounding style. Do not edit other files.",
"type": "implement",
"model_strength": "same",
"cwd": "."
}
Use fork_context: true only when the child genuinely needs the current conversation prefix. Leave it omitted for fresh, narrower context.
Route the Work
Choose the route per child from agent(action:"roster") (no provider request), not from memory. It lists each role's resolved route and the models you may pick.
thinkingoverrides a saved tier on any role. Dial:off low medium high xhigh max ultra, plusinherit(role default, then session effort) andauto.modelandmodel_strengthapply to unpinned routes only. A pinned profile refuses a conflicting model; to choose a model, start an unpinned role such asgeneral.model_strength: "faster"is the same-family faster sibling,"same"the session model.- Read the receipt, not your request:
child_routeshows the provider, model and route source, andrequested_reasoningvseffective_reasoningshows what the route actually ran. - Route by stakes. Mechanical work: the cheapest sufficient route with
thinking: "off"or"low". Implementation: a capable route atmediumor above. Review and verification: a strong route athigh, on a different route than the author when independence matters.
Evaluate and Verify
Sub-agent outputs are self-reports. Re-check material claims before relying on them:
- Read changed files directly.
- Run the relevant tests locally.
- Inspect unexpected diffs before committing.
- Verify externally visible or destructive claims against source data.
Prompt Shape
A good delegation prompt includes:
- The exact task
- Files or modules owned by the child
- Files or behavior the child must not touch
- Expected output format
- Acceptance criteria
Weak prompt:
Fix the settings bug.
Strong prompt:
Own only crates/tui/src/settings.rs and its tests. Preserve existing config key names. Verify with the existing checks that provider-specific API key changes do not restart provider onboarding. Return the changed paths and test command output.
Pertanyaan umum
Apa yang tetap dipegang AI utama?
Memahami permintaan Anda, keputusan arsitektur dan keamanan, integrasi lintas modul, dan tinjauan akhir tetap berada di induk.
Apa yang tidak boleh didelegasikan?
Tugas kecil satu langkah, keputusan produk yang ambigu, operasi destruktif tanpa kriteria yang jelas, dan verifikasi akhir.
Bisakah saya mengendalikan model pembantu?
Bisa. Skill memilih pengaturan kekuatan model yang netral terhadap penyedia, dan pembantu mewarisi model aktif secara default.
Detail
Deskripsi asli dari pembuat
Strategic delegation for multi-step coding, research, or verification work. Use when a task can be split into parent reasoning plus focused sub-agent execution through the agent tool.
repo: codewhale-hq/Codewhale
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #6523
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
best-of-n
41kMembantu agent Anda menghasilkan beberapa jawaban independen untuk masalah sulit, menilainya dengan satu rubrik, dan hanya menerapkan jawaban yang lolos pemeriksaan.
dataviz
41kMembantu agent Anda memilih bagan atau dasbor yang sesuai untuk data Anda, dengan label yang jelas, catatan sumber, dan pemeriksaan pada sumbu serta nilai yang hilang.
debug
41kMembantu agent Anda menemukan penyebab sebenarnya dari bug dengan mereproduksinya, mempersempitnya, dan memperbaikinya hanya setelah Anda setujui, bukan menebak.
dependency-update
41kMembantu agent Anda memperbarui sekumpulan dependensi perangkat lunak yang disebutkan, membaca catatan rilisnya, memperbaiki perubahan yang merusak, dan menjalankan pemeriksaan proyek.
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.