session-logs

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

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

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 stored in session log files, enabling you to recall previous discussions or context.

Core Features & Use Cases

  • Session Log Access: Directly access and query conversation transcripts stored in JSONL format.
  • Data Analysis: Utilize jq and rg to filter, extract, and summarize information from historical chat data.
  • Use Case: If a user asks about a decision made in a previous, unrelated conversation, you can use this skill to quickly find and present that information.

Quick Start

Use the session-logs skill to find all sessions from January 6th, 2026.

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?

This Skill searches past conversation logs stored in JSONL format using jq and rg command-line tools. It allows you to filter, extract, and query historical chat data for specific context or decisions.

What is the best way to retrieve historical context from session logs?

The best way to retrieve historical context from session logs is by applying jq and rg to parse JSONL conversation transcripts. This approach efficiently filters and extracts specific interactions for analysis.

Do I need jq and rg installed to analyze conversation history?

Yes, you need jq and rg installed to analyze conversation history with this Skill. These command-line tools are required dependencies for efficient JSONL log parsing, filtering, and text searching.

Can I use jq to extract specific messages from JSONL chat transcripts?

Yes, you can use jq to extract specific messages from JSONL chat transcripts. The Skill leverages jq to filter and summarize conversation data, allowing you to query past interactions by date or content.

How do I find a decision made in a previous unrelated conversation?

To find a decision made in a previous unrelated conversation, use this Skill to search and analyze your session log files. It queries JSONL history to quickly find and present the requested information.

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

Using rg and jq for conversation analysis is limited to querying static JSONL session log files. It relies on command-line text parsing rather than dynamic database queries, making it suited for auditing stored transcripts.