A lightweight system-level watchdog designed to monitor sub-agent processes and automate configuration recovery for the OpenClaw gateway.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-claw-guard
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-claw-guard using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
ClawGuard provides a robust safety net for developers building with Openclaw Skills. It functions as a lightweight daemon that monitors explicitly registered process IDs (PIDs) and file system events, ensuring that long-running background tasks don't fail silently. By integrating directly with system services like systemd or launchd, it offers a reliable way to maintain uptime and visibility across complex AI agent workflows.
Beyond simple monitoring, this tool acts as a critical recovery layer for the OpenClaw gateway. In the event of a failed restart—whether due to a configuration error or a system crash—it automatically reverts to previous configuration backups, ensuring the gateway returns to a functional state without manual intervention. This makes it an essential component for any production-grade deployment of Openclaw Skills where high availability is required.
To install the watchdog for your Openclaw Skills environment, run the following commands:
cd <skill-dir>
bash scripts/install.sh
To automate gateway recovery, add the register-restart command to your systemd service file:
# ~/.config/systemd/user/openclaw-gateway.service
[Service]
ExecStartPre=/home/<user>/.local/bin/claw-guard register-restart
ExecStart=...
Then reload the daemon:
systemctl --user daemon-reload
ClawGuard manages its state with a focus on minimal persistence to ensure a clean slate upon reboot, while keeping critical backups on disk.
| Component | Location / Structure | Persistence |
|---|---|---|
| Registry | In-memory state of active PIDs and watches | Cleared on Restart |
| CLI Binary | ~/.local/bin/claw-guard |
Permanent |
| Workspace | ~/.openclaw/workspace/tools/claw-guard/ |
Permanent |
| Config Backups | Rotating .bak files (up to 5 versions) |
Persistent |
Loading
A zero-config, multi-engine web and academic search tool that provides clean JSON results without requiring API keys or subscriptions.

A versatile command-line tool for scraping DuckDuckGo search results into multiple structured data formats including JSON, CSV, and Markdown.

A high-conversion page generator for AI agents that utilizes proven 10-section frameworks to turn raw offers into professional sales or lead capture pages.

An AI-powered generator for creating conversion-optimized lead magnets and squeeze pages using a proven 5-section marketing framework.

A zero-dependency, one-command cleanup utility that reclaims gigabytes of disk space by purging system caches, logs, and build artifacts.

A visual, human-like web browser skill that gives AI agents the ability to render JavaScript and capture screenshots.








































