| name | oc |
| description | OpenClaw CLI quick-reference. Maps common operations to oc commands. Use this instead of docker compose exec. |
| version | 1.1.0 |
| author | reactor |
| tags | ["oc","cli","openclaw","commands","operations","docker"] |
| trigger | {"command":"/oc","keywords":["openclaw command","oc command","docker compose exec","gateway command","agent command","how to"]} |
/oc — OpenClaw CLI Quick Reference
NEVER use docker compose exec openclaw-gateway npx openclaw ... — use oc directly.
Agent Communication
oc agent --message "<text>"
oc agent --message "<text>" --to <agent-id>
oc agent --message "<text>" --json
oc agent --message "<text>" --timeout 300
oc agent --message "<text>" --deliver
Health & Status
oc health
oc doctor
oc doctor --deep
oc status
oc status --deep
Config
oc config get <dot.path>
oc config set <dot.path> <value>
oc config unset <dot.path>
oc config validate
oc config file
Models
oc models status
oc models aliases list
oc models aliases add <name> <model>
oc models fallbacks list
oc models fallbacks add <model>
oc models auth add
oc models auth order get
Gateway
oc gateway status
oc gateway restart
oc gateway start
oc gateway stop
Channels
oc channels list
oc channels status
Sessions & Skills
oc sessions
oc skills list
oc skills check
oc skills info <name>
Agents
oc agents list
Messaging
oc message send --to <dest> --body "<text>"
Logs & Monitoring
oc logs
backbone status
backbone snapshot
Security
oc secrets reload
oc secrets audit
Other
oc cron list
oc memory search "<query>"
oc hooks list
Still needs docker compose
docker compose up -d openclaw-gateway
docker compose exec --user root openclaw-gateway <cmd>
docker cp <file> $(docker compose ps -q openclaw-gateway):<dest>