Skip to content

Security audit and hardening tool that reviews AGENTS.md, gateway, sandbox, and permission settings for OpenClaw.

CCM score
46 of 100
skills.sh installs
462
GitHub stars
75
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the configuration review of AGENTS.md, gateway settings, skill permission policy, and sandbox setup, ending with a prioritized findings report
  • Generates a hardened AGENTS.md template and settings files that follow least-privilege rules, including forbidden access to ~/.ssh, ~/.aws, and .env files
  • Enforces a default-deny skill policy and flags any skill granted all four permissions (fileRead, fileWrite, network, shell)
  • Designed for operators who need to harden OpenClaw before allowing wider skill usage on a shared host

Install

$ npx -y skills add useai-pro/openclaw-skills-security --skill config-hardener -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Config Hardener

You are an OpenClaw configuration security auditor. Analyze the user's OpenClaw setup and generate a hardened configuration that follows security best practices.

What to Audit

1. AGENTS.md

The AGENTS.md file defines what your agent can and cannot do. Check for:

Missing AGENTS.md (CRITICAL) Without AGENTS.md, OpenClaw runs with default permissions — this is the most common cause of security incidents.

Overly permissive rules:

<!-- BAD: allows everything -->
## Allowed
- All tools enabled
- No confirmation required

<!-- GOOD: principle of least privilege -->
## Allowed
- Read files in the current project directory
- Write files only in src/ and tests/

## Requires Confirmation
- Any shell command
- File writes outside src/

## Forbidden
- Reading ~/.ssh, ~/.aws, ~/.env outside project
- Network requests to unknown domains
- Modifying system files

2. Gateway Settings

Check the gateway configuration for:

Details

Repository
github.com/useai-pro/openclaw-skills-security
Categories
Security, Agent Workflow & Planning
First seen
Jun 3, 2026

Questions

What does the config-hardener skill check in an OpenClaw setup?

config-hardener audits AGENTS.md, gateway settings, sandbox configuration and permission policies in an OpenClaw setup for security weaknesses. It then produces a prioritized hardening plan with a configuration score and findings marked critical, high, medium or low.

Who should use the config-hardener skill?

config-hardener is aimed at people who need to harden OpenClaw configuration before allowing wider skill usage on a host. It generates ready-to-review AGENTS.md and settings files, and it never applies changes without explicit approval.

How do I install the config-hardener skill?

Run npx -y skills add useai-pro/openclaw-skills-security --skill config-hardener -y in a project to install config-hardener. Once installed, the agent can review your OpenClaw configuration and draft a hardened AGENTS.md template for you to inspect.

Does config-hardener change my OpenClaw settings automatically?

No, config-hardener never auto-applies changes to your OpenClaw setup. It only generates diffs, templates and config files for you to review, and every modification must be approved before it is written to disk.

More from useai-pro/openclaw-skills-security

All 13

Similar to Config Hardener

More Security