request-approval
Use Preloop's request_approval tool to get human approval before risky operations like deletions, production changes, or external modifications
Why use this skill?
Implement human-in-the-loop safety for your AI agent. Use the OpenClaw request-approval skill to verify high-risk operations before execution.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/yconst/request-approvalWhat This Skill Does
The request-approval skill is a critical safety mechanism designed for the OpenClaw AI agent. It integrates the Preloop MCP tool to introduce a 'human-in-the-loop' workflow, ensuring that risky, irreversible, or high-impact operations are explicitly verified by a human user before execution. By acting as a gatekeeper, this skill prevents accidental data loss, production outages, and unauthorized system modifications, providing both peace of mind and an audit trail for sensitive administrative tasks.
Installation
To integrate this skill into your environment, use the OpenClaw CLI tool. Run the following command in your terminal:
clawhub install openclaw/skills/skills/yconst/request-approval
Ensure that your environment is configured for MCP server support as detailed in the official references/SETUP.md document, as this skill relies on the underlying Preloop MCP infrastructure to route approval requests to your preferred communication channels (Slack, email, or mobile).
Use Cases
You should employ this skill for any action that modifies the integrity of your project or system. This includes, but is not limited to: database migrations or bulk deletions, deployments to production or staging environments, modifying environment variables, merging pull requests, and performing security-sensitive tasks like changing permissions. It is designed specifically for operations where the 'undo' button does not exist.
Example Prompts
- "I need to purge the entire 'user_activity' table in production because the data is corrupted. Please request approval for this."
- "Update the production docker-compose.yml to change the DB credentials. Open a request-approval for this change before applying it."
- "Delete all log files older than 6 months from the server disk to reclaim space. Please clear this with me via the approval tool first."
Tips & Limitations
Always provide highly descriptive context. The 'reasoning' parameter is not just for the tool; it is for the person reviewing your request. A well-written request includes the 'what', the 'why', and the 'impact'. Do not use this for read-only operations like searching logs or testing code, as it adds unnecessary friction to your workflow. Remember that if the approval is denied, you must stop immediately and seek clarification from the user; do not attempt to bypass the check.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-yconst-request-approval": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api