session-logs

Retrieve past conversations from session logs using sessions.json and .jsonl files.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/tamireslaeao-prog/ONI_V30 --skill session-logs-tamireslaeao-prog
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/tamireslaeao-prog/ONI_V30/tree/main/moltbot-main/skills/session-logs
Command: npx skills add https://github.com/tamireslaeao-prog/ONI_V30 --skill session-logs-tamireslaeao-prog

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and retrieve relevant past conversations from session logs to establish context for current inquiries.

Core Features & Use Cases

  • Index and quickly locate sessions using sessions.json and per-session .jsonl files.
  • Extract user and assistant messages with jq and filter by role or text content.
  • Compute per-session metrics such as total cost, message counts, and timestamps.
  • Cross-session search for phrases and keywords across all stored conversations.

Quick Start

Ask it to pull all user messages from the most recent session to review what the user said.

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 across multiple sessions?

To search past conversation history, this Skill cross-references a central sessions.json index with per-session .jsonl files. It enables structured querying to locate specific keywords and retrieve relevant historical context efficiently.

What is the best way to retrieve context from previous chats not stored in memory?

Retrieving context from previous chats relies on indexing stored conversation logs. The Skill identifies and pulls relevant prior interactions using a structured schema, establishing historical context unavailable in active memory.

Can I compute session metrics like total cost and message counts from jsonl logs?

You can compute per-session metrics such as total cost, message counts, and timestamps from jsonl logs. The Skill processes these structured files to calculate and extract specific analytical data points.

How do I extract user messages from the most recent session log?

You can extract user messages from the most recent session log by querying the stored files. The Skill filters the per-session .jsonl data using jq to isolate and pull messages matching the user role.

Does this session log analysis approach require any external dependencies?

This session log analysis approach requires no external dependencies to function. It operates independently using standard structured file formats and built-in querying tools to parse and retrieve historical context.