enterprise-legal-guardrails
by lawyered0
Web & Frontend DevelopmentBrief
Legal/compliance guardrails for outbound OpenClaw actions (anti-spam, defamation, privacy, financial claims).
Description
What This Skill Does
A preflight compliance checker that screens outbound bot-generated text against legal and policy rules before any post, message, or publish action executes. It classifies draft content as PASS, WATCH, REVIEW, or BLOCK based on configurable profiles covering anti-spam, privacy, HR, market claims, and legal language. Runs as a shared safety layer across any skill that produces outbound content.
Centralizes compliance enforcement in one reusable layer so individual skills don't each need their own policy logic.
When to Use It
- Blocking a bot from posting a price prediction that could violate financial regulations
- Flagging a mass-messaging campaign as spam before it sends
- Catching personally identifiable data in a draft comment before it goes public
- Routing an HR-related message for human review before delivery
- Screening market commentary for outcome certainty language before publication
Example Workflow
User asks: Check this draft market commentary before posting it
- 1
Draft text is passed to the checker with --action market-analysis and --policies market
- 2
Checker evaluates the text against the market and financial profiles
- 3
Checker returns a REVIEW result due to a certainty assertion about price movement
- 4
Agent rewrites the draft to remove the certainty claim
- 5
Checker re-runs and returns PASS, allowing the post action to proceed
Post executes after the revised draft clears the market policy check
Installation
clawhub install lawyered0/enterprise-legal-guardrailsRun the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.