OpenClaw Commands Cheatsheet
OpenClaw is an autonomous, open-source AI agent operating as a persistent CLI tool, designed to manage tasks through commands like setup, configure, and run. Key commands include /model to change AI providers.
OpenClaw has two main types of commands:
- Terminal CLI commands (openclaw ...)
- Chat / Slash commands (like /help) used in chat apps such as Discord, Telegram, etc.
Below is the complete practical command list currently documented.
Core OpenClaw CLI Commands
These are used in your terminal.
| Command | What it does |
|---|---|
| openclaw chat | Start interactive AI chat session |
| openclaw image "prompt" | Generate an image from text |
| openclaw tts "text" | Convert text to speech |
| openclaw help | Show help and command list |
| openclaw help <command> | Show help for specific command |
| openclaw onboard | Run setup wizard |
| openclaw status | Check system / agent status |
| openclaw doctor | Diagnose and fix configuration issues |
| openclaw models status | Check API providers and model availability |
| openclaw gateway restart | Restart the gateway service |
Example:
openclaw chat openclaw image "cyberpunk robot cat" openclaw tts "Hello world" openclaw status
These commands control the local AI agent running on your machine.
Slash Commands (Chat Control Commands)
These are used inside chat with the OpenClaw bot.
Core commands
| Command | Function |
|---|---|
| /help | Show help docs |
| /commands | List all commands |
| /status | Show current system status |
| /whoami | Show your user ID |
| /id | Same as /whoami |
| /stop | Stop current task |
| /restart | Restart the bot |
Session commands
| Command | Function |
|---|---|
| /reset | Reset the conversation |
| /new | Start a new session |
| /compact | Compress conversation context |
| /context | Show memory/context usage |
Example:
/reset /status /context
These commands control the AI conversation session.
Natural-Language Commands (Agent Tasks)
OpenClaw also allows plain English commands, for example:
- Summarize my unread emails
- Find all PDFs in my downloads folder
- Open GitHub and check notifications
- Run npm install in my project
- What meetings do I scheduled today?
- Turn on the living room lights
These commands trigger actions such as:
- File management
- Web automation
- Terminal execution
- Email/calendar control
- Smart-home tasks
Skill / Extension Commands
If you install skills from ClawHub, additional commands appear.
Example:
clawhub install homeserver
Skills can add commands like:
- server monitoring
- docker control
- automation pipelines
- network scanning
Cheat Sheet
CLI Commands
- openclaw chat
- openclaw image
- openclaw tts
- openclaw help
- openclaw onboard
- openclaw status
- openclaw doctor
- openclaw models status
- openclaw gateway restart
Chat commands
- /help
- /commands
- /status
- /whoami
- /stop
- /restart
- /reset
- /new
- /compact
- /context
Summary
OpenClaw is an easy-to-use, open-source AI assistant you control via terminal or chat apps. It lets you chat, generate images, manage tasks, and automate smart-home actions using simple commands. This cheatsheet helps you quickly learn all the essential commands to get the most out of OpenClaw’s powerful features.