From Human in the loop
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.
15 events · 25 calls
Ships in Human in the loop. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callprompt.submitprompt.submittool.describeprompt.composeprompt.contextEach event it registers a hook on, with the matcher when it sets one
session.startsession.endcommand.run{command=my-tasks}tool.describe{tool=mcp__human-in-the-loop__assign_task}tool.describe{tool=mcp__human-in-the-loop__list_tasks}tool.describe{tool=mcp__human-in-the-loop__withdraw_task}tool.call{tool=mcp__human-in-the-loop__assign_task}tool.call{tool=mcp__human-in-the-loop__list_tasks}tool.call{tool=mcp__human-in-the-loop__withdraw_task}turn.startturn.stepturn.completeprompt.submitprompt.composeprompt.contextui.render{component=ToolUse, props=?}session.attachsession.detachui.focus{requestId=my-tasks}ui.render{component=Pane, requestId=my-tasks}Every mods API method its source calls, by namespace
aftereverynowsleepregisterfillreadsubmitappendidrootgetsetdeletegetkeyssetregisterclosefocusopenpanesresolvestatustoastWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub tzafrir/human-in-the-loop --plugin human-in-the-loop