session-logs

Search and analyze session history with this tool.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows you to search and analyze your past conversation history stored in session JSONL files, enabling you to recall previous discussions or context.

Core Features & Use Cases

  • Session Search: Find specific conversations based on date, content, or keywords.
  • Cost Analysis: Calculate the total cost associated with a particular session.
  • Message Breakdown: Count user and assistant messages, and identify tool usage within a session.
  • Use Case: If a user asks about a decision made in a previous chat, you can use this skill to quickly locate that conversation and extract the relevant information.

Quick Start

Use the session-logs skill to search for sessions from a specific day.

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 stored in JSONL files?

You can search past conversation logs stored in JSONL files using command-line tools like jq and rg to retrieve historical user and assistant messages from specified session directories.

Can I calculate the total cost associated with a specific chat session?

Yes, you can perform cost analysis on session logs to calculate the total cost associated with a particular conversation by querying the JSONL files with jq.

How do I count user and assistant messages in conversation history?

You can count user and assistant messages in conversation history by using jq to parse the JSONL session files and break down the message types within a specific chat session.

Do I need jq and rg installed to search session JSONL files?

Yes, you need jq and rg installed and available in your system's PATH to search and analyze session logs, as the skill relies on these command-line tools for JSONL file operation.

What's the best way to find a specific decision made in a previous chat?

The best way to find a specific decision from a previous chat is to search your conversation history by date, content, or keywords using rg and jq to locate and extract the relevant information.

Can I identify tool usage within a specific session log?

Yes, you can identify tool usage within a session log by analyzing the JSONL conversation files with jq to parse and extract the historical tool execution data.