extracting-session-data

Official

Unlock Claude session insights, effortlessly.

Authorbitwarden
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Users struggle to manually sift through Claude Code session logs to find specific information like errors, tool usage, or session statistics. This Skill eliminates that tedious process, providing structured access to your session history.

Core Features & Use Cases

  • Efficient Log Access: Programmatically locate, list, filter, and extract specific data from Claude Code's native session logs (~/.claude/projects/{project-dir}/{session-id}.jsonl).
  • Targeted Data Extraction: Pull out metadata, user prompts, tool usage statistics, errors, thinking blocks, or full session statistics.
  • Flexible Filtering: Filter sessions by timeframe, git branch, size, line count, error presence, or keywords to quickly find relevant sessions.
  • Use Case: Quickly find all sessions from the last week that had errors, then extract the specific error messages and tool usage statistics to debug a recurring issue.

Quick Start

Use the extracting-session-data skill to list all my Claude sessions from the last week.

Dependency Matrix

Required Modules

jq

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: extracting-session-data
Download link: https://github.com/bitwarden/ai-plugins/archive/main.zip#extracting-session-data

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository