OpenClaw Cheat Sheet

Complete command reference guide. Copy commands instantly to streamline your workflow.

Setup & Config

9 items

Initialize with wizard

openclaw setup --wizard

Quick onboarding

openclaw onboard

Interactive configuration

openclaw configure

Health check & fix

openclaw doctor

Security audit

openclaw security audit --fix

Get config value

openclaw config get agents.defaults.model.primary

Set config value

openclaw config set agents.defaults.timeoutSeconds 300

Remove config entry

openclaw config unset agents.defaults.timeoutSeconds

Global flags

# Use dev environment
openclaw --dev status

# Use custom profile
openclaw --profile work gateway status

# Output JSON
openclaw status --json

# Disable colors
openclaw logs --no-color

Gateway

14 items

Check Gateway status

openclaw gateway status

Start Gateway

openclaw gateway start

Stop Gateway

openclaw gateway stop

Restart Gateway

openclaw gateway restart

Install as service

openclaw gateway install

Uninstall service

openclaw gateway uninstall

Run in foreground

openclaw gateway run

Call RPC method

openclaw gateway call --method config.patch --params '{"skills.enabled":["notion"]}'

Probe health

openclaw gateway probe --timeout 5000

Discover Gateways

openclaw gateway discover

Follow logs

openclaw logs --follow

Show last N lines

openclaw logs --limit 200

Plain text logs

openclaw logs --plain

JSON logs

openclaw logs --json

Channels

11 items

List channels

openclaw channels list

Check channel status

openclaw channels status --probe

View channel logs

openclaw channels logs --channel telegram --lines 50

Add Telegram bot

openclaw channels add --channel telegram --account alerts --name "Alerts Bot" --token $TELEGRAM_BOT_TOKEN

Add Discord bot

openclaw channels add --channel discord --account work --name "Work Bot" --token $DISCORD_BOT_TOKEN

Add WhatsApp

openclaw channels add --channel whatsapp

Add Google Chat

openclaw channels add --channel googlechat --account default --name "GChat Bot"

Remove channel

openclaw channels remove --channel discord --account work

Delete channel config

openclaw channels remove --channel discord --account work --delete

Login to channel

openclaw channels login --channel whatsapp

Logout from channel

openclaw channels logout --channel whatsapp --account default

Skills & Plugins

16 items

List skills

openclaw skills list

List eligible skills

openclaw skills list --eligible

Get skill info

openclaw skills info seo-blog-generator

Check skill requirements

openclaw skills check

Search skills

npx clawhub search email

Install skill

npx clawhub install email

Sync skills

npx clawhub sync

List plugins

openclaw plugins list

Get plugin info

openclaw plugins info voicecall

Install plugin

openclaw plugins install --path ./custom-plugin

Enable plugin

openclaw plugins enable voicecall

Disable plugin

openclaw plugins disable voicecall

Check plugins

openclaw plugins doctor

Memory status

openclaw memory status

Reindex memory

openclaw memory index

Search memory

openclaw memory search "OpenClaw setup commands"

Models

16 items

Check model status

openclaw models status

List all models

openclaw models list --all

List local models

openclaw models list --local

List by provider

openclaw models list --provider anthropic

Set primary model

openclaw models set claude-3-5-sonnet-20241022

Set image model

openclaw models set-image claude-3-5-sonnet-20241022

Add auth (interactive)

openclaw models auth add

Setup token auth

openclaw models auth setup-token --provider anthropic

Paste token

openclaw models auth paste-token --provider openai --token $OPENAI_API_KEY

Check auth expiry

openclaw models status --check

List aliases

openclaw models aliases list

Add alias

openclaw models aliases add "claude" "claude-3-5-sonnet-20241022"

List fallbacks

openclaw models fallbacks list

Add fallback

openclaw models fallbacks add "claude-3-5-sonnet-20241022" "gpt-4o"

Scan for models

openclaw models scan --set-default --yes

Scan with constraints

openclaw models scan --max-params 100000 --max-age-days 30 --concurrency 3

Browser

25 items

Browser status

openclaw browser status

Start browser

openclaw browser start

Stop browser

openclaw browser stop

Reset profile

openclaw browser reset-profile

List tabs

openclaw browser tabs

Open URL

openclaw browser open --url https://docs.openclaw.ai

Focus tab

openclaw browser focus --target-id e12

Close tab

openclaw browser close --target-id e12

Take screenshot

openclaw browser screenshot --target-id e12 --type png

DOM snapshot

openclaw browser snapshot --format aria --target-id e12

Navigate to URL

openclaw browser navigate --url https://example.com --target-id e12

Click element

openclaw browser click --ref button-submit --target-id e12

Type text

openclaw browser type --text "Hello OpenClaw" --input-ref textarea-message --target-id e12

Press key

openclaw browser press --key Enter --target-id e12

Hover element

openclaw browser hover --ref menu-item --target-id e12

Drag & drop

openclaw browser drag --start-ref draggable --end-ref drop-zone --target-id e12

Select option

openclaw browser select --ref country-select --values "USA" --target-id e12

Upload file

openclaw browser upload --ref file-input --path /tmp/document.pdf --target-id e12

Fill form

openclaw browser fill --fields '[{"ref":"name","value":"John"},{"ref":"email","value":"john@example.com"}]' --target-id e12

Create profile

openclaw browser create-profile --name "Shopping" --color "#FF5A2D"

Delete profile

openclaw browser delete-profile --name "Shopping"

List profiles

openclaw browser profiles

Execute JavaScript

openclaw browser evaluate --fn "document.title" --target-id e12

Get console logs

openclaw browser console --level error --target-id e12

Export as PDF

openclaw browser pdf --target-id e12

Nodes

19 items

List nodes

openclaw nodes list

List connected nodes

openclaw nodes list --connected

Describe node

openclaw nodes describe --node my-iphone

Rename node

openclaw nodes rename --node my-iphone --name "Personal iPhone"

Run command on node

openclaw nodes run --node my-iphone --command "openclaw status"

Invoke node method

openclaw nodes invoke --node my-iphone --command camera_snap --params '{"facing":"back"}'

List pending requests

openclaw nodes pending

Approve request

openclaw nodes approve --node my-iphone

Reject request

openclaw nodes reject --node unknown-device

List cameras

openclaw nodes camera list --node my-iphone

Take photo

openclaw nodes camera snap --node my-iphone --facing back --max-width 1920 --quality high

Record video

openclaw nodes camera clip --node my-iphone --facing back --duration 30s --invoke-timeout 40000

Canvas snapshot

openclaw nodes canvas snapshot --node my-iphone --format png --max-width 1920

Present canvas

openclaw nodes canvas present --node my-iphone --x 100 --y 200 --width 600 --height 400

Hide canvas

openclaw nodes canvas hide --node my-iphone

Navigate canvas

openclaw nodes canvas navigate --node my-iphone --url https://example.com

Evaluate on canvas

openclaw nodes canvas eval --node my-iphone --js "document.body.style.backgroundColor='red'"

Screen recording

openclaw nodes screen record --node my-iphone --duration 60 --fps 30 --out /tmp/recording.mp4

Get location

openclaw nodes location get --node my-iphone --accuracy precise --location-timeout 10000

System & Cron

15 items

Enqueue event

openclaw system event --text "Daily summary check"

Trigger event now

openclaw system event --text "Check emails" --mode now

Last heartbeat

openclaw system heartbeat last

Enable heartbeats

openclaw system heartbeat enable

Disable heartbeats

openclaw system heartbeat disable

System presence

openclaw system presence

List cron jobs

openclaw cron list --all

Cron status

openclaw cron status

Add scheduled job

openclaw cron add --name "daily-summary" --at "2026-02-11T09:00:00Z" --system-event "Check emails and calendar"

Add recurring job

openclaw cron add --name "hourly-check" --every 3600000 --message "Check for new messages"

Add cron expression job

openclaw cron add --name "weekly-report" --cron "0 9 * * 1" --message "Generate weekly report"

Run job

openclaw cron run --id daily-summary

Enable job

openclaw cron enable --id daily-summary

Disable job

openclaw cron disable --id daily-summary

View job history

openclaw cron runs --id daily-summary --limit 10

Top 10 Commands

10 items

Full diagnosis

openclaw status --deep

Restart Gateway

openclaw gateway restart

Verify connectivity

openclaw channels status

Discover capabilities

openclaw skills list

Troubleshooting

openclaw logs --follow

Check AI access

openclaw models status

Enable automation

openclaw browser start

Manage scheduled tasks

openclaw cron list

Auto-fix issues

openclaw doctor

Customize behavior

openclaw config get agents.defaults.model.primary
openclaw config set agents.defaults.timeoutSeconds 300