OpenClaw Session Log Explorer
Searches and analyzes historical conversation logs using jq and ripgrep to retrieve past context and audit usage metrics.
The session-logs skill provides a powerful interface for querying historical interaction data stored within the OpenClaw environment. It enables developers to perform deep searches through older parent conversations, extract specific message types (user, assistant, or tool results), and calculate detailed usage costs across sessions. By leveraging standard command-line utilities like jq and rg, it transforms raw JSONL session data into actionable insights, making it indispensable for users who need to reference past context or monitor their agent's performance and expenditure over time.
Características Principales
01Session indexing to map chat provider keys to specific session IDs
02Detailed tool usage breakdown and frequency analysis
030 GitHub stars
04Advanced message filtering to isolate user prompts, assistant replies, or tool calls
05Automated cost and token usage calculation per session or per day
06High-speed full-text search across all historical conversation logs using ripgrep
Casos de Uso
01Auditing AI expenditure by generating daily cost summaries from agent interaction logs
02Retrieving specific technical context or code snippets from a conversation that occurred several days ago
03Analyzing agent behavior by reviewing the frequency and sequence of tool calls in previous sessions