openclaw-guardian
SKILL.md
OpenClaw Guardian
Guardian is a standalone bash watchdog that keeps OpenClaw Gateway alive 24/7.
Repair ladder:
- Detect Gateway down (every 30s)
- Run
openclaw doctor --fix(up to 3 attempts) - If still down →
git reset --hardto last stable commit, restart Gateway - If all fails → cooldown 300s, resume monitoring
- Daily automatic git snapshot of workspace
Setup Steps
1. Initialize git (required for rollback)
cd ~/.openclaw/workspace
git config --global user.email "guardian@example.com"
git config --global user.name "Guardian"