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.

Claude's integration tests fail because a Stripe key is missing; the ask becomes a task that flies into the My tasks pane while Claude keeps working. More tasks arrive, the user answers them when ready, and the answers go back to Claude as one message.

Install, in Claude Code:

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

Then start a new session, or run /reload-plugins. Free and MIT-licensed.

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.

An example

Get our Stripe webhooks library ready to open-source.

Claude works through it, and three times hits something only you can do: the integration tests need your Stripe key, making the repo public is your call, and the package needs a name. Each becomes a task, and Claude keeps working:

#1 Something to do

You add the key in your editor, then press d. The key never passes through Claude.

#2 Your decision

1 makes the repo public, 2 keeps it private.

#3 Your words

Press r, type @acme/stripe-hooks, Enter.

Answer whenever it suits you. Answers you give while Claude works wait for it, and your next answer after it stops takes them along. Here Claude gets them as one message, in your words:

My responses to tasks you gave me (Human in the loop): #1 Add STRIPE_SECRET_KEY to .env: Done. #2 Decide whether to make the repo public: I chose "Make it public". #3 Choose the package's name on npm: @acme/stripe-hooks

Claude picks up where it left off: the integration tests pass, the repo goes public, and the package gets its name. Publishing is left to you.

How it works

It never draws in the band above the prompt, so it works beside band mods such as What's Agent Doing.

It stays on your machine