OpenClaw
Prerequisites
- Node.js 18+
- OpenClaw installed and configured
Install & Run
bash
# Install daemon
npm install -g @cmdctrl/openclaw
# Register
cmdctrl-openclaw register -s https://api.cmd-ctrl.ai
# Start
cmdctrl-openclaw startHow It Works
The daemon spawns openclaw agent --agent main --message "..." --json for each task. OpenClaw routes all messages to a single persistent session per agent (agent:main:main by default). The daemon reads message history from OpenClaw's native JSONL transcripts at ~/.openclaw/agents/.
Messages sent from other channels (WhatsApp, Telegram, the OpenClaw TUI) and from Cmd+Ctrl all share the same session context – this is by design in OpenClaw's personal assistant model.
Configuration
Custom agent – set OPENCLAW_AGENT_ID to route tasks to a different OpenClaw agent (default: main):
bash
OPENCLAW_AGENT_ID=research cmdctrl-openclaw startCustom CLI path – if openclaw isn't in your PATH:
bash
OPENCLAW_CLI_PATH=/path/to/openclaw cmdctrl-openclaw startTroubleshooting
"openclaw not found" – Ensure openclaw is in your PATH: which openclaw. Or set OPENCLAW_CLI_PATH.