session-logs

Search and analyze past JSONL session logs using jq and rg filters.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, rg.

What problem does it solve?

This Skill allows you to search and analyze your past conversation logs stored in JSONL files, enabling you to recall historical context or information from previous interactions.

Core Features & Use Cases

  • Session Log Access: Directly access and query conversation transcripts stored in ~/.resonix/agents/<agentId>/sessions/.
  • Data Filtering: Utilize jq to filter messages by role (user, assistant), content type (text), and extract specific information like costs or keywords.
  • Use Case: If a user asks about a decision made in a conversation from last week, you can use this skill to search the relevant session logs for that decision.

Quick Start

Use the session-logs skill to find all user messages containing the keyword "budget" 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 in JSONL session logs?

You can search past conversation history in JSONL session logs by using jq and rg to filter structured log data, retrieving historical context and past user requests from stored transcripts.

What is the best way to extract specific keywords from JSONL chat logs?

The best way to extract specific keywords from JSONL chat logs is using jq to filter messages by role and content type, allowing you to isolate text containing your target search terms.

How does filtering session logs by role work with jq?

Filtering session logs with jq works by parsing the JSONL format to query specific message roles like user or assistant, and extracting content types such as text from the structured data.

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

Yes, you need both jq and rg installed to analyze session logs, as these command-line tools are required dependencies to parse and filter the structured JSONL log data efficiently.

Can I calculate session costs from historical conversation logs?

Yes, you can calculate session costs from historical conversation logs by applying jq queries to the JSONL files to extract and summarize the cost data associated with past interactions.

Why use jq for searching JSONL session transcripts instead of standard grep?

You use jq instead of standard grep because session transcripts are structured JSONL files, and jq parses the structured data to filter by message role and content type, whereas rg handles raw text searching.