human-in-the-loop
by Tzafrir Rehan · ★ 1 · updated 2 days ago
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.
Install
/plugin marketplace add tzafrir/human-in-the-loop/plugin install human-in-the-loop@human-in-the-loopThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startsession.endcommand.runtool.describetool.callturn.startturn.stepturn.completeui.renderprompt.submitprompt.composeprompt.context- API calls
$.clock.after$.clock.every$.clock.now$.command.register$.prompt.fill$.prompt.read$.prompt.submit$.session.append$.session.id$.session.root$.state.get$.state.set$.store.get$.store.set$.tool.register$.ui.close$.ui.focus$.ui.open$.ui.panes$.ui.resolve$.ui.status$.ui.toast- Draws
AbovePromptToolUsePane- Can see
mcp__human-in-the-loop__assign_task callsmcp__human-in-the-loop__list_tasks callsmcp__human-in-the-loop__withdraw_task callsevery promptthe system prompt- Reach
- level 2 of 3 other: $.prompt.readother: $.state.getother: $.state.setdrives Claudewrites the prompt boxpersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/tzafrir/human-in-the-loop
- Path in repo
- repository root
- Author
- Tzafrir Rehan @tzafrir
- License
- MIT
- First published
- Last pushed
- First listed here
- On X
- Mentioned in 1 post on X
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
Posts about this repo
New Claude Code feature! (through a Mod I created) Let Claude assign *you* tasks while it works! Your tasks waits in a new UI pane, and your answers go back to Claude Tasks are unique per project/session, and follow you to your next session https://github.com/tzafrir/human-in-the-loop/