Skip to content
Back to skills

Openclaw Policy Check

ASecurity

Scan 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.

  • 14 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolspythonshellbashsecurity

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill openclaw-policy-check --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Openclaw Policy Check?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Openclaw Policy Check
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-openclaw-policy-check/badge)](https://www.skillsdirectory.com/skills/modbender-openclaw-policy-check)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: openclaw-policy-check
description: "Scan 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 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 of `critical`, `high`, `medium`, `low`.
- `json_output` (optional): print raw JSON output.

## Workflow

1. Run `scripts/policy_check.py` on the target path.
2. Review severity counts and top findings.
3. If findings exist, prioritize `critical` and `high` items first.
4. Suggest concrete fixes for each flagged pattern.

## Commands

```bash
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
```

## Response Contract

- Always include total findings and severity breakdown.
- Include top findings with `file:line`, rule id, and reason.
- If no findings exist, explicitly state that no policy violations were detected.
- Keep remediation guidance concrete and brief.

Files in this skill

  • SKILL.md1.3 KB
  • agents/openai.yaml277 B
  • scripts/policy_check.py7.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…