Skip to content
Back to skills

Config Guard

ASecurity

这是一款为你修改 openclaw.json 准备的“安全带”。它不像普通插件那样全天候运行,而是只在你需要修改配置并备份时,提供 10 秒的自动回滚保护。

  • 21 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 7, 2026
code-qualitybashdebugging

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 config-guard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Config Guard?

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

Security grade badge for Config Guard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-config-guard/badge)](https://www.skillsdirectory.com/skills/modbender-config-guard)

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: Claw Seatbelt 🛡️ (OpenClaw 安全带)
description: 这是一款为你修改 openclaw.json 准备的“安全带”。它不像普通插件那样全天候运行,而是只在你需要修改配置并备份时,提供 10 秒的自动回滚保护。
---

# Claw Seatbelt 🛡️ (OpenClaw 安全带)

这是一款为你修改 `openclaw.json` 准备的“安全带”。它不像普通插件那样全天候运行,而是只在你需要修改配置并备份时,提供 10 秒的自动回滚保护。

## 特色功能
- **按需保护**:仅在运行备份脚本时触发,不浪费系统资源。
- **10秒无敌险**:修改配置后若 Gateway 无法在 10 秒内恢复,自动回退到最新备份并重启。
- **极简设计**:无需复杂配置,即装即用。

## Usage
The skill primarily runs as a background watchdog.

### Manual Check
```bash
./bin/watchdog.sh
```

## How it works
1. Probes the local Gateway status.
2. If down, captures the current "broken" config for debugging.
3. Locates the most recent timestamped backup in `~/.openclaw/backups/`.
4. Restores and restarts the Gateway service.

Files in this skill

  • SKILL.md1.1 KB
  • bin/watchdog.sh1.8 KB
  • skill.json268 B

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.

View all in code-quality →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.