Source: https://reclaimllm.com/news/openclaw-session-capture-via-plugin-hooks
← Back to News feature Apr 27, 2026OpenClaw session capture via plugin hooks
RCLM now captures OpenClaw sessions through a lightweight plugin that forwards session, LLM, and tool events into the existing hook ingestion pipeline. RCLM now supports OpenClaw session capture through plugin hooks. OpenClaw sessions can be recorded alongside Claude Code, Gemini CLI, and Codex CLI sessions, using the same RCLM ingestion path for messages, tool calls, session timing, and upload behavior. The integration is capture-only in its first version. It observes OpenClaw activity, accumulates the relevant events locally, and uploads the completed session when OpenClaw reports the session has ended. It does not try to control or block OpenClaw behavior.How it works
OpenClaw exposes more than one hook surface. RCLM uses OpenClaw plugin hooks instead of the lower-level internal command automation hooks. At a workflow level, users install RCLM hooks as usual:- saved RCLM configuration
- local session event storage
- upload retry behavior
- redaction-on-upload
- shared session record shape
- existing hook tests and parser patterns
session_startsession_endllm_inputllm_outputbefore_tool_callafter_tool_call
session_end, it builds one session record and uploads it. That avoids uploading on every event and keeps the first version simple.
Captured OpenClaw sessions follow the same general shape as other RCLM hook sessions:
- user messages
- assistant messages
- tool calls
- tool results
- working directory when available
- model name when available
- start and end timing
- session duration