# Send OpenClaw Hardener to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-hardener",
    "name": "OpenClaw Hardener",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/virtaava/openclaw-hardener",
    "canonicalUrl": "https://clawhub.ai/virtaava/openclaw-hardener",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/openclaw-hardener",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-hardener",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "openclaw-skill.json",
      "scripts/hardener.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/openclaw-hardener"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-hardener",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-hardener",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-hardener/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-hardener/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-hardener/agent.md"
  }
}
```
## Documentation

### OpenClaw Hardener

This skill provides a user-choice hardening tool that can:

Run OpenClaw’s built-in security audit (openclaw security audit --deep / --fix).
Run workspace hygiene checks (exec bits, stray .env, unsafe serialization patterns, etc.).
Apply safe mechanical fixes only when explicitly requested.
Generate (and optionally apply) a Gateway config.patch plan to tighten runtime policy.

### Run the tool

Script:

skills_live/openclaw-hardener/scripts/hardener.py

Examples:

# Read-only checks (recommended default)
python3 skills_live/openclaw-hardener/scripts/hardener.py check --all

# Only run OpenClaw built-in audit (deep)
python3 skills_live/openclaw-hardener/scripts/hardener.py check --openclaw

# Only run workspace checks
python3 skills_live/openclaw-hardener/scripts/hardener.py check --workspace

# Apply safe fixes (chmod/exec-bit cleanup + optionally openclaw audit --fix)
python3 skills_live/openclaw-hardener/scripts/hardener.py fix --all

# Generate a config.patch plan (prints JSON5 patch)
python3 skills_live/openclaw-hardener/scripts/hardener.py plan-config

# Apply the plan (requires a running gateway; uses \`openclaw gateway call\`)
python3 skills_live/openclaw-hardener/scripts/hardener.py apply-config

### Design rules (do not violate)

Default = check-only. No file/config changes unless user runs fix or apply-config.
No secrets in output. If a check reads sensitive paths, it must redact likely tokens.
Patch plans must be explicit. Always show the patch before applying.

### OpenClaw built-in security audit

Runs openclaw security audit --deep (and --fix in fix mode).

### Workspace hygiene (scope: workspace + ~/.openclaw)

Permissions sanity under ~/.openclaw (basic checks).
Unexpected executable bits in non-executable filetypes.
Stray .env files (warn) and tracked .env (fail).
Risky deserialization / unsafe patterns in our scripts (heuristics).

### Config hardening (optional plan)

Generates a conservative config.patch template focusing on:

Tightening inbound access defaults (pairing/allowlist, mention gating) only if you opt-in.
Ensuring sensitive log redaction is enabled.

(Exact keys depend on your config; the plan is best-effort and should be reviewed.)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: virtaava
- Version: 0.1.2
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/openclaw-hardener)
- [Send to Agent page](https://openagent3.xyz/skills/openclaw-hardener/agent)
- [JSON manifest](https://openagent3.xyz/skills/openclaw-hardener/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/openclaw-hardener/agent.md)
- [Download page](https://openagent3.xyz/downloads/openclaw-hardener)