queue-handoff
यह क्या करती है
यह स्किल AI एजेंट को OpenRig की queue से काम दूसरे एजेंट या इंसान को सौंपने का मार्गदर्शन देती है, ताकि कुछ चैट में या बिना मालिक के न छूटे। यह कई मोड़ों में काम करने वाली एजेंट टीमों के लिए है।
कब इस्तेमाल करें
- ✓जब आप ऐसे काम पर मोड़ खत्म कर रहे हैं जिसका अगला कदम बाकी है।
- ✓जब आप किसी और एजेंट के काम पर अटके हैं और उसका इंतज़ार करना है।
- ✓जब किसी बात को इंसान तक ट्रैक की गई वस्तु के रूप में ले जाना हो।
Skill का लिंक
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/assets/plugins/openrig-core/skills/queue-handoff/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैंने parser वाला हिस्सा पूरा कर लिया है। अगला कदम queue के ज़रिए reviewer को उन नोट्स के साथ सौंपिए जिनकी उन्हें ज़रूरत है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह मालिक, स्थिति और अगले कदम के साथ टिकाऊ queue item बनाती या अपडेट करती है, ताकि प्राप्तकर्ता को जगाया जाए और काम न खोए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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
अक्सर पूछे जाने वाले सवाल
क्या प्राप्तकर्ता को जगाया जाता है?
डिफ़ॉल्ट रूप से टिकाऊ queue item के साथ प्राप्तकर्ता को wake-up ping भी मिलता है।
सिर्फ़ चैट संदेश क्यों न भेजें?
स्किल कहती है कि चैट संदेश छूट सकता है, जबकि queue item टिकाऊ रहता है और उसका मालिक होता है।
अगर काम पूरा हो गया हो तो?
अगर वह पूरा है और उसका कोई अगला मालिक नहीं, तो स्किल उसे handoff के बजाय complete बंद करने को कहती है।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 8.6k
- रैंकिंग में स्थान
- #12394
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
agent-operated-software
8.6kयह आपके एजेंट को ऐसे चालू ऐप को डिज़ाइन, बनाने या डीबग करने में मदद करती है जिसके लाइव बैकएंड में AI एजेंट शामिल हैं, जैसे Markdown या JSON control plane।
agent-operated-workflows
8.6kयह आपके एजेंट को तय करने में मदद करती है कि कोई सीमित प्रक्रिया AI एजेंट चलाए या साधारण कोड, और सत्यापित सबूत से उसे कैसे फिर से शुरू करे।
applying-a-permission-policy
8.6kयह आपके एजेंट को टीम सेटअप के दौरान AI coding एजेंट की कमांड अनुमतियां सेट करने में मदद करती है, ताकि रोज़ के कमांड कम मंज़ूरी प्रॉम्प्ट के साथ चलें।
claude-compaction-restore
8.6kयह Claude Code एजेंट को compact होने के बाद सहेजे restore map, उसके transcript और छुई गई फ़ाइलों से अपनी कार्य-समझ फिर बनाने में मदद करती है।
मिलती-जुलती skills
knowledge-automation
394kयह आपके एजेंट को एक नियमित काम सेट करने देती है जो समय-सारणी पर Knowledge vault में नई सामग्री जोड़ता है, फिर जांचता है कि काम चल रहा है।
knowledge-source-ingest
394kयह आपके एजेंट को चैट चैनल, फ़ीड या मेलबॉक्स से आई नई चीज़ों से Knowledge vault अपडेट रखने देती है, बिना वह दोबारा जोड़े जो पहले से है।
benchmark
280kयह आपके एजेंट को code की speed और performance नापने में मदद करता है। यह पक्का करने और धीमेपन की समस्याएँ ढूँढने में काम आता है।