human-in-the-loop

human-in-the-loop is a skill for Claude Code, Codex from VoDaiLocz/kilo-kit-mcp. It costs 42 tokens per session (843 once invoked), scanned C, original, Apache-2.0.

A framework for adding human approval checkpoints to actions taken by software agents. Human-in-the-loop means a person reviews higher-risk actions before they happen.

In plain words
What is it for?
Use it to design approval gates, risk levels, confirmation steps, and audit trails for agent workflows.
Why use it?
It reduces the risk of an agent deleting files, changing infrastructure, or making financial or security decisions without oversight.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design approval gates, risk levels, confirmation steps, and audit trails for agent workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vodailocz/kilo-kit-mcp/human-in-the-loop
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 VoDaiLocz/kilo-kit-mcp --skill human-in-the-loop
Clone the repo
git clone --depth 1 https://github.com/VoDaiLocz/kilo-kit-mcp

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/vodailocz/kilo-kit-mcp/human-in-the-loop/github.svg)](https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/human-in-the-loop)
Your own site
<a href="https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/human-in-the-loop"><img src="https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/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/vodailocz/kilo-kit-mcp/human-in-the-loop"><img src="https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/human-in-the-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 843 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00042 $0.00843
Opus 5.5 $0.00017 $0.00337
Sonnet 5.5 $0.00008 $0.00169
Haiku 4.5 $0.00004 $0.00084

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

Security

Grade C, and why

human-in-the-loop scanned grade C with 1 finding 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 2mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- Before performing destructive file operations (e.g., `rm -rf`, bulk overwrites).
skills/productivity/human-in-the-loop/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Human-in-the-Loop (HITL) Patterns

Overview

The "Human-in-the-Loop" (HITL) skill provides a standardized framework for integrating human oversight into agentic workflows. By tiering actions based on risk, we ensure autonomy is utilized safely for low-impact tasks while maintaining rigorous human control over high-impact operations. This skill aligns with the C4 Runtime Protocol to prevent "black box" agent behavior.

When To Use

  • Before performing destructive file operations (e.g., rm -rf, bulk overwrites).
  • Before triggering deployment pipelines or infrastructure changes.
  • Before making financial or security-impacting decisions.
  • When an agent's confidence in a plan or outcome is below a critical threshold.
  • When the user requires explicit auditability of agent intent.

Risk-Tiered Action Matrix

To manage friction, apply the appropriate gate based on the action category:

Tier Category Mechanism User UX
0 Informational Auto-Approve Logged in background/console.
1 Standard Edit Warn/Confirm Inline diff preview + "Proceed".
2 Destructive/Critical Hard Gate Explicit approval required; blocked until sign-off.
3 Financial/Deployment Multi-Factor/Formal Audit Requires explicit sign-off via UI/Artifact link.

Checkpoint Design Patterns

  1. The Plan Preview: Agents must expose the plan artifact before execution.
  2. Structured Clarification: Use tool-based, multi-choice queries to reduce ambiguity, avoiding open-ended questions that fatigue users.
  3. Delta Validation: Always present a diff or specific "what is changing" summary before writing.
  4. Resumption Points: Save state tokens to ensure that if a session drops, the human can review the exact state, modify if needed, and resume.

Implementation Workflow

  1. Identify Risk: Evaluate the proposed task against the Risk-Tiered Action Matrix.
  2. Surface Intent: Generate an "Action Summary" using the ask_question tool or an artifact.
  3. Await Authorization: Use non-blocking pauses (or asynchronous messaging) to wait for approval.
  4. Execute with Trace: Perform the action under a logging wrapper that records the authorized state ID.
  5. Verify: Immediately follow with a verification check to confirm the expected outcome.

Read the full file on GitHub · 61 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. 2mo ago Changed scan D → C 5bbf6288b2ae
  2. 2mo ago First seen · 61 lines · 42 tokens per session scan D 32e4dad84127

Subscribe to this mod's changes

human-in-the-loop is a skill published in the GitHub repository VoDaiLocz/kilo-kit-mcp (28 stars, last pushed 15d ago), licensed Apache-2.0. It adds 42 tokens to every session and 843 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

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-loopVoDaiLocz/kilo-kit-mcpSkill2815d agoApache-2.0C42Claude Code, Codex
llm-structured-outputhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A42Claude Code, Codex
drizzle-orm-experthybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A41Claude Code, Codex
landing-page-generatorhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A50Claude Code, Codex
tdmcp-pipelinehybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A128Claude Code, Codex
memb-skillhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A36Claude Code, Codex
startcycle-graph-userhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A102Claude Code, Codex