session-analyst

Analyze Claude Code transcripts to detect behavioral anti-patterns and generate structured improvement logs.

Updated Nov 9, 2025
One-click install
npx skills add https://github.com/markusstrasser/skills --skill session-analyst
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-analyst
Source: https://github.com/markusstrasser/skills/tree/main/session-analyst
Command: npx skills add https://github.com/markusstrasser/skills --skill session-analyst

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Session transcripts can reveal behavioral signals and missteps that static code analysis misses. This Skill analyzes Claude Code transcripts to surface anti-patterns and compile actionable improvement notes.

Core Features & Use Cases

  • Detects common behavioral anti-patterns in sessions (sycophancy, over-engineering, build-then-undo, token waste)
  • Aggregates findings into structured, log-friendly outputs for reviews and audits
  • Supports integration with Gemini for deeper analysis and reporting

Quick Start

Run the included script to generate a compressed transcript summary for your project.

Frequently Asked Questions about session-analyst

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

FAQPage Schema
How do I analyze Claude Code session transcripts for behavioral anti-patterns?

To analyze Claude Code session transcripts for behavioral anti-patterns, run the extraction script to process recent project sessions. It detects issues like sycophancy and token waste, generating structured findings suitable for an improvement log.

What behavioral patterns can session transcript analysis detect?

Session transcript analysis detects common behavioral anti-patterns including sycophancy, over-engineering, build-then-undo cycles, and token waste. It surfaces missteps that static code analysis misses by reviewing actual session interactions.

Can I send session analysis findings to Gemini for deeper analysis?

You can send session analysis findings to Gemini for deeper analysis. The skill compiles compressed transcript summaries and optionally forwards them to Gemini to generate more detailed behavioral reports and reviews.

How do I prepare session transcript summaries for an improvement log?

To prepare session transcript summaries for an improvement log, the skill extracts recent project transcripts and formats them into structured, log-friendly outputs. This aggregates actionable behavioral notes for audits and reviews.

Does session analysis require external dependencies to process transcripts?

Session analysis requires no external dependencies to process transcripts and extract behavioral patterns. However, integrating Gemini for deeper analysis is optional and available if you need extended reporting capabilities.