session-analysis
Analyze session transcripts for patterns, mistakes, and improvements. Use when reviewing past work, identifying recurring issues, or summarizing completed sessions. Includes transcript parsing, pattern detection, improvement suggestions, and metrics extraction. Not for live session work.
Profile →npx skills add majiayu000/claude-skill-registry --skill session-analysis --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
<mission_control> <objective>Extract insights from session transcripts to identify patterns, mistakes, and improvement opportunities</objective> <success_criteria>Complete analysis with pattern summary, mistake categorization, improvement suggestions, and key metrics</success_criteria> </mission_control> ## Quick Start **If you need to analyze a session:** Read the transcript, extract metrics, identify patterns, and summarize findings. **If you need to compare sessions:** Load multiple transcripts, identify trends, and track improvement over time. **If you need to generate a report:** Output structured markdown with findings, metrics, and action items. ## Session Data Structure ### Files to Read | File | Path | Purpose | | :--- | :--- | :--- | | Transcript | `.claude/workspace/sessions/{id}/raw-transcript.jsonl` | Full session messages | | Start | `.claude/workspace/sessions/{id}/start.jsonl` | Session metadata | | End | `.claude/workspace/sessions/{id}/end.jsonl` | Session duration, stats | | Previous | `.claude/workspace/sessions/previous-session.jsonl` | Most recent session | ### Transcript Format Each line is a JSON message: ```json {"message":{"content":[{"type":"text","text":
- Quick Start
- Session Data Structure
- Files to Read
- Transcript Format
- Analysis Framework
- Phase 1: Load & Basic Metrics
- Phase 2: Pattern Detection
- Phase 3: Mistake Identification
- Phase 4: Improvement Extraction
- Output Format
- Practical Examples
- Example 1: Analyze Previous Session
- Example 2: Compare Two Sessions
- Example 3: Extract Training Data
Read previous session transcript
Read .claude/workspace/sessions/previous-session.jsonl
Parse and analyze
Extract messages, tools, timestamps
Generate report
Load both transcripts
Read .claude/workspace/sessions/{id1}/raw-transcript.jsonl
Read .claude/workspace/sessions/{id2}/raw-transcript.jsonl
Compare metrics
Identify trendsWhat does the session-analysis skill do?
Analyze session transcripts for patterns, mistakes, and improvements. Use when reviewing past work, identifying recurring issues, or summarizing completed sessions. Includes transcript parsing, pattern detection, improvement suggestions, and metrics extraction. Not for live session work.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill session-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.