session-logs

Search and extract messages from archived JSONL session logs using jq.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/okbest2024/openclaw-backup --skill session-logs-okbest2024
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/okbest2024/openclaw-backup/tree/main/workspace/skills/session-logs-1.0.0
Command: npx skills add https://github.com/okbest2024/openclaw-backup --skill session-logs-okbest2024

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Reconstructing context from long, archived conversations can be time-consuming. This Skill lets you search and analyze your own session logs stored as JSONL files to quickly locate relevant interactions and insights.

Core Features & Use Cases

  • Search across all session logs to find conversations by date, keyword, or participant role.
  • Extract user and assistant messages to review what was said in prior sessions.
  • Summarize sessions and identify recurring issues or topics for faster context understanding.

Quick Start

Ask the AI to retrieve prior conversations mentioning a topic and summarize the key points.

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 archived session logs stored as JSONL files?

To search and analyze archived session logs stored as JSONL files, you can use jq to parse the structure and locate conversations by date, keyword, or participant role, with optional rg for keyword search.

What is the best way to extract user and assistant messages from past conversation history?

Extracting user and assistant messages from past conversation history relies on jq to parse the JSONL data, allowing you to isolate specific participant roles and review exactly what was said in prior sessions.

Can I summarize long chat sessions and identify recurring topics from JSONL history?

Yes, you can summarize long chat sessions and identify recurring topics from JSONL history by applying shell commands for aggregation alongside jq parsing to quickly reconstruct context and understand key points.

Do I need jq installed to retrieve context from my session logs?

Yes, you need jq installed to retrieve context from your session logs, as the Skill relies on jq to parse the JSONL files, while also optionally supporting rg for faster keyword search.

How does keyword search work across multiple archived JSONL session files?

Keyword search across multiple archived JSONL session files works by using rg to locate matching terms quickly, and then applying jq to parse the relevant JSONL entries and retrieve the full conversational context.