session-logs

Retrieve and analyze JSONL session logs to extract messages and generate statistics.

4|Updated Apr 27, 2026
One-click install
npx skills add https://github.com/Agent-Pattern-Labs/sparse-kernel --skill session-logs-agent-pattern-labs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/Agent-Pattern-Labs/sparse-kernel/tree/main/skills/session-logs
Command: npx skills add https://github.com/Agent-Pattern-Labs/sparse-kernel --skill session-logs-agent-pattern-labs

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The session-logs skill solves the problem of manually searching through past conversations for historical context or specific information that has been lost.

Core Features & Use Cases

  • Searchable Session Logs: Retrieve past conversations and analyze them.
  • Data Extraction: Extract user messages and assistant responses for analysis.
  • Use Case: A user can quickly review previous conversations to remember past details or verify information that was mentioned earlier.

Quick Start

Use 'session-logs search "keyword"' to find conversations containing the specified keyword.

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 specific keywords?

You can search conversation history by querying JSONL session logs with keyword search to retrieve past messages, identify historical context, and generate conversation statistics.

Do I need jq and ripgrep to analyze JSONL session logs?

Yes, retrieving and analyzing JSONL session logs requires jq and ripgrep as dependencies for querying log data, filtering messages, and extracting historical context efficiently.

Can I extract user and assistant messages from conversation history?

Yes, you can extract user messages and assistant responses from JSONL session logs to analyze conversation history, verify previously mentioned information, and review past details.

What is the best way to manage session logs for a small team?

The best way to manage small team session logs is using JSONL log analysis to retrieve past conversations, extract messages, and generate statistics for personal and small team communication scenarios.

How does keyword search work for JSONL conversation history?

Keyword search for JSONL conversation history works by filtering session logs using ripgrep and jq to locate specific terms, retrieve matching user and assistant messages, and analyze historical context.