analyze-session

Analyze Claude Code session logs to extract tool usage events and recovery patterns.

8|1|Updated Jul 16, 2013
One-click install
npx skills add https://github.com/844196/dotfiles --skill analyze-session-844196
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-session
Source: https://github.com/844196/dotfiles/tree/main/files/dot_claude/exact_local-marketplace/exact_session/exact_skills/exact_analyze-session
Command: npx skills add https://github.com/844196/dotfiles --skill analyze-session-844196

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill analyzes Claude Code session logs to extract actionable insights about tool usage, success rates, and user interventions.

Core Features & Use Cases

  • Analyze tool usage patterns across single or multiple sessions.
  • Generate structured summaries and per-call timelines to diagnose errors and recovery paths.
  • Compare sessions to identify repeated issues and improvement opportunities.

Quick Start

Analyze a session by providing its session ID to generate a concise insights report.

Frequently Asked Questions about analyze-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze Claude Code session logs for tool usage errors?

To analyze Claude Code session logs for tool usage errors, you can use this Skill to parse JSONL files by session ID, extracting success and failure events to generate structured diagnostic summaries. It identifies errors and correlates tool results with user prompts.

Can I track user interventions and recovery patterns in Claude Code sessions?

Yes, you can track user interventions and recovery patterns in Claude Code sessions by parsing the session logs. This Skill extracts specific user intervention events and correlates them with subsequent tool calls to map recovery paths.

How do I extract tool call timelines from multiple Claude Code sessions?

You can extract tool call timelines from multiple Claude Code sessions by providing their session IDs. The Skill resolves the JSONL paths for each ID and outputs per-call details to help diagnose errors across sessions.

What is the best way to compare Claude Code session logs for repeated issues?

The best way to compare Claude Code session logs for repeated issues is to analyze multiple session IDs simultaneously. This Skill generates structured summaries across sessions to identify repeated failures and improvement opportunities.

Does this Claude Code log analyzer require any external dependencies?

No, this Claude Code log analyzer does not require external dependencies. It operates using internal scripts to resolve session paths, summarize data, and extract tool calls directly from the provided JSONL session logs.

Why do I need to provide a session ID to analyze Claude Code logs?

You need to provide a session ID to analyze Claude Code logs because the Skill uses it to resolve the exact JSONL file path. This ensures the analysis extracts accurate tool usage data and error events for that specific session.