human-in-the-loop

human-in-the-loop is a skill for Claude Code, Codex from mvschwarz/openrig. It costs 92 tokens per session (1,156 once invoked), scanned A, original, Apache-2.0.

A method for deciding when an automated workflow should continue, stop for human approval, or be put aside. It also describes queues and records for presenting decisions to people in a durable way.

In plain words
What is it for?
Use it to classify completed work, route decisions about access, limits, providers, or product direction, and design a human review queue.
Why use it?
It prevents automation from making unclear or high-impact decisions without review. It makes human involvement explicit and easier to track.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to classify completed work, route decisions about access, limits, providers, or product direction, and design a human review queue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mvschwarz/openrig/human-in-the-loop
About the project

OpenRig is a software harness that coordinates Claude Code and Codex coding agents as one system, with agent teams defined in YAML and launched together. It is for organizing persistent teams of coding agents that can delegate work to specialists and return results or decisions. The catalogue lists 53 skills and one plugin as add-ons for OpenRig.

mvschwarz/openrig · 9,019 stars · on GitHub · openrig.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mvschwarz/openrig --skill human-in-the-loop
Clone the repo
git clone --depth 1 https://github.com/mvschwarz/openrig

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for human-in-the-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/mvschwarz/openrig/human-in-the-loop/github.svg)](https://agentmods.dev/skills/mvschwarz/openrig/human-in-the-loop)
Your own site
<a href="https://agentmods.dev/skills/mvschwarz/openrig/human-in-the-loop"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/human-in-the-loop/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for human-in-the-loop

Your own site · 80×15
<a href="https://agentmods.dev/skills/mvschwarz/openrig/human-in-the-loop"><img src="https://agentmods.dev/badge/skills/mvschwarz/openrig/human-in-the-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,156 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01156
Opus 5.5 $0.00037 $0.00462
Sonnet 5.5 $0.00018 $0.00231
Haiku 4.5 $0.00009 $0.00116

Measured 3mo ago against content hash 14cf0c4a0dc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

human-in-the-loop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/daemon/specs/agents/shared/skills/core/human-in-the-loop/SKILL.md · 105 lines

How it starts

The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on 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.md already 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)

  1. Human decision needed, but the rig only mentions it in chat. Decisions belong as durable attention items, not chat messages.
  2. Human queue item lacks enough plain-English context for a decision. Include proof + decision text + recommended default + action outcomes.
  3. 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.
  4. The dashboard shows too much raw rig state and hides the actual decision queue. Decision queue is the primary surface; rig state is secondary.
  5. A clean closeout is parked on the human even though PROGRESS.md already names the next safe slice. Don't manufacture human gates.

Read the full file on GitHub · 105 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 105 lines · 92 tokens per session scan A 14cf0c4a0dc8

Subscribe to this mod's changes

human-in-the-loop is a skill published in the GitHub repository mvschwarz/openrig (9,019 stars, last pushed today), licensed Apache-2.0. It adds 92 tokens to every session and 1,156 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

human-in-the-loop compared with skills from other repositories

human-in-the-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
human-in-the-loopmvschwarz/openrigSkill9.0ktodayApache-2.0A92Claude Code, Codex
metisWholiver/metisSkill4431mo agoMITA35Claude Code, Codex
metis-browserWholiver/metisSkill4431mo agoMITA82Claude Code, Codex
dynamic-resourcesWholiver/metisSkill4431mo agoMITA11Claude Code, Codex
interviewHmbown/CodeWhaleSkill41kyesterdayMITA40Claude Code, Codex
verifyHmbown/CodeWhaleSkill41kyesterdayMITA25Claude Code, Codex
swarm-pr-reviewZaxbyHub/opencode-swarmSkill549todayMITA91Claude Code