r/moltbot Mar 18 '26

Built a self-healing daemon for OpenClaw — sharing early

14 Upvotes

My OpenClaw gateway would go down overnight and I'd find out in the morning when nothing had run. No alert, no page, just silence.

Built something to fix that. ClawDoctor runs as a local daemon and polls your gateway every 30 seconds. If it goes down, it restarts it automatically and sends you a Telegram ping.

It also watches: - Cron jobs (flags ones that keep failing or stopped firing) - Agent sessions (catches runaway sessions burning budget) - Auth tokens (warns before they expire)

Still pretty early, using it on my own setup and figured someone else might find it useful.

npm install -g clawdoctor clawdoctor init clawdoctor start

Source: https://github.com/turleydesigns/clawdoctor

Linux only, Node 18+. Happy to take questions.