openclaw-policy-check
Installation
SKILL.md
OpenClaw Policy Check
Run a lightweight policy scan to catch common high-risk patterns in code and scripts.
Inputs
target_path(required): file or directory to scan.fail_on(optional): severity threshold for non-zero exit. One ofcritical,high,medium,low.json_output(optional): print raw JSON output.
Workflow
- Run
scripts/policy_check.pyon the target path. - Review severity counts and top findings.
- If findings exist, prioritize
criticalandhighitems first. - Suggest concrete fixes for each flagged pattern.