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 $0.00021 $0.00421
Sonnet 5 $0.00008 $0.00169
Haiku 4.5 $0.00004 $0.00084

Measured 5d ago against content hash 5bbf6288b2ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 5d 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. 5d ago Changed scan D → C 5bbf6288b2ae
  2. 9d 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 (26 stars, last pushed 4d ago), licensed Apache-2.0. It adds 42 tokens to every session and 843 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

llm-structured-output

Get reliable JSON, enums, and typed objects from LLMs using responseformat, tooluse, and schema-constrained decoding across OpenAI, Anthropic, and Google APIs.

hybridlabor-api/bdb-dev-optimized-agent-skills · 42 tokens

drizzle-orm-expert

Expert in Drizzle ORM for TypeScript — schema design, relational queries, migrations, and serverless database integration. Use when building type-safe database layers with Drizzle.

hybridlabor-api/bdb-dev-optimized-agent-skills · 41 tokens

landing-page-generator

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

hybridlabor-api/bdb-dev-optimized-agent-skills · 50 tokens

tdmcp-pipeline

Orchestrates the tdmcp feature team end-to-end: design/wireframe → build → integrate → QA → release. Use whenever the user wants to build, implement, develop, ship, or add one or more tdmcp features/tools/effects/controls/AI-prompts for TouchDesigner, or to run them through a coordinated design→develop→QA→deploy…

hybridlabor-api/bdb-dev-optimized-agent-skills · 128 tokens

startcycle-graph-user

Use when a task needs a small, throwaway multi-agent fan-out (a couple of parallel workers plus a review pass) in ANY project, without the full /startcycle-graph contract — no .agents/graph.md bootstrap, no state.json schema, no persistent files. Model-tiered by role (opus plan, sonnet review, haiku or an external CLI…

hybridlabor-api/bdb-dev-optimized-agent-skills · 102 tokens

memb-skill

BDB local-first long-term memory engine (memB). Use when querying, remembering, or adapting preferences, code architectures, and developer patterns across tasks.

hybridlabor-api/bdb-dev-optimized-agent-skills · 36 tokens