ClaudeCodeMod

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.

In Claude Code
/plugin marketplace add tzafrir/human-in-the-loop
/plugin install human-in-the-loop@human-in-the-loop
Open the repo

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

From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • session.endWhen a session ends
  • command.runWhen you run its slash command/my-tasks
  • tool.describeA Claude Code event
  • tool.callAround a tool call, where it can hold one
  • turn.startWhen Claude starts a turn
  • turn.stepAt each step of a turn
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAbovePromptPane
  • prompt.submitWhen you send a prompt
  • prompt.composeWhile you write a prompt
  • prompt.contextA Claude Code event
  • session.attachA Claude Code event
  • session.detachA Claude Code event
  • ui.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
Repo
tzafrir/human-in-the-loop
Version
0.1.8
License
MIT
Repo stars
38
Last change
2026-10-20
Language
TypeScript
Files
26

Other mods in Workflow

goal-meternateherkaiHolds a commandDraws a progress bar for /goal from Claude's own task plan: tasks done, elapsed time, an ETA at the goal's pace, and every chat's goal in /goals.ctx-handoffcablateHolds a commandKeeps the cache warm while you are away, turns what you teach Claude into project notes, and can hand a full session to a fresh conversation.mod-storehellosverreOpens /mods, a pane that browses and searches community mods, shows what each one can access, and installs one when you press Install.supermemorysupermemoryaiGives Claude memory across sessions through Supermemory, with a recall strip above the prompt that shows what it found for your prompt.remctlviticciDraws today's Apple Reminders above the prompt in your lists' colors, with a /reminders pane where ✓ completes a task, and gives Claude RemCTL's tools.code-modernizationAnthropicAdds a live pane to Anthropic's code-modernization plugin: the map of your legacy code, how far each part has got, each module's proof verdict, and what to run next.auto-handoffobieWrites a handoff file after the session sits idle, runs that handoff as if you typed it, and toasts when it does.dream-passray-amjadTidies Claude's memory folder, merging duplicates and dropping dead entries, and shows the counts in a band with a pane, a backup, and undo.snippetsSingh-APKeeps saved prompts and drops one into the prompt box with /snip, with the branch, the date, and your last selection filled in.answer-paneVedantAndhaleDraws explain, plan, and ELI5 pages in a side pane, with decision buttons on a plan and Respond filling the prompt box.plan-progresszycckDraws live progress bars above the prompt, one row per task with its stages, steps, and the subagents under it.open-askserikdarlingdataDraws each question the session is waiting on in a band above the prompt, with the recommended answer, until you answer or drop it.
All 396 in Workflow