MEGA CHEATSHEET
The most comprehensive reference for OpenClaw operators and developers
v2026.4.1 — /tasks board, SearXNG web_search, Bedrock Guardrails, cron --tools allowlists, agents.defaults.params, rate-limit failover. v2026.3.31 — openclaw flows list|show|cancel, unified SQLite task ledger, QQ Bot channel, Matrix/MCP remote, install fail-closed; breaking: nodes.run → exec host=node. v2026.3.28 — openclaw config schema, Qwen Model Studio key, xAI Responses + x_search, MiniMax images, plugin approval hooks.
Core CLI — Setup & Channels
openclaw gatewayRun WebSocket Gateway server --port --bind --token
openclaw gateway start|stop|restartManage Gateway (launchd/systemd)
openclaw channels loginWhatsApp QR pairing (Web flow)
openclaw channels addAdd Telegram/Discord/Slack bot --token
openclaw channels logsShow channel logs --channel
openclaw channels removeRemove channel --channel --delete
openclaw channels status --probeCheck channel health
openclaw onboardInteractive setup wizard --install-daemon
openclaw doctorHealth checks + quick fixes --deep --yes
openclaw config file|get|set|unset|validate|schemaConfig path, edits, validate, print JSON Schema (schema: v2026.3.28+)
Core CLI — Models & Memory
openclaw models list|set|statusModel management + auth status
openclaw models auth setup-tokenPreferred Anthropic auth flow
openclaw models fallbacks add|removeConfigure fallback chain
openclaw memory status|index|searchVector search over MEMORY.md + logs
openclaw agents list|add|deleteMulti-agent workspace management
openclaw agents bindings|bind|unbindRoute bindings
Core CLI — Status & Tools
openclaw logs --followTail Gateway file logs
openclaw status --all --deepFull diagnosis (pasteable) --usage
openclaw sessions --jsonList stored sessions
openclaw security auditAudit config for security issues --fix
openclaw browser start|tabs|screenshotHeadless browser automation
openclaw cron list|add|edit|rm|enable|disable|runScheduled jobs; add/edit supports --tools allowlists (v2026.4.1) --tools
openclaw flows list|show|cancelLinear task flows (unified ledger; v2026.3.31)
openclaw pairing list|approveApprove DM pairing requests
openclaw reset --scopeReset config/creds/sessions/full
Global Flags
--devIsolate state under ~/.openclaw-dev
--profile <name>Isolate under ~/.openclaw-<name>
--no-colorDisable ANSI colors (NO_COLOR=1)
-V, --versionPrint version and exit
Power Commands
openclaw plugins list|info|enable|disable|install|doctorManage plugin lifecycle
openclaw skills list|info|check|search|install|updateSkills (v2026.3.22+: search|install|update)
openclaw approvals get|set|allowlistExec approval policy
openclaw sandbox list|recreate|explainInspect/rebuild sandbox
openclaw system event --text "X"Queue system event
openclaw system heartbeat enable|disable|lastControl heartbeat
openclaw update status|wizardManage release channel
openclaw backup create|verifyLocal state archive --only-config --no-include-workspace
openclaw health --json --verboseDirect gateway health probe
openclaw dashboardOpen Control UI
openclaw tui --url --tokenRemote-safe terminal UI
Quick Start & Install
Global Install
npm install -g openclaw@latestOnboarding
1
openclaw onboard --install-daemon — Guided setup2
openclaw channels login — Channel link3
openclaw gateway --port 18789 — Start gatewayOne-liner
curl -fsSL https://openclaw.ai/install.sh | bashChannel Setup
WhatsAppQR Scan
openclaw channels loginTelegramBot Token
channels add --channel telegram --token $TOKENDiscordBot Token
channels add --channel discord --token $TOKENSlackBot Token
channels add --channel slackGoogle ChatService Account
channels add --channel googlechatWebChatBuilt-in
localhost:18789Status: openclaw channels status --probe. Discord: autoArchiveDuration (60|1440|4320|10080) for thread archiving.
Workspace Files
Root: ~/.openclaw/workspace
AGENTS.mdOperating instructions for the agentSOUL.mdPersona, tone, boundariesUSER.mdUser info & preferencesIDENTITY.mdAgent name, emoji, themeMEMORY.mdLong-term memory (DM only)memory/YYYY-MM-DD.mdDaily append-only logTOOLS.mdLocal tool notesHEARTBEAT.mdHeartbeat checklistBOOT.mdStartup checklistMemory System
Daily Logs
memory/YYYY-MM-DD.md — today + yesterdayLong-Term
MEMORY.md — curated, DM onlyVector Search — ~400 token chunks
Providers — local GGUF → OpenAI → Gemini (incl. gemini-embedding-2-preview) → Ollama → Voyage
openclaw memory index --allReindex
openclaw memory search "X"Query
Models & Auth
openclaw models list --allView available models
openclaw models set <model>Set agents.defaults.model.primary
openclaw models auth setup-tokenPreferred Anthropic auth
openclaw models auth add --provider <p>Add provider API key
openclaw models status --probeLive probe auth
Probe consumes tokens — use status --deep for diagnostics
Sessions
session.dmScope — main | per-peer | per-channel-peer | per-account-channel-peersession.reset.mode — daily (4am) | idlesession.reset.idleMinutes — Sliding idle windowsession.store — ~/.openclaw/agents/<id>/sessions/SECURITY: Use per-channel-peer for multi-user inboxes to prevent context leakage.
Slash Commands
/statusSession health + context; provider usage
/tasksBackground task board for session (v2026.4.1)
/help, /commandsCommon commands
/context list|detail|jsonContext window contents
/model [id]|list|statusSwitch model
/usage off|tokens|full|costPer-response footer
/fastToggle fast mode (Anthropic/OpenAI) v2026.3.12
/compact [instr]Summarize context, free tokens
/new [model]Fresh session (alias: /reset)
/stopAbort run + clear queue
/send on|off|inheritOverride delivery
/tts on|off|always|inboundText-to-speech
/think [level]Reasoning: off|minimal|low|medium|high|xhigh|adaptive
/reasoning, /elevatedReasoning level; exec approval
/whoamiSender identity (/id)
/subagents spawn|list|kill|steerSub-agent control
/export-sessionExport session to HTML
/approve allow-once|denyExec + plugin approvals (v2026.3.28+)
/check-updatesQuick update summary
Text-to-Speech
| Provider | Quality | Cost |
|---|---|---|
| ElevenLabs | Ultra-realistic | Premium |
| OpenAI TTS | Fast, high-quality | Standard |
| Edge TTS | Multi-language | Free |
| Mistral Voice | Provider support | Standard |
Auto-TTS: messages.tts.auto: "always"
Logging & Diagnostics
openclaw logs --followTail Gateway logs
openclaw logs --json --limit 200Line-delimited JSON
openclaw status --all --deepFull diagnosis --usage
openclaw doctor --deep --yesHealth check + auto-fix
openclaw channels logs --channel [id]Channel-specific logs
Browser & Cron
Browser
openclaw browser start|stop|tabsHeadless instance
openclaw browser open <url>Open URL
openclaw browser screenshotCapture view
openclaw browser pdfExport page as PDF
Cron
openclaw cron list|add|edit|rm|enable|disable|runScheduled jobs; use --tools on add|edit for allowlists (v2026.4.1). See also openclaw flows. --tools
{ "name": "Brief", "schedule": { "kind": "cron", "expr": "0 8 * * *" }, "sessionTarget": "isolated" }v2026.3.11: Isolated cron no longer notifies via ad hoc agent sends. Run
openclaw doctor --fix to migrate legacy cron.Hooks & Automation
session-memory command:new — Save context on /newboot-md gateway:startup — Run BOOT.md on startopenclaw hooks list|enable|disableManage hooks
Skills
Precedence
1 workspace/skills/ (highest) · 2 ~/.openclaw/skills/ · 3 Bundled
openclaw skills list|info|check|search|install|updateBundled + managed (v2026.3.22+: search|install|update)
clawhub install <slug>ClawHub
clawhub update --allUpdate installed skills
---
name: my-skill
description: "What it does"
metadata: { "openclaw": { "requires": {...} } }
---Multi-Agent Routing
Precedence: peer → guildId → teamId → accountId → channel → default
openclaw agents add <name>Add agent
openclaw agents list --bindingsView bindings
Heartbeat
heartbeat.every — 30m default (1h OAuth)heartbeat.target — last | none | <id>heartbeat.model — Override for heartbeatheartbeat.activeHours — Time windowReply HEARTBEAT_OK if nothing needs attention. Agent strips OK-only.
Sandboxing
sandbox.mode — off | non-main (default) | allsandbox.scope — session | agent | sharedworkspaceAccess — none | ro | rwSub-Agents
Run research without blocking. Own session + optional sandbox. Auto-announce results.
/subagents spawnSpawn sub-agent from chat
/subagents list|kill|steer|sendControl sub-agents
Troubleshooting
No DM Reply
openclaw pairing list → approveContext Full
/compact or /newChannel Down
openclaw channels status --probeAuth Expired
openclaw models auth setup-token --provider anthropicAuth/Pairing Fails (v2026.3.7+)
gateway.auth.mode: token|passwordCron Notify Broken (v2026.3.11)
openclaw doctor --fixWorkspace Plugins Not Loading (v2026.3.12)
Auto-load disabled — explicit trust requiredMemory Not Indexing
openclaw memory indexConfig Invalid
openclaw config validateUniversal Fix:
openclaw doctor --deep --yesKey Paths
~/.openclaw/openclaw.json — Main config~/.openclaw/workspace/ — Agent workspace~/.openclaw/agents/<id>/sessions/ — Session store~/.openclaw/credentials/ — OAuth/API keys~/.openclaw/memory/<id>.sqlite — Vector index/tmp/openclaw/openclaw-YYYY-MM-DD.log — Gateway logUse --dev or --profile for isolated state
Scan to open online
openclawcheatsheet.com/print