Searches and analyzes conversation history using jq and ripgrep.

Install

mkdir -p .claude/skills/session-logs && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/618" && unzip -o skill.zip -d .claude/skills/session-logs && rm skill.zip

Installs to .claude/skills/session-logs

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Search and analyze your own session logs (older/parent conversations) using jq.
79 charsno explicit “when” trigger
Intermediate

Key capabilities

  • →Search and filter historical session logs
  • →Extract user messages from past conversations
  • →Calculate total costs per session
  • →Analyze tool usage patterns
  • →Include archived reset or deleted transcripts

How it works

The skill uses jq and ripgrep to parse and query JSONL files located in the agent's state directory, including active, reset, and deleted session transcripts.

Inputs & outputs

You give it
Search keyword or session identifier
You get back
Filtered conversation history or metrics

When to use session-logs

  • →Find what was discussed in a previous session
  • →Analyze historical conversation usage data
  • →Recall context from parent sessions

About session-logs

Accesses and filters historical session logs stored in JSONL format. It enables the extraction of past data, decisions, or references from previous interactions.

Search and analyze your own session logs (older/parent conversations) using jq.

When not to use it

  • →When the information is available in current memory

Prerequisites

jq and ripgrep installed

Limitations

  • →Requires jq and ripgrep CLI tools
  • →Performance may vary with very large session files

How it compares

It enables programmatic access to the full history of interactions, including archived data, which is not accessible through standard chat memory.

Compared to similar skills

session-logs side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
session-logs (this skill)84moReviewIntermediate
context-management-context-restore105moReviewAdvanced
conversation-memory88moNo flagsAdvanced
zlibrary-to-notebooklm68moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry