Install
openclaw skills install openclaw-bridgeSend messages to a local OpenClaw/Rook gateway and receive responses directly from Claude Code. Enables bidirectional agent-to-agent communication via the `openclaw agent --message` CLI. Use when you need to delegate work to OpenClaw, ask for Kimi's opinion, trigger an OpenClaw skill, or hand off context between agents. Trigger phrases: "ask openclaw", "tell rook", "delegate to kimi", "send to openclaw", "ask the local agent".
openclaw skills install openclaw-bridgeSend messages to a running OpenClaw gateway and get responses back — directly from Claude Code, without leaving the terminal.
openclaw health should return ok)openclaw CLI in PATH/ask-openclaw <message>
Internally runs:
openclaw agent --message "<message>" --agent main --json
Response is parsed and returned inline.
openclaw agent --message "<message>" --agent main --json --timeout 5
Use when you don't need a response — just informing OpenClaw of a state change.
openclaw agents list
openclaw health
Ask openclaw: "Review this SQL migration — is it safe to run on a live table with 10M rows?"
Claude Code will call openclaw agent --message "Review this SQL migration..." and show you Kimi's response.
Tell openclaw to run the skills-rag-update cron manually
openclaw agent --message "Uruchom ręcznie cron skills-rag-update i podaj wynik" --agent main --json
When ending a Claude Code session, hand off state to OpenClaw:
openclaw agent --message "HANDOFF od Claude Code: $(cat /path/to/.continue-here.md)" --agent main --json
openclaw agent --message "capture-idea --title 'X' --topic architektura --tags 'a,b' --body 'Y'" --agent main --json
When user says "ask openclaw [something]" or "tell rook [something]":
openclaw healthopenclaw daemon startopenclaw agent --message "<message>" --agent main --json.result.payloads[].text from JSON responseWhen delegating a multi-step task:
When gateway is unreachable:
openclaw daemon start"{
"runId": "...",
"status": "ok",
"summary": "completed",
"result": {
"payloads": [
{ "text": "agent response here", "mediaUrl": null }
],
"meta": {
"durationMs": 90617,
"model": "kimi-k2.5",
"usage": { ... }
}
}
}
Extract with:
openclaw agent --message "..." --agent main --json | python3 -c "
import json, sys
d = json.load(sys.stdin)
for p in d['result']['payloads']:
if p['text']: print(p['text'])
"
~/.openclaw/openclaw.json automatically by the CLI--timeout)