session-logs

Search and analyze JSONL conversation logs using jq and rg.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MoRen9527/TriMetaverse --skill session-logs-moren9527
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/MoRen9527/TriMetaverse/tree/main/reference/openclaw/skills/session-logs
Command: npx skills add https://github.com/MoRen9527/TriMetaverse --skill session-logs-moren9527

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, rg, and includes references (resource) components.

What problem does it solve?

This Skill allows you to search and analyze your past conversation history stored in session JSONL files, which is useful when you need to recall information from older or parent conversations.

Core Features & Use Cases

  • Search Conversation History: Access and query complete transcripts of past interactions.
  • Analyze Session Data: Use jq to filter and extract specific information like user messages, assistant responses, costs, and tool usage.
  • Use Case: If a user asks about a decision made in a previous, unrelated chat session, you can use this skill to find that conversation and retrieve the relevant details.

Quick Start

Use the session-logs skill to search for the keyword "budget" in all assistant responses across your session logs.

Frequently Asked Questions about session-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search past conversation logs stored in JSONL format?

You can search past conversation logs stored in JSONL format by using the `jq` and `rg` command-line tools to parse and filter historical context, user queries, and assistant responses.

Do I need to install specific tools to analyze session JSONL files?

Yes, parsing and analyzing session JSONL files requires installing the `jq` and `rg` command-line tools to query data structures and search through the conversation history.

Can I retrieve cost data and tool usage from agent session files?

Yes, you can retrieve cost data and tool usage from agent session files by using `jq` to filter specific fields within the JSONL conversation logs.

What is the best way to find a decision made in a previous chat session?

The best way to find a previous decision is to search conversation history transcripts using `rg` for keywords, then use `jq` to extract the relevant assistant responses from the session JSONL files.

What are the limitations of using rg and jq for conversation history search?

Using `rg` and `jq` limits conversation history search to structured JSONL files, meaning unstructured text logs or databases cannot be queried without prior conversion to the JSONL format.