Learn OpenClaw
Quick reference for OpenClaw commands
🔄 Restarting OpenClaw
The most common recovery command. Use this when the gateway becomes unresponsive or Discord messages aren't going through.
openclaw gateway restart - Stops the current gateway process
- Restarts it cleanly with fresh connection
- Takes about 5-10 seconds to complete
🩺 Doctor Command
Run diagnostics to check the health of your OpenClaw installation. This checks for common issues and suggests fixes.
openclaw doctor - Checks configuration file integrity
- Verifies channel connections
- Tests model availability
- Reports any issues found
📊 Status & Health
Check the current status of your OpenClaw session and system health.
openclaw status Shows session info, connected channels, and runtime stats.
openclaw session_status Detailed session information including model, host, and capabilities.
🌐 Gateway Management
Control the OpenClaw gateway daemon that manages connections to Discord, Telegram, and other channels.
openclaw gateway start Start the gateway daemon
openclaw gateway stop Stop the gateway daemon
openclaw gateway restart ⚡ Most common command — restart the gateway
openclaw gateway status Check if gateway is running
❓ Getting Help
When in doubt, ask for help. OpenClaw has built-in help for all commands.
openclaw --help Show all available commands
openclaw help <command> Get detailed help for a specific command
/help Discord shortcut for help
💡 Pro Tip
Run openclaw status first to see what's working.
If the gateway shows as "down," that's your sign to run openclaw gateway restart.