A persistent macOS watchdog service built in Go to ensure OpenClaw agents remain active and recover automatically from failures.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-xguardian
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-xguardian using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
OpenClaw XGuardian is a specialized utility designed to maintain the high availability of your OpenClaw environment on macOS. By leveraging system-level launchd integration and a Go-based monitoring binary, this skill automates the health checks and recovery processes necessary for mission-critical Openclaw Skills. It effectively bridges the gap between manual CLI management and production-grade reliability.
The skill provides a complete template for scaffolding a Go project that acts as a guardian daemon. It monitors the status of the OpenClaw gateway, handles automatic restarts upon failure, and ensures that your background AI processes are resilient to system reboots or unexpected crashes.
First, copy the template assets to your workspace and compile the guardian binary:
cp -R /Users/xiong/.codex/skills/openclaw-xguardian/assets/guardian/* <TARGET_WORKSPACE>/
cd <TARGET_WORKSPACE>
go build -o bin/openclaw-guardian ./cmd/openclaw-guardian
Create your configuration file at ~/.openclaw-guardian/config.json using the provided sample. Ensure the openclaw_bin path is correct:
which openclaw
Register the service with macOS launchd:
mkdir -p ~/Library/LaunchAgents
cp launchd/com.openclaw.guardian.plist ~/Library/LaunchAgents/
launchctl load ~/Library/LaunchAgents/com.openclaw.guardian.plist
The skill manages several key configuration and state files to maintain the stability of Openclaw Skills:
| File | Role |
|---|---|
config.json |
Defines paths for binaries, log files, and health-check behavior. |
guardian.log |
Records health checks, recovery attempts, and system errors. |
com.openclaw.guardian.plist |
The macOS launchd manifest that manages the background process. |
openclaw_bin |
Absolute path reference to the primary OpenClaw executable. |
Loading
A proactive personal AI chief of staff that manages your schedule, fitness, career, and smart home using a brain-inspired memory system.

An advanced project management skill for AI agents that automates prioritization, meeting preparation, and milestone tracking.

A personal accountability and habit tracking system that manages life goals and daily routines through natural language interaction and proactive briefings.

A robust AI skill for managing smart home devices and scene-based environment triggers via Home Assistant.

An AI-powered recipe discovery engine that connects users with meals based on available ingredients and dietary needs.

Automate the discovery and verification of non-tech founders on LinkedIn to generate high-quality sales leads for technology services.








































