session-logs

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

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, rg, and includes references (resource) and scripts (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 or understand previous interactions.

Core Features & Use Cases

  • Session Log Access: Directly access and query historical conversation transcripts.
  • Data Analysis: Utilize jq and rg to filter, search, and summarize log data.
  • Use Case: When a user asks about a topic discussed days ago, this skill can quickly find the relevant messages in the session logs.

Quick Start

Search all session logs for the phrase "project deadline".

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 for a specific phrase?

You can search past conversation logs by querying JSONL files with `rg` for text matching and `jq` for structured data extraction, allowing you to recall previous interactions and retrieve historical context.

What is the best way to analyze JSONL session history with jq?

The best way to analyze JSONL session history is using `jq` to filter and summarize log data, which allows you to parse structured conversation transcripts and understand prior discussions effectively.

Do I need jq and rg installed to parse conversation transcripts?

Yes, you need both `jq` and `rg` installed as dependencies to parse and search JSONL session logs, as the Skill relies on them for filtering and text matching.

Can I retrieve historical context from agent sessions stored in JSONL format?

Yes, you can retrieve historical context from agent sessions stored in JSONL format by querying the log files with `jq` and `rg` to recall and understand previous interactions.

How do I find messages about a topic discussed days ago in session logs?

To find messages about a topic discussed days ago, this Skill searches your session logs using `rg` for keyword matching and `jq` for JSONL parsing to locate the relevant historical context.