Gateway Recovery Notification Skill
Purpose
Automatically sends a notification message when the gateway restarts and recovers.
How It Works
- Startup Hook: Detects gateway restart and creates
~/.openclaw/recovery_flag - Heartbeat Check: During heartbeat poll, secretary checks for recovery flag
- Send Notification: If flag exists, sends "I'm back!" message and clears flag
Configuration
- Flag file:
~/.openclaw/recovery_flag - LaunchAgent:
ai.openclaw.gateway-startup-hook.plist - Log file:
/Users/kazuni/.openclaw/workspace/memory/startup.log
Usage
The skill runs automatically during heartbeat checks. No manual intervention needed!
Testing
To test manually:
- Create flag:
touch ~/.openclaw/recovery_flag - Secretary will detect it on next heartbeat
- Send notification message
- Clear flag automatically
Created by Albedo - Mar 28, 2026 💕🌙