OpenClaw Doctor for Openclaw

A comprehensive system health diagnostic and autonomous repair suite designed to maintain OpenClaw installations.

dagangtj
v1.0.0
Feb 25, 2026
0
536
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install openclaw-doctor

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install openclaw-doctor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is OpenClaw Doctor?

OpenClaw Doctor is a robust health diagnostic and auto-repair utility specifically engineered to keep your AI infrastructure running at peak efficiency. Unlike standard checkups, this tool performs deep architectural inspections of gateways, service resilience, and resource allocation to ensure your Openclaw Skills remain responsive and stable.

By identifying and resolving bottlenecks before they cause downtime, it provides a layer of self-healing intelligence for your workspace. Whether you are dealing with memory leaks, disconnected channels, or cron failures, OpenClaw Doctor acts as an automated system administrator for your agent environment.

OpenClaw Doctor Use Cases

  • Resolving system slowness or unresponsive gateway processes.
  • Troubleshooting failed cron jobs or automation routines.
  • Reconnecting Telegram or WhatsApp channels that have dropped offline.
  • Performing routine health audits as part of a heartbeat monitoring cycle.
  • Validating system integrity after power outages or version upgrades.

How OpenClaw Doctor Works

  1. The agent triggers the diagnostic script which scans the gateway status and port availability.
  2. It evaluates system resources, including CPU load, memory pressure, and disk space health.
  3. The tool verifies service resilience by checking auto-boot configurations and Node.js path validity.
  4. It audits security protocols, ensuring config file permissions and gateway tokens meet safety standards.
  5. If the --fix flag is enabled, the skill autonomously executes repair commands to resolve identified issues.

OpenClaw Doctor Setup

To install and run the diagnostic suite within your environment, use the following commands:

# Run a full diagnostic in read-only mode
bash scripts/diagnose.sh

# Execute diagnostics with autonomous repair enabled
bash scripts/diagnose.sh --fix

# Run a high-speed essential health check
bash scripts/diagnose.sh --quick

OpenClaw Doctor Data Schema & Taxonomy

The skill organizes system data and diagnostic metadata into the following structure:

Category Monitored Data Points
Gateway PID status, port latency, LaunchAgent/systemd state, auth token strength.
Storage Disk usage percentages, log file sizes, and memory file counts.
Cron Job status, failure logs, and stale job detection (2x interval check).
Security Workspace permissions (600), exposed ports, and credential encryption.
Logs Rotation of logs older than 30 days and vector index health checks.

OpenClaw Doctor Advanced Features

  • Auto-Fix Engine: Automatically restarts crashed services and rotates oversized log files.
  • Heartbeat Integration: Supports periodic execution via HEARTBEAT.md for continuous monitoring.
  • Multi-Platform Support: Full compatibility with macOS and Linux (systemd), with basic support for Windows WSL.
  • Predictive Alerts: Triggers warnings at 80% disk capacity and critical alerts at 90%.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*