human-in-the-loop
できること
このスキルは、AIエージェントが立ち止まって人に判断を求めるべきときと、その要求を明確で追跡できるようにする方法を導きます。大半の作業は自律的に動かし、人が判断すべき箇所だけを人に回したいチーム向けです。
使う場面
- ✓作業の一区切りがついた後、次の手順に人の承認が必要かを決めるとき。
- ✓利用上限やプロダクトのトレードオフなど、本物の判断を人に届ける必要があるとき。
- ✓人が判断を受け取る、キューやダッシュボードを設計しているとき。
スキルのリンク
https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/shared/skills/core/human-in-the-loop/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“エージェントがプロバイダーのログインの上限に達しました。人が対応すべきか判断し、必要なら追跡可能な判断の依頼を送ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、終わった作業のそれぞれを、続行、人への確認、保留のいずれかに振り分けます。本当に人の判断が必要な場合にだけ、追跡可能な判断を送ります。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Human In The Loop
The primitive that treats humans as durable network participants — attention surfaces, queues, decision records, routing semantics — not as ad-hoc chat receivers.
Autonomy is not the absence of humans; it is knowing when human judgment is needed and making that handoff crisp.
Use this when
- A slice closeout needs classifying: auto-continue, human gate, or park
- A real decision needs to land in front of a human (usage limits, provider auth, roadmap tradeoff, product-intent ambiguity)
- Designing a human queue/dashboard surface
- Returning a hot potato to orchestration after human approval
Don't use this when
- The slice closeout is clean and
PROGRESS.mdalready names the next safe slice. Default RSI conveyor continues; do NOT manufacture a human gate. - The escalation is just a status update. Humans are participants for decisions, not narration.
- The next owner is another agent. Use queue-handoff, not human-in-the-loop.
The 3-class closeout classification
In a productized daemon-backed version, closeout classifies the next step BEFORE touching the human queue:
| Class | When | Action |
|---|---|---|
| auto-continue | Slice closes cleanly, next named slice in workstream plan | Mark closed; create next-owner qitem from plan |
| human gate | Genuine decision needed (usage limits, provider auth, product-intent ambiguity, roadmap tradeoff) | Create human queue item with proof + decision text + recommended default + action outcomes |
| park | Intentionally stop the conveyor (e.g., waiting on external) | Stop with reason + resumption path |
Failure modes (5)
- Human decision needed, but the rig only mentions it in chat. Decisions belong as durable attention items, not chat messages.
- Human queue item lacks enough plain-English context for a decision. Include proof + decision text + recommended default + action outcomes.
- Human response updates a file but does not wake the next owner. Approval should return the hot potato; feedback should create the next durable qitem.
- The dashboard shows too much raw rig state and hides the actual decision queue. Decision queue is the primary surface; rig state is secondary.
- A clean closeout is parked on the human even though
PROGRESS.mdalready names the next safe slice. Don't manufacture human gates.
Proof standard (both paths)
A trustworthy human-in-the-loop system proves both directions:
- Blocking gate path: real item routed to human → human decision recorded through UI → resulting hot-potato handoff wakes correct next owner
- Non-blocking closeout path: proof inspectable by human, but orchestrator continues to next named slice without manufacturing a human gate
A primitive that only wakes humans is not trustworthy. It must also know when NOT to.
Product shape (SHIPPED — Mission Control, PL-005)
This surface has shipped as Mission Control (product UI, /mission-control
route; actions via POST /api/mission-control/action). The seven verbs the
human acts with:
- approve (returns the hot potato to orchestration or the chosen owner)
- deny (reject the item)
- route (send to a different owner)
- annotate (add context without action)
- hold (intentional pause with reason)
- drop (mark not-actionable)
- handoff (hand to a specific next owner — creates the next durable qitem)
Approval returns the hot potato to orchestration or the chosen owner;
feedback creates the next durable qitem rather than only mutating the source
queue file — enforced by the shipped verbs (handoff/route create qitems).
See docs/as-built/architecture/mission-control.md.
Long-term shape
Likely needs multiple humans with different scopes, not a singleton human attention feed. Different humans own different decision domains; queue items route by scope.
See also
queue-handoffskill — durable handoff via queue items; human-in-the-loop is the human-side complementwatchdogskill — when to wake (humans included) vs no-oplooping-workflows(convention) — the looping-workflows convention covers loop closeouts; human-in-the-loop is the escape hatch
よくある質問
完了した作業のすべてに承認が必要ですか?
いいえ。スキルは、きれいに終わった作業は既定で続行し、作られた人間のゲートは設けないと述べています。
ステータスの報告は、誰かに連絡する理由になりますか?
いいえ。スキルは、人が関わるのは判断のためであって、状況の説明のためではないと述べています。
次の手順が別のエージェントのものだったらどうしますか?
人への依頼ではなく、キューを通じて別のエージェントに引き渡すよう、スキルは述べています。
詳細
作者による元の説明
Use when classifying a slice closeout (auto-continue / human gate / park), routing a real decision to a human, or designing a human queue/dashboard surface. Treats humans as durable network participants with attention surfaces, queues, and decision records — escalation lands as a durable attention item, not a chat message. Approval is NOT required for every clean closeout; the default RSI conveyor continues unless an explicit human gate is reached.
repo: mvschwarz/openrig
人気
- GitHubのスター
- 8.6k
- ランキング
- #12404
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
agent-operated-software
8.6kエージェントが、AIエージェントを稼働中のバックエンドに含む継続的なアプリを設計、構築、デバッグできるよう支援します。MarkdownやJSONのエージェント制御層を含みます。
agent-operated-workflows
8.6kエージェントが、限定された定型の手順をAIエージェントが動かすべきか通常のコードが動かすべきかを判断し、検証済みの証拠から再開する方法を決められるよう支援します。
applying-a-permission-policy
8.6kエージェントが、チームの設定時に使うコマンドの許可を設定し、通常のコマンドが承認の確認を何度も求めないよう支援します。
claude-compaction-restore
8.6kClaude Codeのエージェントが、コンテキストが圧縮された後に、保存された復元用のマップ、トランスクリプト、触れたファイルを使い、作業の全体像を組み直せるよう支援します。