Request Approval
by @yconst
Use Preloop's request_approval tool to get human approval before risky operations like deletions, production changes, or external modifications
clawhub install request-approvalπ About This Skill
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"
Request Approval Skill
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.
Setup
Preloop must be configured as an MCP server. See references/SETUP.md for configuration details.
When to Request Approval
ALWAYS Request Approval For:
Usually Request Approval For:
DON'T Request Approval For:
How to Use
Call the request_approval tool BEFORE executing the risky operation.
Parameters
Required:
operation (string): Clear, specific description of what you'll docontext (string): Additional details about what will be affectedreasoning (string): Why this operation is necessaryOptional:
caller (string): Auto-populated by Preloopapproval_policy (string): Specific approval policy name (uses account default if omitted)Response
The tool returns a string:
Quick Example
Task: User asks to delete old cache files
Your workflow:
1. Check what exists: 3,421 cache files, 1.8GB, from last week
2. Call 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."
3. Wait for response
4. If "denied" in response β tell user it's cancelled, ask for alternatives
5. If approved β proceed with deletion
See references/EXAMPLES.md for more examples.
Decision Framework
When unsure:
1. Can this be undone easily? NO β Request approval 2. Could this cause harm or data loss? YES β Request approval 3. Is this modifying production or external systems? YES β Request approval 4. Would a human want to review this first? YES β Request approval 5. Am I uncertain about the safety? YES β Request approval
Golden Rule: When in doubt, request approval. Better to ask unnecessarily than to cause harm.
If Approval is Denied
1. Stop immediately - do NOT proceed 2. Check for comments - denial may include reasoning 3. Inform the user - explain why it was cancelled 4. Look for alternatives - can you accomplish the goal differently? 5. Don't retry - don't ask again unless circumstances change
Best Practices
DO:
DON'T:
Additional Resources
Remember: Safety first! Trust is earned by being cautious and respectful of the user's systems and data.
βοΈ Configuration
Preloop must be configured as an MCP server. See references/SETUP.md for configuration details.
π Tips & Best Practices
DO:
DON'T: