Skill flagged — review recommended

ClawHub Security found sensitive or high-impact capabilities. Review the scan results before using.

Clawdoctor

v0.4.13

Self-healing monitor for OpenClaw gateways, crons, and agent sessions. Use when you need to watch if OpenClaw is running, get Telegram alerts on failures, au...

0· 271· 4 versions· 0 current· 0 all-time· Updated 19h ago· MIT-0

Install

openclaw skills install turleydesigns-clawdoctor

ClawDoctor

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

Install

npm install -g clawdoctor

Quick Start

# Interactive setup (Telegram bot token, chat ID, plan key)
clawdoctor init

# Start monitoring daemon
clawdoctor start

# Check health of all monitors
clawdoctor status

Commands

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

What It Monitors

MonitorWhat It WatchesInterval
GatewayWatcheropenclaw process running30s
CronWatcher~/.openclaw/state/cron-*.json for missed/failed crons60s
SessionWatcherAgent session files for errors, aborts, stuck sessions60s
AuthWatcherGateway logs for 401/403/token expired patterns60s
CostWatcherSession token costs — flags if >3x rolling average5m

What It Fixes

HealerAction
ProcessHealerRestarts gateway via systemctl or openclaw gateway restart, then verifies
CronHealerLogs failure and includes manual rerun command in the alert

Pricing

TierPriceMonitorsHistoryAuto-fixAlerts
WatchFree57 daysLocal only
Diagnose$9/mo2030 days✅ Telegram
Heal$19/moUnlimited90 days✅ Telegram

Alerts

Telegram alerts with rate limiting (max 1 per monitor per 5 minutes):

🔴 ClawDoctor Alert
Monitor: GatewayWatcher
Severity: critical
Message: openclaw process not found

Notes

  • Config stored at ~/.clawdoctor/config.json
  • Events stored in SQLite at ~/.clawdoctor/events.db
  • Free tier: 5 monitors, local alerts only, no auto-fix
  • Paid tiers activated via license key from https://clawdoctor.dev

Version tags

latestvk9782zj36hafrf2b8cbxnk33v9835x1y

Runtime requirements

Binsclawdoctor

Install

Install ClawDoctor (npm)
Bins: clawdoctor
npm i -g clawdoctor