A self-hosted Telegram bot that keeps your OpenClaw running. It monitors, diagnoses, and fixes problems automatically.
ClawDoc checks OpenClaw every 15 minutes. If something breaks, it figures out why, fixes it, and tells you what happened โ all before you notice.
Restart services, check system health, and view logs from anywhere. Everything is a button tap in Telegram.
Your config is backed up automatically. If an update breaks something, pick any previous version and restore it with one tap.
One button runs a complete health check and tells you exactly what's wrong. If it can fix the problem, it gives you a button for that too.
Watches your connection and notifies you when it drops or comes back, along with how long the outage lasted.
Runs locally on your machine and only responds to your Telegram account. Nothing goes through external servers.
ClawDoc works through a fix chain automatically, stopping as soon as the problem is resolved:
Check if the config is valid โ if it's broken, restore from the most recent backup
Restart the gateway and verify it comes back healthy
If that didn't work, run OpenClaw's built-in doctor to repair common issues
If still down and AI is enabled, diagnose the error logs and try a targeted fix
If nothing works, message you with exactly what went wrong
Most issues are resolved at step 1 or 2.
You'll be prompted for a bot token. ClawDoc finds your OpenClaw install automatically.
Send the claim code, choose your preferences, and you're done.
curl -fsSL https://raw.githubusercontent.com/rungmc357/clawdoc/main/install.sh | bash
Or just tell your OpenClaw agent:
Install ClawDoc on my machine. Read the AGENTS.md at https://github.com/rungmc357/clawdoc for setup instructions.
Everything works with buttons out of the box. If you have Ollama running locally, ClawDoc can also understand plain English and do smarter diagnostics.