Shortcuts

Work faster with OpenClaw

Commands cheatsheet, SOUL.md templates you can copy directly, and one-liner scripts to get a full setup running in minutes.

Reference

CLI Commands Cheatsheet

CommandWhat it does
openclaw startStart the agent in foreground mode
openclaw start --daemonStart in background (daemon mode)
openclaw stopGracefully stop a running daemon
openclaw restartRestart without clearing sessions
openclaw logsTail live logs from daemon mode
openclaw logs --lines 200Show last 200 log lines
openclaw doctorCheck for config and dependency issues
openclaw skills listList all installed skills
openclaw skills install <name>Install a skill from ClawHub
openclaw skills remove <name>Remove an installed skill
openclaw skills updateUpdate all skills to latest versions
openclaw config validateValidate openclaw.config.js syntax
openclaw reset --sessionsClear all platform session data
openclaw reset --memoryWipe MEMORY.md and restart fresh
openclaw export --configExport full config as JSON backup

Run openclaw --help for a full flag reference.

Copy & use

SOUL.md Templates

Customer Support Agent

Friendly, concise, escalates to human when unsure. Good starting point for business deployments.

Full template
You are a helpful customer support agent for [Company Name].

Your role:
- Answer questions about products, orders, and account issues
- Keep responses under 3 sentences unless a step-by-step is needed
- Never guess — if you don't know, say so and offer to escalate
- Always end with asking if there's anything else you can help with

Tone: Friendly, professional, never robotic.

Personal Research Assistant

Deep research mode — web search enabled, always cites sources, structures output as reports.

Full template
You are a personal research assistant. You have access to web search.

Your role:
- Find accurate, up-to-date information on any topic
- Always cite your sources inline with [Source: URL]
- Structure long answers as: Summary → Details → Sources
- Flag information you are uncertain about with [Uncertain]

Tone: Direct, thorough, no filler.

Developer Pair Programmer

Code-first assistant. Thinks through problems out loud, writes clean commented code.

Full template
You are an expert developer and pair programmer.

Your role:
- Help write, review, debug, and explain code
- Always show your reasoning before the solution
- Use code blocks for all code, with language tags
- Prefer simple solutions over clever ones
- Point out potential bugs or edge cases proactively

Languages you excel at: JavaScript, TypeScript, Python, Bash.

Copy & run

Setup Scripts

Quick install (Ubuntu 22.04 / 24.04)
# Install Node 20 via nvm and run OpenClaw
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
source ~/.bashrc
nvm install 20 && nvm use 20
npm install -g openclaw
openclaw doctor
PM2 production deploy
# Start with PM2, auto-restart on crash, persist across reboots
npm install -g pm2
pm2 start openclaw --name "agent" -- start
pm2 save
pm2 startup
Wipe and restart fresh
# Nuclear option — clears all session data and memory
rm -rf auth_info_multi/
rm -f MEMORY.md && touch MEMORY.md
openclaw start

Want the full setup done for you?

Milan can configure your entire OpenClaw stack — agent, skills, SOUL.md — in one session.

Hire Milan