session-logs

Search and analyze past conversation logs in JSONL files using jq and rg.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/xxrenzhe/autobb --skill session-logs-xxrenzhe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/xxrenzhe/autobb/tree/main/openclaw-prebuilt/skills/session-logs
Command: npx skills add https://github.com/xxrenzhe/autobb --skill session-logs-xxrenzhe

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to search and analyze your past conversation history, which is crucial when a user references older or parent conversations that are not in the current memory.

Core Features & Use Cases

  • Session Log Search: Access and query full conversation transcripts stored in JSONL files.
  • Contextual Recall: Retrieve historical information to understand previous discussions or user requests.
  • Use Case: A user asks about a decision made in a meeting from last week. You can use this skill to search through your session logs to find the relevant conversation and recall the decision.

Quick Start

Use the session-logs skill to find all user messages from the session file named 'session-abc.jsonl'.

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 history stored in JSONL files?

You can search past conversation history by using jq and rg to parse and filter JSONL files for specific messages, keywords, or cost information from older sessions. This allows retrieving historical context not present in current memory.

What is the best way to retrieve historical context from older or parent conversations?

Retrieving historical context from older conversations is best done by querying full session transcripts stored in JSONL files using jq and rg to locate specific past discussions or user requests.

Do I need jq and rg installed to analyze session logs?

Yes, you need jq and rg installed because this Skill requires these command-line tools to parse and filter JSONL data for specific messages, keywords, or cost information from your session logs.

Can I extract specific user messages from a session transcript file?

Yes, you can extract specific user messages from a session transcript file by applying jq filters to the JSONL data to locate and retrieve the exact conversational content you need.

How does jq filter conversation logs for specific keywords?

jq filters conversation logs by parsing the JSONL data structure to match specific keywords, messages, or cost information, while rg provides fast text searching across the full session transcripts.

When should I not use command-line tools to search conversation history?

You should avoid using command-line tools for conversation history search when the historical context you need is already present in your current memory, as this Skill specifically targets older or parent conversations not currently loaded.