🦞
OpenClaw Cheatsheet
Complete CLI Reference • by ClawPresets
2026 Edition
clawpresets.com
Core CLI Commands
openclaw gateway--port
Run WebSocket Gateway Server
openclaw gateway start|stop|restart
Manage Gateway Service
openclaw channels login
WhatsApp QR Pairing
openclaw channels add--token
Add Telegram/Discord/Slack Bot
openclaw channels status --probe
Check Channel Health
openclaw onboard--install-daemon
Interactive Setup Wizard
openclaw doctor--deep
Health Checks + Quick Fixes
openclaw config get|set|unset
Read/Write Config Values
openclaw models list|set|status
Model Management + Auth Status
openclaw models auth setup-token
Preferred Anthropic Auth Flow
Quick Installation
npm install -g openclaw@latest
openclaw onboard --install-daemon
Global Flags
--devIsolated under ~/.openclaw-dev
--profile <name>Isolated under ~/.openclaw-<NAME>
--jsonMachine-readable output
--no-colorDisable ANSI colors
Channel Management
WhatsAppQR Scan
channels login
TelegramBot Token
channels add --channel telegram
DiscordBot Token
channels add --channel discord
iMessagemacOS Native
macOS bridge
SlackBot Token
channels add --channel slack
Workspace Anatomy
AGENTS.md
Instructions
Instructions
SOUL.md
Persona/Tone
Persona/Tone
USER.md
Preferences
Preferences
IDENTITY.md
Name/Theme
Name/Theme
MEMORY.md
Long-term
Long-term
memory/YYYY-MM-DD.md
Logs
Logs
HEARTBEAT.md
Checklist
Checklist
BOOT.md
Startup
Startup
ROOT: ~/.OPENCLAW/WORKSPACE
In-Chat Slash Commands
/statusHealth + Context
/context listContext Contributors
/model <m>Switch Model
/compactFree Up Window Space
/newFresh Session
/stopAbort Current Run
/tts on|offToggle Speech
/thinkToggle Reasoning
Essential Path Map
Main Config
~/.openclaw/openclaw.json
Default Workspace
~/.openclaw/workspace/
Agent State Dir
~/.openclaw/agents/<id>/
OAuth & API Keys
~/.openclaw/credentials/
Vector Index Store
~/.openclaw/memory/<id>.sqlite
Global Shared Skills
~/.openclaw/skills/
Gateway File Logs
/tmp/openclaw/*.log
Voice & TTS
OpenAI / ElevenLabsPremium
Edge TTS (Free)No API Key
messages.tts.auto: "always"
Memory & Models
Vector Searchmemory search "X"
Model Switchmodels set <model>
Auth Setupmodels auth setup
Hooks & Skills
ClawHubclawhub install <slug>
Hook Listopenclaw hooks list
Troubleshooting
▸ No DM Reply
pairing list → approve
▸ Silent in Group
mentionPatterns config
▸ Auth Expired
models auth setup-token
▸ Gateway Down
doctor --deep
▸ Memory Bug
memory index
Automation & Research
Browserbrowser start/screenshot
Subagents/subagents list/info
Cron Jobscron list/run <id>
Heartbeatheartbeat.every: "30m"
All skills verified on ClawHub.ai • clawpresets.com/openclaw-cheatsheet • 2026