session-logs

Locate and analyze historical session data in JSONL files using jq and rg pipelines.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/Dolonia333/dolo.ai --skill session-logs-dolonia333
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/Dolonia333/dolo.ai/tree/main/skills/session-logs
Command: npx skills add https://github.com/Dolonia333/dolo.ai --skill session-logs-dolonia333

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly locate and analyze historical conversations stored in session logs to provide context for current chats.

Core Features & Use Cases

  • Index and search: Navigate sessions.json and per-session .jsonl logs to retrieve relevant messages.
  • Context extraction: Filter user and assistant messages by date, keyword, or session id to reconstruct prior conversations.
  • Usage insights: Compute per-session statistics such as word counts, timestamps, and estimated costs to inform decisions.
  • Use Case: When a user asks about something said earlier, pull the relevant exchanges from ~/.openclaw/agents/<agentId>/sessions to answer accurately.

Quick Start

Ask the AI to search your local session logs for conversations containing a given keyword and summarize the results.

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 chat session logs for a specific keyword?

You can search past chat session logs by parsing per-session JSONL files with rg pipelines. The Skill filters user and assistant messages by date, keyword, or session id to reconstruct relevant prior conversations.

How do I extract context from historical JSONL session files?

Extract context from historical JSONL session files by navigating sessions.json and per-session logs. The Skill uses jq and rg pipelines to index and retrieve relevant messages, timestamps, and estimated costs from past chats.

Can I compute usage statistics and costs from local session logs?

Yes, you can compute usage statistics from local session logs. The Skill analyzes session JSONL data to calculate per-session statistics including word counts, timestamps, and estimated costs to inform your usage decisions.

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

Yes, you need jq and rg installed because the Skill relies on these pipelines for deterministic parsing of sessions.json and per-session JSONL files. These tools enable efficient indexing, filtering, and extraction of past chat context.

What is the best way to retrieve prior conversations stored in local agent directories?

The best way to retrieve prior conversations stored in local agent directories is by applying deterministic parsing to sessions.json and JSONL logs. This approach surfaces relevant past chats by filtering on timestamps, keywords, and session ids.