← Cockpit
RL system management

OpenClaw

Common terminal commands for managing, troubleshooting, and operating the RL/OpenClaw system. Quick reference for Patrick — not documentation.

Cautions
  • Prefer `openclaw gateway restart` over stop/start chains — restart is atomic and avoids partial state.
  • Do not run destructive reset or uninstall commands without confirming the scope first.
  • Never paste secrets, API keys, or tokens into chat messages or code commits.
01
Quick Health Check

Fast status reads to confirm RL is running and healthy.

openclaw status Overall system status snapshot.
openclaw status --usage Status plus current token/API usage.
openclaw status --all Full status across all subsystems.
openclaw status --deep --timeout 5000 Deep health check with 5s timeout per subsystem.
openclaw doctor Self-diagnostic — checks config, credentials, gateway, and connectivity.
02
Gateway / Service Troubleshooting

Diagnose and recover gateway issues. Prefer restart over stop/start chains.

openclaw gateway status Gateway process status and uptime.
openclaw gateway restart Restart the gateway. Use this before stop/start chains.
openclaw gateway stability Show recent restart/crash history.
openclaw gateway usage-cost Current API usage and estimated cost against quota.
openclaw gateway health Health of upstream model endpoints.
03
Logs / Diagnostics

Pull logs for debugging and session review.

openclaw logs Tail recent system logs (last 50 lines by default).
04
Crons / Tasks / Sessions

Manage scheduled work, tasks, and active sessions.

openclaw cron --help List cron management commands and flags.
openclaw sessions --help List session management commands and flags.
openclaw tasks --help List task management commands and flags.
05
Skills / Models / Docs Discovery

Explore what RL can do and look up documentation.

openclaw skills --help List available skills and how to invoke them.
openclaw models --help Show available models, aliases, and quota info.
openclaw channels --help List registered channels (Telegram, etc.).
openclaw nodes --help Inspect node/browser integrations.
openclaw docs <query> Search OpenClaw documentation inline.
System architecture

RL architecture

How work flows from Patrick through OpenClaw to agents, tools, and back. Two boundaries: Lume VM and Patrick's Mac/shared workspace.

Lume VM
OpenClaw Gateway
Process orchestrator
RL Agent
Session / context
Worker Agents
Parallel sub-agents
Cron / Tasks
Scheduled automation
Skills
Browser / Nodes
Shell / Code
Model API
Input
Output
Patrick's Mac / shared workspace
Telegram
Primary chat channel
CC CLI
Local code sessions
KB / Wiki
/Volumes/kb/ on shared volume
Memory / Context
Project + user memory files