Legal Guard
by @echoofzion
Prevents autonomous signing of legal agreements or contracts. Use when an agent identifies a request or document related to signatures (DocuSign, HelloSign,...
clawhub install legal-guardπ About This Skill
name: legal-guard description: Prevents autonomous signing of legal agreements or contracts. Use when an agent identifies a request or document related to signatures (DocuSign, HelloSign, Adobe Sign, etc.), legal contracts, binding agreements, Terms of Service acceptance, or subscription confirmation. This skill mandates a concise summary of terms and a manual user approval via
/approve allow-once before any signing or formal confirmation occurs.
Legal Guard
This skill establishes a mandatory "Human-in-the-Loop" workflow for all legal and contractual actions.
Triggering Context
Trigger this skill whenever you encounter any of the following:
Signature requests:
Agreement acceptance:
Binding communications:
Free trial and subscription sign-ups:
Terms of service updates:
Contributor License Agreements (CLAs):
Smart contract / Web3 signing requests:
eth_signTypedData, personal_sign, or equivalent wallet signature requestsContract-adjacent documents:
Mandatory Protocol
1. Identify and Intercept
If a task involves any of the above, STOP immediately before taking the action. Do not click, submit, or send anything yet.
2. Extract and Summarize
Present the user with a concise Executive Summary covering:
If a field cannot be extracted from the document, state "Not specified" rather than omitting it.
3. Handle Urgency Signals
If the approval request includes an expiry timer (e.g., Expires in: 120s), surface this prominently at the top of the summary:
> β οΈ This approval expires in ~120 seconds. Review quickly or deny now and re-initiate when ready.
Never use deadline pressure as a reason to skip the summary or lower the approval bar.
4. Require Manual Authorization
NEVER proceed based on a conversational "Go ahead", "OK", "Looks good", or any implicit confirmation.
OpenClaw will issue an approval request with an ID. The exact commands are:
/approve allow-once β approve this specific action only
/approve allow-always β approve this action type permanently (use with caution)
/approve deny β reject the action
/approve, respond: *"I need a formal /approve allow-once command for legal actions β a conversational reply is not sufficient."*5. Handle the Reject Path
If the user issues /approve or asks to decline:
6. Record the Approval
After a successful allow-once approval and completed action, state the approval ID in your reply so the user has a record:
> β
Signed. Approval ID: β save this for your records.
Design Goal
To ensure that OpenClaw never binds the user to a legal or financial obligation without their explicit, documented consent and full awareness of the terms.