analyze-sessions

Analyze Claude Code session logs to identify automation opportunities.

39|5|Updated Dec 28, 2025
One-click install
npx skills add https://github.com/benjaminshoemaker/ai_coding_project_base --skill analyze-sessions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-sessions
Source: https://github.com/benjaminshoemaker/ai_coding_project_base/tree/main/.claude/skills/analyze-sessions
Command: npx skills add https://github.com/benjaminshoemaker/ai_coding_project_base --skill analyze-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Analyzing Claude Code session data to identify automation opportunities helps teams reduce manual toil by surfacing recurring patterns and bottlenecks across projects.

Core Features & Use Cases

  • Cross-project pattern discovery: Find common workflows, decision points, and repetitive tasks that can be automated.
  • Targeted analysis: Filter results by a specific project with --project or exclude toolkit sessions with --targets-only to focus on real workstreams.
  • Actionable reporting: Produce structured insights and recommendations to guide automation playbooks and AGENTS.md updates.

Quick Start

Run the analyze-sessions skill to scan your Claude Code session logs. Example commands:

  • /analyze-sessions --project my-app
  • /analyze-sessions --targets-only

Frequently Asked Questions about analyze-sessions

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

FAQPage Schema
How do I analyze Claude Code session logs to find automation opportunities?

You can analyze Claude Code session logs by scanning the central JSONL file at ~/.claude/logs/sessions.jsonl. This process identifies recurring patterns, bottlenecks, and tool usage across projects to output structured automation recommendations.

What is the best way to discover repetitive workflows across multiple Claude Code projects?

Discovering repetitive workflows across Claude Code projects requires cross-project pattern analysis on your session data. This identifies common decision points and recurring tasks, producing actionable reporting to guide automation playbooks and AGENTS.md updates.

Can I filter session pattern analysis to a specific Claude Code project?

Yes, you can filter session pattern analysis to a specific Claude Code project using the --project flag. You can also use --targets-only to exclude toolkit sessions, ensuring your analysis focuses strictly on real workstreams.

Does this session analysis tool require any external dependencies or components?

No, this session analysis tool requires no external dependencies or components. It operates independently to read your local JSONL session logs and directly generate structured insights for automation opportunities.

Why should I analyze Claude Code transcripts and tool usage data?

Analyzing Claude Code transcripts and tool usage data helps teams reduce manual toil. It surfaces recurring patterns and bottlenecks across projects, allowing you to identify tasks suitable for automation and improve overall workflow efficiency.