All shelves / Mods / Workflow
human-in-the-loop
By tzafrir
human-in-the-loop is a Claude Code workflow mod by tzafrir.
Lets Claude assign you the tasks only you can do. They wait in a My tasks pane, counted under the prompt, until you answer or reject them.
Draws
Install
The marketplace name is human-in-the-loop.
/plugin marketplace add tzafrir/human-in-the-loop /plugin install human-in-the-loop@human-in-the-loop
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.1.8
- License
- MIT
- Repo stars
- 38
- Last change
- 2026-10-20
What it can reach
- Draws in the session
- Runs a command when you press
Claude Code in a terminal or the desktop app's Code tab; the author says the function hooks it is written with are early access, and their API may change between releases. Start a new session after installing, or run /reload-plugins. Claude assigns a task with assign_task: an imperative title, why it is needed, what counts as done, and a kind, do, answer, or choose. The status line under the prompt counts what is waiting, and the My tasks pane opens by itself when a task arrives, beside the transcript in fullscreen and above the prompt on the main screen; /my-tasks opens it any time. You respond with Done, an option from 1 to 4, an answer with r, or a rejection and a reason with x. While Claude is idle your answer goes right away; while it works the answer waits until the turn ends, and Send now sends it at once. Long answers go through your own prompt box. At most 5 tasks are open at a time, the same ask twice is one task, and only the main agent assigns tasks. The author says tasks stay on your machine in the plugin's own store, keyed by project folder, with no network, files, or processes, and an answer that looks like a secret is held with a warning.
The marketplace, human-in-the-loop, holds only this plugin, from the repo root. This one installs on its own. Keeping track of what Claude needs from you is why this page files it under workflow. open-asks, by erikdarlingdata, draws each question the session is waiting on in a band above the prompt, with the recommended answer, until you answer or drop it. inbox, by petekp, draws a line and a pane for the questions, findings, and pull requests waiting on you. This one is a tool Claude calls, and unlike a question dialog a task does not stop Claude: it carries on, and takes the task back if it finds another way. Open tasks survive a compaction or a new session, and with several sessions in one project each keeps its own. The mod submits your responses as a prompt in your own words, and adds three tools and a few lines to the system prompt. It never draws in the band above the prompt, so it works beside band mods. Its plugin.json names Tzafrir Rehan as its author.
Demo
What it hooks into
session.startWhen a session startssession.endWhen a session endscommand.runWhen you run its slash command/my-taskstool.describeA Claude Code eventtool.callAround a tool call, where it can hold oneturn.startWhen Claude starts a turnturn.stepAt each step of a turnturn.completeWhen a turn endsui.renderDraws into the sessionAbovePromptPaneprompt.submitWhen you send a promptprompt.composeWhile you write a promptprompt.contextA Claude Code eventsession.attachA Claude Code eventsession.detachA Claude Code eventui.focusA Claude Code event
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/my-tasksShow the tasks Claude gave you
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- tzafrir
- Category
- Workflow
- Marketplace
- human-in-the-loop
- Version
- 0.1.8
- License
- MIT
- Repo stars
- 38
- Last change
- 2026-10-20
- Language
- TypeScript
- Files
- 26