| name | clawdbot-ops |
| description | Use when starting, stopping, diagnosing, or troubleshooting Clawdbot. Includes gateway management, health checks, and common fixes. |
Clawdbot Operations Guide
Quick Reference
Start Clawdbot
clawdbot gateway start
clawdbot gateway start --daemon
clawdbot gateway status
Stop Clawdbot
clawdbot gateway stop
clawdbot gateway stop --force
Health Check & Diagnosis
clawdbot doctor
clawdbot logs
clawdbot logs --follow
Common Issues & Fixes
Issue: Gateway won't start
clawdbot gateway status
pkill -f clawdbot
lsof -i :18789
clawdbot gateway stop --force
clawdbot gateway start
Issue: RPC probe failed / Gateway connection error
Symptoms: gateway closed (1006 abnormal closure), Gateway agent failed; falling back to embedded
pkill -9 -f clawdbot
sleep 2 && clawdbot gateway install
sleep 5 && clawdbot gateway status
Issue: Telegram/Discord not connecting
clawdbot doctor
clawdbot configure
clawdbot devices list
Issue: Config corruption
cp ~/.clawdbot/clawdbot.json.bak ~/.clawdbot/clawdbot.json
clawdbot reset --config
Issue: Skills not loading
clawdbot plugins list
npx clawhub@latest install <skill-name> --force
Full Command Reference
| Command | Description |
|---|
clawdbot setup | Initialize config and workspace |
clawdbot onboard | Interactive setup wizard |
clawdbot configure | Configure credentials & devices |
clawdbot doctor | Health checks + quick fixes |
clawdbot gateway start | Start the gateway |
clawdbot gateway stop | Stop the gateway |
clawdbot gateway status | Check gateway status |
clawdbot logs | View gateway logs |
clawdbot logs --follow | Tail logs in real-time |
clawdbot dashboard | Open Control UI |
clawdbot devices list | List paired devices |
clawdbot reset | Reset local config/state |
clawdbot uninstall | Full uninstall |
Config Locations
| Path | Purpose |
|---|
~/.clawdbot/clawdbot.json | Main config |
~/.clawdbot/clawdbot.json.bak | Config backup |
~/.clawdbot/logs/ | Log files |
~/.clawdbot/credentials/ | API keys & tokens |
~/.clawdbot/telegram/ | Telegram session |
~/.clawdbot/memory/ | Agent memory |
Dev Mode
For development/testing with isolated state:
clawdbot --dev gateway start
clawdbot --profile test gateway start
Startup Checklist
Before starting Clawdbot, verify:
- Config exists:
ls ~/.clawdbot/clawdbot.json
- No zombie processes:
pgrep -f clawdbot
- Port available:
lsof -i :18789
- Credentials set:
clawdbot doctor
Emergency Recovery
If everything is broken:
pkill -9 -f clawdbot
cp ~/.clawdbot/clawdbot.json ~/.clawdbot/clawdbot.json.emergency-backup
clawdbot reset
clawdbot onboard