session-logs

Query JSONL session logs with jq and rg to surface prior conversation context.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/Sugamdeol/moltbot-with-pollinations.ai --skill session-logs-sugamdeol
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/Sugamdeol/moltbot-with-pollinations.ai/tree/main/skills/session-logs
Command: npx skills add https://github.com/Sugamdeol/moltbot-with-pollinations.ai --skill session-logs-sugamdeol

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Users need a reliable way to search, analyze, and derive insights from their entire conversation history stored as session logs. By querying historical JSONL files, you can surface context from older interactions to inform current decisions and responses.

Core Features & Use Cases

  • Query and filter sessions by date, user, or role across all past conversations.
  • Extract user or assistant messages and generate summaries to review decision points.
  • Audit and accountability: reconstruct context for compliance or debugging and improve future interactions.

Quick Start

Query your sessions by date or keyword with jq against the sessions JSONL files to surface prior conversations.

Frequently Asked Questions about session-logs

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

FAQPage Schema
How do I search conversation history stored in JSONL session logs?

To search conversation history in JSONL session logs, you can query and filter past interactions by date, user, or message role using tools like jq and rg to locate specific messages across all stored sessions.

Can I extract and summarize assistant messages from JSONL files for an audit trail?

Yes, you can extract user or assistant messages from JSONL files to generate summaries that reconstruct context for compliance, debugging, and audit trails across agents and assistants.

What JSONL fields are required to analyze historical conversation data?

Analyzing historical conversation data requires JSONL files containing fields like timestamp, message.role, and message.content to properly filter, summarize, and locate relevant messages within the session logs.

What is the best way to query older chat sessions by date and keyword?

The best way to query older chat sessions by date or keyword is running jq commands directly against your sessions JSONL files to filter and surface prior conversations and decision points.

Does this session log analysis approach work without external dependencies?

Yes, this session log analysis approach works without external dependencies, relying only on standard command-line tools like jq and rg to parse and query JSONL conversation history files.

When do I need to query session logs instead of relying on current chat memory?

You need to query session logs when users reference older chats, require audit trails, or need to surface context from historical interactions that falls outside the active conversation memory window.