Self-healing monitor for OpenClaw. Watches your gateway, crons, and agent sessions, sends Telegram alerts, and auto-fixes what it can.
Site: https://clawdoctor.dev
npm: https://www.npmjs.com/package/clawdoctor
GitHub: https://github.com/turleydesigns/clawdoctor
bash
npm install -g clawdoctor
bash
# Interactive setup (Telegram bot token, chat ID, plan key)
clawdoctor init
# Start monitoring daemon
clawdoctor start
# Check health of all monitors
clawdoctor status
bash
clawdoctor init # Interactive setup
clawdoctor start # Start monitoring daemon
clawdoctor start --dry-run # Run without taking healing actions
clawdoctor stop # Stop daemon
clawdoctor status # Live health check of all monitors
clawdoctor log # Show recent events from local database
clawdoctor log -n 100 # Show last 100 events
clawdoctor log -w GatewayWatcher -s critical # Filter by watcher/severity
clawdoctor install-service # Install as systemd user service
MonitorWhat It WatchesIntervalGatewayWatcheropenclaw process running30sCronWatcher~/.openclaw/state/cron-*.json for missed/failed crons60sSessionWatcherAgent session files for errors, aborts, stuck sessions60sAuthWatcherGateway logs for 401/403/token expired patterns60sCostWatcherSession token costs — flags if >3x rolling average5m
HealerActionProcessHealerRestarts gateway via systemctl or openclaw gateway restart, then verifiesCronHealerLogs failure and includes manual rerun command in the alert
TierPriceMonitorsHistoryAuto-fixAlertsWatchFree57 days✗Local onlyDiagnose$9/mo2030 days✗✅ TelegramHeal$19/moUnlimited90 days✅✅ Telegram
Telegram alerts with rate limiting (max 1 per monitor per 5 minutes):
text
🔴 ClawDoctor Alert
Monitor: GatewayWatcher
Severity: critical
Message: openclaw process not found
~/.clawdoctor/config.json~/.clawdoctor/events.db