Install
openclaw skills install openclaw-policy-checkScan repositories for risky security patterns before execution. Use when users ask for a quick preflight security check, policy enforcement scan, suspicious code triage, or detection of unsafe commands, secret leakage, and dangerous shell behavior.
openclaw skills install openclaw-policy-checkRun a lightweight policy scan to catch common high-risk patterns in code and scripts.
target_path (required): file or directory to scan.fail_on (optional): severity threshold for non-zero exit. One of critical, high, medium, low.json_output (optional): print raw JSON output.scripts/policy_check.py on the target path.critical and high items first.python3 scripts/policy_check.py "<target_path>"
python3 scripts/policy_check.py "<target_path>" --json
python3 scripts/policy_check.py "<target_path>" --fail-on high
file:line, rule id, and reason.