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.
| Type | Claude code mod |
|---|---|
| Author | tzafrir |
| Repository | tzafrir/human-in-the-loop |
| Popularity | 30 GitHub stars |
| Category | Interface |
| Security | Low risk (84/100) |
| Rank | #262 of 5,272 Claude Code mods; #104 in Interface |
| License | MIT |
| Last commit | 2026-10-18 |
| Stars this week | +8 |
| Hooks | 12 events |
| Sees | every 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 on | AbovePrompt, 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.prompt.fill | writes the prompt box |
$.prompt.read | |
$.prompt.submit | drives Claude |
$.session.append | |
$.session.id | |
$.session.root | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.keys | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.close | draws interface |
$.ui.focus | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install human-in-the-loop?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- 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/.
- 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.