Human in the loop

Claude hands you the tasks only you can do. They wait until you act, and your answer goes back to Claude.

Why

Claude often needs something only you can do: a key in .env, an approval on staging, a command on your own machine, a decision. Today it says so in the middle of a reply. You’re busy steering the next fix, and the ask scrolls away. At best Claude keeps repeating “I still need you to…”; at worst the ask is lost.

With this mod, Claude assigns the ask as a task instead. It waits in the My tasks pane, counted under the prompt, until you do it, answer it or reject it.

Videos

Title card: Human in the loop. Let Claude assign you tasks while it works. Beside it, the My tasks pane lists 3 tasks for you, the first one: Add STRIPE_SECRET_KEY to .env
Human in the loop: let Claude Code assign you tasks while it works
Human in the loop, a new Claude Code mod: Install it right from /plugin. Below, the Discover plugins screen in Claude Code, with its search box
Now in Claude Code’s official plugin directory
Human in the loop, a new Claude Code mod: Stop losing Claude’s asks in the scroll. Below, a failed test run in Claude Code becomes an assigned task: Add STRIPE_SECRET_KEY to .env
Stop losing Claude’s asks in the scroll
Human in the loop, a new Claude Code mod: Claude keeps working while you answer. Below, the My tasks pane with one open task, Decide whether to make the repo public, and its answer choices
Claude keeps working while you answer

Install

In Claude Code:

/plugin marketplace add tzafrir/human-in-the-loop
/plugin install human-in-the-loop@human-in-the-loop

Or from your shell:

claude plugin marketplace add tzafrir/human-in-the-loop
claude plugin install human-in-the-loop@human-in-the-loop

Then start a new session, or run /reload-plugins.

Requires Claude Code 2.1.301 or later, in a terminal or in the desktop app’s Code tab. The mod is written with Claude Code’s function hooks, which are early access: they load only where function hooks are enabled, and their API may change between releases.

Source

The code, the full README and issues are on GitHub at tzafrir/human-in-the-loop. MIT license.