OpenClaw Mega Cheatsheet 2026 — Every CLI Command, Config Option & Workspace File

April 21, 2026 · ClawReady Team

MoltFounders published an OpenClaw Mega Cheatsheet today — a dense, structured reference covering the full CLI surface, channel setup, workspace files, memory system, model auth, sessions, and slash commands in one place. If you've ever wished the docs were scannable rather than narrative, this is the closest thing to it.

Here's a distillation of what's in it and why each section matters.

Quick start (in case you've forgotten the right flags)

# Install
npm install -g openclaw@latest

# Onboard (guided, installs daemon)
openclaw onboard --install-daemon

# Or minimal
openclaw onboard --flow quickstart --skip-channels

# Start gateway
openclaw gateway --port 18789

The --mode local vs --mode remote flag distinction is worth knowing: local mode runs the gateway on the same machine, remote mode connects to an already-running gateway on another device or server.

Channel setup — the commands that actually work

ChannelMethodCommand
WhatsAppQR Scanopenclaw channels login
TelegramBot Tokenopenclaw channels add --channel telegram --token $TOKEN
DiscordBot Tokenopenclaw channels add --channel discord --token $TOKEN
SignalLinked Deviceopenclaw channels add --channel signal
SlackBot Tokenopenclaw channels add --channel slack
Google ChatService Accountopenclaw channels add --channel googlechat
MS TeamsBot Registrationopenclaw channels add --channel msteams
iMessagemacOS NativemacOS bridge (no CLI flag)

Diagnostics: openclaw channels status --probe to test live connectivity. openclaw channels logs --channel [id] for per-channel log tailing.

Workspace files — what each one does

These live at ~/.openclaw/workspace/ (or your configured workspace root):

FilePurpose
AGENTS.mdOperating instructions — what the agent does, how it delegates
SOUL.mdPersona, tone, hard boundaries
USER.mdUser info, preferences, timezone, how to address them
IDENTITY.mdAgent name, emoji, theme
MEMORY.mdCurated long-term facts (DM sessions only)
memory/YYYY-MM-DD.mdDaily append-only log — auto-read at session start
TOOLS.mdNotes about local tools, environment, available CLIs
HEARTBEAT.mdIdle-cycle checklist — what the agent does between conversations
BOOT.mdStartup checklist

Root path: ~/.openclaw/workspace — everything relative to this unless overridden in openclaw.json.

Memory system — the full picture

OpenClaw has layered memory, and most users only use one layer:

Provider auto-selection order: local GGUF → OpenAI → Gemini → Voyage. Set explicitly in memorySearch.provider to avoid surprises.

openclaw memory index --all   # Index entire workspace
openclaw memory search "X"    # Semantic search

Models — the commands you actually need

openclaw models list --all                        # All available models
openclaw models set anthropic/claude-opus-4-7     # Set primary
openclaw models fallbacks add openrouter/x/y      # Add fallback
openclaw models auth setup-token                  # Anthropic auth (recommended)
openclaw models auth add --provider openai        # Add API key
openclaw models status --probe                    # Live auth check
openclaw models aliases add opus anthropic/claude-opus-4-7  # Create alias

Failover cooldown tiers: 1 min → 5 min → 1 hour. If a provider fails, OpenClaw backs off exponentially before retrying.

Session config — the part most people miss

Session scope (session.dmScope) controls how much context different users share:

⚠️ The cheatsheet calls this out explicitly: use per-channel-peer for multi-user inboxes to prevent context leakage between users. If your OpenClaw handles multiple people (team use, customer service), this is not optional.

Session reset options: daily (resets at 4am local, default) or idle (sliding idle window). You can override per session type or per channel.

The honest gap this cheatsheet exposes

A reference this comprehensive is useful — but it also shows how much configuration surface OpenClaw has. Install → onboard → channel → workspace files → memory backend → model auth → session scope → fallbacks → slash commands. Each step has subtleties, and getting any one wrong produces silent failures rather than obvious errors.

That's not a criticism of OpenClaw. It's a feature: this level of configurability is why OpenClaw can serve a solo developer, a small business, and a multi-agent org on the same codebase. But it means setup matters more than most tools.

Full cheatsheet

The complete MoltFounders Mega Cheatsheet is at moltfounders.com/openclaw-mega-cheatsheet. Worth bookmarking — it covers slash commands, exec safety, sub-agent patterns, and plugin config that we didn't excerpt here.

Want your OpenClaw configured correctly from the start? ClawReady handles every layer — channel, memory, model auth, and session scope.