Install
openclaw skills install bud-health-monitorMonitor system health (RAM, disk, CPU, services). Auto-detect issues and attempt fixes. Essential for keeping Raspberry Pi running stable.
openclaw skills install bud-health-monitorSystem health monitoring with auto-fix capabilities. Monitors RAM, disk, CPU, and services. Detects problems before they crash your Pi.
Designed for Raspberry Pi and home server setups where resources are limited.
# Check system health
python3 ~/.openclaw/health-monitor/health_monitor.py status
# Watch continuously (refreshes every 30s)
python3 ~/.openclaw/health-monitor/health_monitor.py watch
# Auto-fix low RAM issues
python3 ~/.openclaw/health-monitor/health_monitor.py fix
| Resource | Warning | Critical |
|---|---|---|
| RAM | 80% | 90% |
| Disk | 85% | 95% |
| CPU | 85% | 95% |
status — Show health reportShows current usage for RAM, disk, CPU, load average, uptime, and top processes by RAM usage.
watch — Continuous monitoringRefreshes every 30 seconds. Use Ctrl+C to stop.
fix — Auto-fix low RAMTerminates processes using >5% RAM (except critical system services). Also drops caches to free memory.
json — Machine-readable outputOutputs full status as JSON for integration with other tools.
When RAM gets critical, the skill can:
sync && echo 3 > /proc/sys/vm/drop_caches)~/.openclaw/health-monitor/health.logRequires sudo-tool to be installed for full functionality.
Alerts are shown when thresholds are exceeded:
Add to cron for automated health checks:
# Check every 5 minutes, log if issues found
*/5 * * * * python3 ~/.openclaw/health-monitor/health_monitor.py status | grep -q "ALERTS" && echo "Health issue detected" | mail -s "Pi Alert"
Or trigger a fix automatically when RAM gets critical:
# At RAM critical, run fix
0 * * * * python3 ~/.openclaw/health-monitor/health_monitor.py json | python3 -c "import sys,json; exit(1 if json.load(sys.stdin)['ram']['percent'] > 90 else 0)" && python3 ~/.openclaw/health-monitor/health_monitor.py fix
~/.openclaw/health-monitor/
├── health_monitor.py # Main script
├── health.log # Event log
├── state.json # Last known state (optional)
└── config.json # Configuration (optional)