session-logs

Search and analyze session JSONL logs with jq and rg.

6|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/hlbbbbbbb/No-worries --skill session-logs-hlbbbbbbb
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-logs
Source: https://github.com/hlbbbbbbb/No-worries/tree/main/noworries_app/apps/desktop/skills/session-logs
Command: npx skills add https://github.com/hlbbbbbbb/No-worries --skill session-logs-hlbbbbbbb

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, rg, and includes references (resource) components.

What problem does it solve?

This Skill allows you to search and analyze your past conversation logs, which are stored in JSONL files, enabling you to recall information from older or parent conversations.

Core Features & Use Cases

  • Session Log Search: Find specific information within your complete conversation history.
  • Historical Context Retrieval: Useful when a user references past discussions or requires context not present in current memory.
  • Log Analysis: Analyze message counts, costs, and tool usage per session.
  • Use Case: If a user asks "What did we decide about the project last week?", this skill can search through the session logs to find the relevant discussion and provide the answer.

Quick Start

Use the session-logs skill to search for the keyword "budget" in all assistant responses from the last week.

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 files?

To search past conversation history, you can query session JSONL files using `jq` and `rg` to locate specific message metadata, roles, content, or usage costs from older parent chats.

How do I analyze message counts and tool usage costs from session logs?

You can analyze message counts, tool usage, and usage costs per session by parsing the session log JSONL files with `jq` to extract and aggregate the relevant metadata fields.

Can I retrieve historical context from parent conversations outside of immediate memory?

Yes, you can retrieve historical context from parent conversations by searching session logs stored in `~/.clawdbot/agents/<agentId>/sessions/` to recall information not present in immediate memory.

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

Yes, you need `jq` and `rg` installed as dependencies, because the skill uses these command-line tools to process and search the JSONL files containing your complete conversation history.

What is the best way to find a specific keyword in assistant responses from previous chats?

The best way to find a specific keyword in assistant responses is using `rg` to search within the JSONL session logs, optionally filtering by role metadata with `jq` for precise historical context retrieval.

Where are conversation session logs stored for analysis?

Conversation session logs are stored as JSONL files in the `~/.clawdbot/agents/<agentId>/sessions/` directory, typically named with a session ID like `<session-id>.jsonl` for structured log analysis.