# 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.

![Human in the loop: Claude hands you the tasks only you can do; they wait in the My tasks pane until you answer, and your answers go back to Claude](https://tzafrir.net/media/human-in-the-loop.webp)

## 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

[Human in the loop: let Claude Code assign you tasks while it works (YouTube)](https://www.youtube.com/watch?v=wgjvif4BHMI)

[Now in Claude Code’s official plugin directory (YouTube)](https://www.youtube.com/shorts/QbHQXt5Gg80)

[Stop losing Claude’s asks in the scroll (YouTube)](https://www.youtube.com/shorts/FfwTvjDdDA8)

[Claude keeps working while you answer (YouTube)](https://www.youtube.com/shorts/GOC9EJa3vNg)

## 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:

```sh
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](https://github.com/tzafrir/human-in-the-loop). MIT license.
