session-logs

Search and analyze JSONL session logs with jq to recall past conversations.

Updated Jan 8, 2026
One-click install
npx skills add https://github.com/drshailesh88/Krypto --skill session-logs-drshailesh88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/drshailesh88/Krypto/tree/main/skills/session-logs
Command: npx skills add https://github.com/drshailesh88/Krypto --skill session-logs-drshailesh88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you search, recall, and analyze your stored session logs to reconstruct past conversations when memory falls short.

Core Features & Use Cases

  • Session indexing and quick access to sessions via the sessions.json index.
  • Transcript queries to filter messages, timestamps, and tool usage for auditing or knowledge retrieval.
  • Audit and troubleshooting by revisiting conversations to verify decisions or diagnose issues.

Quick Start

Use the session-logs skill to list recent sessions and extract user messages from a specific session.

Frequently Asked Questions about session-logs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search and analyze chat session logs stored as JSONL?

To search JSONL session logs, you parse the stored conversation files using the jq utility to filter and extract specific user messages, assistant responses, timestamps, and costs for auditing and compliance purposes.

How do I extract past user messages and timestamps from conversation logs?

You extract user messages and timestamps from conversation logs by querying the JSONL session files with jq, filtering the structured chat data to reconstruct past conversations when memory falls short.

Do I need jq installed to parse JSONL conversation logs?

Yes, you need the jq utility installed to parse JSONL conversation logs, as it is required to query the structured chat data and extract specific messages, timestamps, and costs from the files.

What is the best way to audit past conversations for compliance and debugging?

The best way to audit conversations for compliance and debugging is indexing session logs and filtering transcripts to revisit decisions, verify actions, and diagnose issues by extracting timestamps and tool usage data.

Can I retrieve token costs and tool usage data from stored session logs?

Yes, you can retrieve token costs and tool usage data from stored session logs by querying the JSONL files with jq to extract the specific metrics needed for troubleshooting and auditing.

Why does session-logs fail to find my past chat history?

Session-logs fails to find chat history if the files are not stored as JSONL in the local session directory, or if the jq utility is missing, preventing proper parsing and indexing of the conversations.