ClawPresetsClawPresets

OpenClaw Cheatsheet

Every command. One page. Copy and go.

Setup

npm install -g openclaw@latestInstall
openclaw onboard --install-daemonGuided setup
openclaw channels loginLink WhatsApp
openclaw gateway --port 18789Start gateway

Onboard flags

--mode localLocal gateway
--mode remoteRemote gateway
--flow quickstartMinimal setup

Gateway & Config

openclaw gateway start|stop|restartManage service
openclaw config get|set|unsetRead/write config
openclaw doctor --deep --yesHealth checks + fix
openclaw status --all --deepFull diagnosis
openclaw health --json --verboseGateway health probe
openclaw dashboardOpen Control UI
openclaw reset --scopeReset config/sessions
openclaw security audit --fixSecurity audit
openclaw update status|wizardManage updates

Global flags

--devIsolate under ~/.openclaw-dev
--profile <name>Named profile isolation
--no-colorDisable ANSI colors
-V, --versionPrint version

Channels

๐Ÿ“ฑWhatsAppopenclaw channels login
โœˆ๏ธTelegramchannels add --channel telegram --token $TOKEN
๐ŸŽฎDiscordchannels add --channel discord --token $TOKEN
๐Ÿ’ฌiMessagemacOS bridge
๐ŸขSlackchannels add --channel slack
๐Ÿ’ฌGooglechannels add --channel googlechat
๐Ÿ”’Signalchannels add --channel signal
๐Ÿ“ŽMS Teamschannels add --channel msteams
openclaw channels status --probeCheck health
openclaw channels logs --channel [id]Channel logs

Models & Auth

openclaw models list --allList models
openclaw models set <model>Set primary model
openclaw models set-image <model>Set image model
openclaw models fallbacks add <model>Add fallback
openclaw models auth setup-tokenAnthropic auth
openclaw models auth add --provider <p>Add API key
openclaw models status --probeLive probe
openclaw models aliases add <a> <m>Create alias
Failover cooldowns: 1 min โ†’ 5 min โ†’ 1 hour

Memory

openclaw memory index --allReindex all
openclaw memory search "X"Semantic search
openclaw memory statusCheck status

Daily logs: memory/YYYY-MM-DD.md (append-only)

Long-term: MEMORY.md (DM only)

Providers: local GGUF โ†’ OpenAI โ†’ Gemini โ†’ Voyage

Slash Commands

/statusSession health + context usage
/context listWhat's in context window
/context detailFull system prompt
/model <model>Switch model
/compact [instructions]Summarize older context
/new [model]Fresh session
/stopAbort run + clear queue
/send on|off|inheritOverride delivery
/tts on|offToggle TTS
/think | /verboseToggle reasoning
/configPersisted config
/debugRuntime overrides

Skills & ClawHub

clawhub install <slug>Install skill
clawhub update --allUpdate all
clawhub sync --allPublish updates

1. <workspace>/skills/ โ€” per-agent (highest)

2. ~/.openclaw/skills/ โ€” shared

3. Bundled skills (lowest)

Browser & Cron

openclaw browser start|stopHeadless instance
openclaw browser tabsList pages
openclaw browser open <url>New tab
openclaw browser screenshotCapture view
openclaw browser navigate <url>Navigate tab
openclaw browser click|type|pressDOM interactions
openclaw browser evaluate <js>Run JS
openclaw browser pdfExport PDF

Cron

openclaw cron listView jobs
openclaw cron addCreate job
openclaw cron run <id>Manual trigger
openclaw cron enable|disable <id>Toggle

Hooks

openclaw hooks listList hooks
openclaw hooks enable <name>Enable
openclaw hooks disable <name>Disable
openclaw hooks info <name>Details

๐Ÿ’พ session-memory โ€” save context on /new

๐Ÿ“ command-logger โ€” audit all commands

๐Ÿš€ boot-md โ€” run BOOT.md on startup

Events: command:new, command:reset, command:stop, gateway:startup, agent:bootstrap

Multi-Agent

openclaw agents add <name>Add agent
openclaw agents list --bindingsList with routes
openclaw agents delete <name>Delete agent

Routing: peer โ†’ guildId โ†’ teamId โ†’ accountId โ†’ channel โ†’ default

Each agent has isolated workspace, auth, and sessions.

Workspace Files

๐Ÿค–AGENTS.mdAgent instructions
โœจSOUL.mdPersona & tone
๐Ÿ‘คUSER.mdUser info
๐Ÿ†”IDENTITY.mdName, emoji, theme
๐Ÿง MEMORY.mdLong-term memory
๐Ÿ“…memory/*.mdDaily logs
๐Ÿ”งTOOLS.mdTool notes
๐Ÿ’“HEARTBEAT.mdHeartbeat checklist
๐Ÿš€BOOT.mdStartup checklist
Root: ~/.openclaw/workspace

Sandbox & Sub-Agents

sandbox.mode: off | non-main (default) | all

sandbox.scope: session (default) | agent | shared

workspaceAccess: none (default) | ro | rw

/subagents listList active
/subagents stop <id|#|all>Stop runs
/subagents log <id|#>View logs
/subagents info <id|#>Run metadata
/subagents send <id|#> <msg>Send message

Heartbeat

heartbeat.every: 30m (default), 1h for Anthropic

heartbeat.target: last | none | channel id

heartbeat.to: Optional recipient

heartbeat.model: Model override

heartbeat.prompt: Custom prompt

heartbeat.activeHours: Time window

Reply HEARTBEAT_OK if nothing needs attention.

Troubleshooting

No DM Reply
openclaw pairing list โ†’ approve
Silent in Group
Check mentionPatterns config
Auth Expired
openclaw models auth setup-token --provider anthropic
Gateway Down
openclaw doctor --deep
Memory Not Indexing
openclaw memory index
Context Full
/compact or /new
Channel Down
openclaw channels status --probe
Session Issues
openclaw reset --scope sessions
openclaw doctor --deep --yesUniversal fix

Key Paths

~/.openclaw/openclaw.jsonMain config
~/.openclaw/workspace/Agent workspace
~/.openclaw/agents/<id>/Per-agent state
~/.openclaw/agents/<id>/sessions/Sessions
~/.openclaw/credentials/OAuth/API keys
~/.openclaw/memory/<id>.sqliteVector index
/tmp/openclaw/*.logGateway logs
Use --dev or --profile <name> to isolate state.
TTS providers: ElevenLabs (premium) ยท OpenAI (standard) ยท Edge TTS (free). Enable: messages.tts.auto: "always"