Human in the Loop 反向派活
Claude 把只有你能做的事放进「My tasks」面板,答完再回传给它。
> 给订单列表加上分页
⏺ 我先看看列表组件。
❯
示意。实际效果取决于 Mod、终端和运行环境。
安装
/plugin marketplace add tzafrir/human-in-the-loop
/plugin install human-in-the-loop@human-in-the-loop
/reload-plugins在 Claude Code 会话里逐行执行这些命令。
claude plugin marketplace add tzafrir/human-in-the-loop
claude plugin install human-in-the-loop@human-in-the-loop然后在会话里执行 /reload-plugins,或开一个新会话。
请帮我安装 Claude Code Mod「Human in the Loop 反向派活」(https://github.com/tzafrir/human-in-the-loop)。安装前先阅读仓库 README 的 Security 和 Requirements 部分,告诉我它会读写哪些内容、运行什么命令、是否联网,以及对 Claude Code 版本、系统和终端的要求。确认没有问题后,运行 claude plugin marketplace add tzafrir/human-in-the-loop 和 claude plugin install human-in-the-loop@human-in-the-loop 完成安装,最后提醒我在会话里执行 /reload-plugins。把这段话发给 Claude Code,它会先读原作者说明再安装。
git clone https://github.com/tzafrir/human-in-the-loop
cd human-in-the-loop
claude --plugin-dir .克隆仓库后用 --plugin-dir 在本地会话中试用。
它会碰什么
据原作者说明,收录时核对;可用 claude plugin validate 自行检查。
读取
有读取会话 id、项目目录,并查看提示词以识别像密钥的回答。
写入文件
有在 Claude Code 配置目录的插件仓库写入任务 JSON。
运行命令
无联网
有会把你的任务回答作为提示词提交(模型请求);作者称不向外网发请求。
介绍
Human in the Loop 是 Claude Code 的 function hooks Mod:当 Claude 需要密钥、审批或本机命令等只有你能做的事时,用 assign_task 等工具把事项放进「My tasks」面板,并在输入框下显示待办计数。你可以标记完成、选选项、写回答或拒绝;回答在本地插件仓库里按项目保留,跨会话仍在。空闲时或你点「Send now」时,Mod 会把你的回答作为提示词提交给 Claude(算模型请求)。作者说明:不读你的业务文件、不启进程、不向外网发请求;任务存在会话状态与配置目录下的插件 JSON。预览为布局示意。未做运行实测。
适合谁
- 希望 Claude 把待你处理的事项单独挂起、不打断主流程的人
运行要求
- 需要启用 function hooks 的 Claude Code(终端或桌面 Code 标签)。
- 未写死最低版本号;hooks API 仍可能随版本变化。