session-logs

Search and extract historical context from JSONL session logs.

55|12|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/Yapie0/safe-openclaw --skill session-logs-yapie0
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/Yapie0/safe-openclaw/tree/main/skills/session-logs
Command: npx skills add https://github.com/Yapie0/safe-openclaw --skill session-logs-yapie0

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables you to locate and analyze historical conversation data by parsing session logs stored on disk.

Core Features & Use Cases

  • Search historical sessions for keywords across all stored conversations.
  • Audit long-running dialogues to reference context from past chats.
  • Extract structured summaries of user and assistant messages for review.

Quick Start

Query your session logs with a keyword to surface matching user and assistant messages across all stored 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 past conversation history stored in JSONL session logs?

You can search past conversation history by querying JSONL session logs with jq and rg. This Skill locates keywords across all stored sessions to surface matching user and assistant messages.

What is the best way to extract structured context from older parent chats?

Extracting structured context from parent chats is done by parsing stored JSONL files in the sessions directory. This Skill identifies historical references and returns structured results for review.

Do I need jq and rg installed to analyze session logs?

Yes, you need jq and rg installed to analyze session logs. This Skill requires jq for parsing JSONL files and rg to perform keyword search across the stored conversations.

Can I audit long-running dialogues by searching conversations outside current memory?

Auditing long-running dialogues is supported by searching conversations outside current memory. This Skill applies to scenarios where users reference context from past chats stored on disk.

What directory path does this Skill use to find stored conversation logs?

The directory path used to find stored conversation logs is ~/.openclaw/agents/<agentId>/sessions/. This Skill processes all JSONL files within this specific sessions directory.