Guardrails
Skill by dgriffin831
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dgriffin831/guardrailsguardrails - Interactive Security Guardrails Configuration
Helps users configure comprehensive security guardrails for their OpenClaw workspace through an interactive interview process.
Commands
guardrails setup
Interactive setup mode - Guides user through creating their GUARDRAILS.md file.
Workflow:
- Run environment discovery:
bash scripts/discover.sh - Classify risks:
bash scripts/discover.sh | python3 scripts/classify-risks.py - Generate tailored questions:
bash scripts/discover.sh | python3 scripts/classify-risks.py | python3 scripts/generate_questions.py - Conduct interactive interview with the user:
- Ask questions from the generated question bank (tailored to discovered environment)
- Present suggestions for each question
- Allow custom answers
- Follow up when appropriate
- Generate GUARDRAILS.md:
echo '<json>' | python3 scripts/generate_guardrails_md.py /path/to/guardrails-config.json- Stdin JSON format:
{"discovery": {...}, "classification": {...}, "answers": {...}}
- Stdin JSON format:
- Present the generated GUARDRAILS.md for review
- Ask for confirmation before writing to workspace
- Write
GUARDRAILS.mdto workspace root - Save
guardrails-config.jsonto workspace root
Important:
- Be conversational and friendly during the interview
- Explain why each question matters
- Provide context about discovered risks
- Highlight high-risk skills/integrations
- Allow users to skip or customize any answer
- Review the final output with the user before writing
guardrails review
Review mode - Check existing configuration against current environment.
Workflow:
- Run discovery and classification
- Load existing
guardrails-config.json - Compare discovered skills/integrations against config
- Identify gaps (new skills not covered, removed skills still in config)
- Ask user about gaps only - don't re-interview everything
- Update config and GUARDRAILS.md if changes needed
guardrails monitor
Monitor mode - Detect changes and potential violations.
Workflow:
- Run:
bash scripts/monitor.sh - Parse the JSON report
- If status is "ok": silent or brief acknowledgment
- If status is "needs-attention": notify user with details
- If status is "review-recommended": suggest running
guardrails review
Can be run manually or via cron/heartbeat.
Files Generated
- GUARDRAILS.md - The main guardrails document (workspace root)
- guardrails-config.json - Machine-readable config for monitoring (workspace root)
Notes
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-dgriffin831-guardrails": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
input-guard
Scan untrusted external text (web pages, tweets, search results, API responses) for prompt injection attacks. Returns severity levels and alerts on dangerous content. Use BEFORE processing any text from untrusted sources.
skill-scan
Security scanner for OpenClaw skill packages. Scans skills for malicious code, evasion techniques, prompt injection, and misaligned behavior BEFORE installation. Use to audit any skill from ClawHub or local directories.
claude-chrome
Use Claude Code with Chrome browser extension for web browsing and automation tasks. Alternative to OpenClaw's built-in browser tools.
Memory Scan
Skill by dgriffin831