enterprise-legal-guardrails
от lawyered0
Web & Frontend DevelopmentКратко
Legal/compliance guardrails for outbound OpenClaw actions (anti-spam, defamation, privacy, financial claims).
Описание
Что делает этот навык
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.
Когда его использовать
- 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
Пример сценария
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
Установка
clawhub install lawyered0/enterprise-legal-guardrailsВыполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.