session-logs

Search and analyze historical JSONL conversation logs using jq and rg.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to search and analyze your complete conversation history stored in session JSONL files, which is crucial when a user references older or parent conversations.

Core Features & Use Cases

  • Session Log Access: Directly access and query historical chat data.
  • Data Analysis: Utilize jq and rg for powerful filtering and searching of conversation content, costs, and message types.
  • Use Case: A user asks, "What did we decide about the marketing budget in our meeting last week?" This Skill can search through past session logs to find the relevant information.

Quick Start

Use the session-logs skill to search for all assistant messages containing the keyword "budget" in the session file named 'session-123.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 session logs?

You can search past conversation history in JSONL files by filtering session data located in `~/.genoma/agents/<agentId>/sessions/` using `jq` and `rg` to retrieve specific user and assistant messages.

How do I analyze token cost and tool usage breakdowns from past chat sessions?

Analyze token costs and tool usage from chat sessions by applying `jq` filters to the JSONL session data to extract and aggregate cost and tool usage fields.

Do I need to install jq and rg to parse session JSONL files for conversation analysis?

Yes, you need `jq` and `rg` installed to parse and search the JSONL session files for conversation analysis and retrieving past messages.

What is the best way to retrieve assistant messages containing a keyword from session logs?

The best way to retrieve assistant messages with a specific keyword from session logs is using `rg` for text searching combined with `jq` to parse the matching JSONL structures.

Where are my agent conversation history logs located for JSONL parsing?

Agent conversation history logs are stored in the `~/.genoma/agents/<agentId>/sessions/` directory in JSONL format, ready for parsing and analysis.