Home / Claude Code mods / Interface / human-in-the-loop

human-in-the-loop

human-in-the-loop is a Claude Code mod by tzafrir that claude assigns you the tasks only you can do. They wait in a My tasks pane, counted under the prompt, until you answer or reject them, so nothing Claude needs from you gets lost in the chat.

Updated 2026-10-18

What is human-in-the-loop?

human-in-the-loop is a Claude Code mod by tzafrir that claude assigns you the tasks only you can do. They wait in a My tasks pane, counted under the prompt, until you answer or reject them, so nothing Claude needs from you gets lost in the chat. It is listed under Interface and has 30 GitHub stars.

TypeClaude code mod
Authortzafrir
Repositorytzafrir/human-in-the-loop
Popularity30 GitHub stars
CategoryInterface
SecurityLow risk (84/100)
Rank#262 of 5,272 Claude Code mods; #104 in Interface
LicenseMIT
Last commit2026-10-18
Stars this week+8
Hooks12 events
Seesevery prompt, mcp__human-in-the-loop__assign_task calls, mcp__human-in-the-loop__list_tasks calls, mcp__human-in-the-loop__withdraw_task calls, the system prompt
Draws onAbovePrompt, ToolUse, Pane

Is human-in-the-loop safe to install?

human-in-the-loop scores 84/100 on the MCPMods security check: Low risk. Things to review: watches every prompt or event. It passed 6 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Watches every prompt or eventReview
Drives Claude (model calls, prompts)Note
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.after
$.clock.every
$.clock.now
$.clock.sleep
$.command.register
$.prompt.fillwrites the prompt box
$.prompt.read
$.prompt.submitdrives Claude
$.session.append
$.session.id
$.session.root
$.state.get
$.state.set
$.store.deletekeeps its own state
$.store.getkeeps its own state
$.store.keyskeeps its own state
$.store.setkeeps its own state
$.tool.registerdrives Claude
$.ui.closedraws interface
$.ui.focusdraws interface
$.ui.opendraws interface
$.ui.panesdraws interface
$.ui.resolvedraws interface
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install human-in-the-loop?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/tzafrir/human-in-the-loop
    claude plugin validate ./human-in-the-loop/.
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add tzafrir/human-in-the-loop && claude plugin install human-in-the-loop@human-in-the-loop

Or ask Claude to set it up

Paste this into Claude Code and it installs human-in-the-loop for you:

Install the "human-in-the-loop" Claude Code mod from https://github.com/tzafrir/human-in-the-loop. Run claude plugin validate on it first and show me what it can access before you enable it.