Keep your OpenClaw service alive. Automatically.
OpenClaw runs as a local daemon. When it crashes — network hiccup, system wake, bad update — your AI assistant goes dark. You notice only when you try to use it.
Doctor watches the gateway for you. It detects failures, restarts the service automatically, and notifies you. No config, no babysitting.
npm install -g openclaw-cli
openclaw-cli watch -dThat's it. OpenClaw CLI is now running in the background.
openclaw-cli watch # Start monitoring (foreground)
openclaw-cli watch -d # Start monitoring (background)
openclaw-cli unwatch # Stop monitoring
openclaw-cli status # Quick health check
openclaw-cli doctor # Full diagnosticsopenclaw-cli gateway start
openclaw-cli gateway stop
openclaw-cli gateway restartopenclaw-doctor, hello-claw, aiclaw, pddclaw and other alias package names all point to the same CLI engine.
- Main package: https://www.npmjs.com/package/openclaw-cli
- Official site: https://openclaw-cli.app
- Advanced usage and development workflow: CONTRIBUTING.md
- Chinese README: README.zh-CN.md

