Use Preloop's request_approval tool to get human approval before risky operations like deletions, production changes, or external modifications
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install request-approval或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install request-approval⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/request-approval/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: request-approval description: Use Preloop's request_approval tool to get human approval before risky operations like deletions, production changes, or external modifications compatibility: Requires Preloop MCP server configured and accessible metadata: author: preloop version: "1.0" ---
Use Preloop's request_approval MCP tool to get human approval before executing risky operations. Preloop will notify the user (via Slack, email, mobile apps, etc.) and wait for their response.
Preloop must be configured as an MCP server. See references/SETUP.md for configuration details.
Call the request_approval tool BEFORE executing the risky operation.
Required:
operation (string): Clear, specific description of what you'll do- ✅ Good: "Delete the logs/2024-01/ directory containing 1,234 log files (2.3GB)" - ❌ Bad: "Delete some logs"
context (string): Additional details about what will be affected- ✅ Good: "This directory contains archived application logs from January 2024. The logs have been backed up to S3. Deleting will free up 2.3GB." - ❌ Bad: "Old logs"
reasoning (string): Why this operation is necessary- ✅ Good: "Disk usage is at 92% capacity. These logs are archived in S3 and no longer needed locally." - ❌ Bad: "Need more space"
Optional:
caller (string): Auto-populated by Preloopapproval_policy (string): Specific approval policy name (uses account default if omitted)The tool returns a string:
Task: User asks to delete old cache files
Your workflow:
request_approval:- operation: "Delete the temp-cache/ directory" - context: "Contains 3,421 cache files totaling 1.8GB from batch jobs that ran last week. All jobs completed successfully." - reasoning: "Cache is no longer needed and is consuming disk space. Results are in the database."
See references/EXAMPLES.md for more examples.
When unsure:
Golden Rule: When in doubt, request approval. Better to ask unnecessarily than to cause harm.
DO:
DON'T:
---
Remember: Safety first! Trust is earned by being cautious and respectful of the user's systems and data.
安装 Request Approval 后,可以对 AI 说这些话来触发它
Help me get started with Request Approval
Explains what Request Approval does, walks through the setup, and runs a quick demo based on your current project
Use Request Approval to use Preloop's request_approval tool to get human approval before ri...
Invokes Request Approval with the right parameters and returns the result directly in the conversation
What can I do with Request Approval in my product manager workflow?
Lists the top use cases for Request Approval, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/request-approval/ 目录(个人级,所有项目可用),或 .claude/skills/request-approval/(项目级)。重启 AI 客户端后,用 /request-approval 主动调用,或让 AI 根据上下文自动发现并使用。
Request Approval 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Request Approval 可免费安装使用。请查阅仓库了解许可证信息。
Use Preloop's request_approval tool to get human approval before risky operations like deletions, production changes, or external modifications
Request Approval 属于「Product Manager」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my product manager tasks using Request Approval
Identifies repetitive steps in your workflow and sets up Request Approval to handle them automatically