lauren-framework/lauren-ai/human-in-the-loop
Claude Code and agent skill by lauren-framework/lauren-ai
- community
Checking that the SKILL.md file is still in the repository.
Gate tool execution behind human approval using asyncio.Future. Use when deploying agents that perform irreversible actions (payments, deletions, emails) and need a human review step before proceeding.
Install
npx vskill@latest install lauren-framework/lauren-ai/human-in-the-loopSKILL.md
The same SKILL.md was published earlier as lauren-framework/lauren-ai/human-in-the-loop.
Usecodemap find "ApprovalGate"after adding the pattern to your project.
Human-in-the-Loop Approval Gate
Block a tool call until a human explicitly approves or rejects it. On timeout the gate automatically declines.
Pattern
Tool integration
Inject the gate into a tool that requires confirmation:
Approval workflow (banking chatbot pattern)
Testing
Notes
asyncio.shieldprevents the Future from being cancelled when
wait_for raises TimeoutError, allowing safe cleanup.
- Each
approval_idshould be a UUID so concurrent requests don't collide. - For multi-worker deployments, replace the in-process
Futurewith a
Redis pub/sub channel or a webhook endpoint.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/human-in-the-loop/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lauren-framework/lauren-ai/human-in-the-loop)