queue-handoff
Fungsinya
Skill ini memandu agent AI dalam menyerahkan pekerjaan kepada agent lain atau manusia melalui antrean OpenRig, agar tidak ada yang tertinggal di chat atau tanpa pemilik. Skill ini ditujukan untuk tim agent yang bekerja melintasi banyak giliran.
Kapan dipakai
- โSaat Anda mengakhiri giliran pada pekerjaan yang masih punya langkah berikutnya.
- โSaat Anda terhambat oleh pekerjaan agent lain dan perlu menunggu.
- โSaat Anda perlu meneruskan sesuatu kepada manusia sebagai item yang dilacak.
Link skill
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/queue-handoff/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 sudah selesai dengan bagian parser. Serahkan langkah berikutnya kepada peninjau melalui antrean, dengan catatan yang mereka butuhkan.โ
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill membuat atau memperbarui item antrean yang tahan lama dengan pemilik, status, dan langkah berikutnya, sehingga penerima dibangunkan dan pekerjaan tidak hilang.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Queue Handoff
Durable work handoff via queue items. Lets the system keep moving through compactions, missed messages, and interruptions by passing the ball forward instead of leaving work suspended in chat or in-flight without an owner.
Use this when
- Ending a turn on substantive work. Active work should end by passing the ball to an owner or to the human โ never by going idle with the rig appearing dormant.
- Finishing a slice that has a clear next step. Default-nudge: receiver gets a wake-ping plus the durable queue item.
- Blocked on another agent's work. Use
rig queue block <id> --on <child>(orrig queue update <id> --state blocked --blocked-on <child>). The item stays active and returns to pending when its blocker completes. Waiting on something outside the queue, such as CI or a long job? Park the row:rig queue block <id> --on external:<what> --wake-after <duration> --continuation "<what resumes>". It stays yours and reads parked, not stalled, and the timer wakes you. - Escalating to the human. Make the escalation a durable attention item, not just a chat message.
Don't use this when
- The work is genuinely complete and there's no follow-on owner. Use
closure_reason: no-follow-on(terminal completion) orcanceled/deniedas appropriate. - The handoff would be too small and turn work into bureaucracy. Bundle the work into a coherent slice instead of decomposing every step.
- The handoff would be too broad and lose ownership/proof/closure criteria. Shape the qitem so the receiver knows the expected next action and closure evidence.
The hot-potato terminal-turn-rule
Active work ends by passing the ball to a named next owner or to the human. The qitem state machine enforces this:
pending โ in-progress โ done requires closure_reason from one of:
handed_off_toโ work continues at a different seat (target = new owner)deniedโ receiver rejected the workcanceledโ sender or receiver withdrewno-follow-onโ terminal completion, nothing else neededescalationโ kicked up to a higher tier (target = escalation target)supersededโ replaced by another qitem (target = successor qitem id)
Two of those (handed_off_to, escalation) additionally
require closure_target. The daemon enforces this at the domain layer;
every surface (CLI, MCP, future UI) inherits the same guarantee.
done is terminal. closure_reason: blocked_on is valid only on an active
state=blocked park record, as used by workflow writers; combining it with
state=done is rejected. Use the block command above to wait on another qitem.
The drafted-park failure (draft โ throw). The rule is about the actual pass, not the
intention to pass. A turn that ends with a self-instruction typed into your own prompt but left
unsent โ a drafted go-ahead, a next-atom note you never sent โ has not handed off; it has
parked, and the seat sits idle for as long as nobody notices. Drafting the handoff feels like
doing it; it isn't. Your last act on a turn must be an EDIT or a SEND โ a committed change, a
rig send, a rig queue handoff โ never a drafted prompt line left in the buffer. If your
final output is an instruction addressed to yourself, you haven't ended the turn, you've stalled it.
The dispatcher's other half โ supersession closes your own outbox. Ending your turn cleanly is only half the rule; the other half fires when you move the world. When a phase transition or a fold receipt supersedes work you dispatched, close those dispatches yourself โ with a citation to the event that superseded them. Closure-on-supersession belongs to the dispatcher, never the receiver. Make it a habit: after every fold receipt / phase transition, run an outbox audit โ which of my open dispatches did this just make moot? โ and close them with the citation.
Why it must live with you: stale dispatch-debt is invisible to the dispatcher because it lands on someone else's queue โ the cost is externalized, so no feedback loop ever fires to make you clean it up. The receiver inherits debt they did not create and must burn cycles verifying it before they can hold cleanly; a queue full of stale-pending makes check-before-holding โ the discipline you most want cheap โ expensive, and it degrades the idle-detector's signal (a real owner looks the same as a stale dispatch). Close it at the source: the moment your own transition mo
Pertanyaan umum
Apakah penerima dibangunkan?
Secara bawaan, penerima mendapat ping pembangkit bersama item antrean yang tahan lama.
Mengapa tidak cukup mengirim pesan chat?
Skill menyatakan bahwa pesan chat bisa terlewat, sedangkan item antrean tetap tahan lama dan punya pemilik.
Bagaimana jika pekerjaannya sudah selesai?
Jika sudah selesai tanpa pemilik lanjutan, skill menyarankan untuk menutupnya sebagai selesai daripada menyerahkannya.
Detail
Deskripsi asli dari pembuat
Use when ending a turn, finishing a slice, blocked on another agent's work, or escalating to a human โ durable work handoff via queue items so the system keeps moving across compactions, missed messages, and interruptions. Covers the hot-potato terminal-turn-rule (active work ends by passing the ball, not by going idle), default-nudge semantics, and when `--no-nudge` is appropriate for intentional cold park or human gate.
repo: mvschwarz/openrig
Popularitas
- Bintang GitHub
- 8.6k
- Peringkat
- #12394
- 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
knowledge-automation
394kMembantu agent Anda mengatur tugas terjadwal yang memasukkan konten baru ke Knowledge vault Anda secara rutin, lalu memastikan tugas itu berjalan.
knowledge-source-ingest
394kMembantu agent Anda menjaga Knowledge vault tetap mutakhir dengan item baru dari chat, feed, atau kotak surat, tanpa menambahkan ulang yang sudah ada.
benchmark
280kMembantu agent Anda mengukur kecepatan dan performa kode. Berguna untuk memastikan semuanya cepat dan menemukan penyebab kelambatan.