Agent skill

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.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill session-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/analysis/session-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

<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":

What's inside
Steps it walks through
  1. Quick Start
  2. Session Data Structure
  3. Files to Read
  4. Transcript Format
  5. Analysis Framework
  6. Phase 1: Load & Basic Metrics
  7. Phase 2: Pattern Detection
  8. Phase 3: Mistake Identification
  9. Phase 4: Improvement Extraction
  10. Output Format
  11. Practical Examples
  12. Example 1: Analyze Previous Session
  13. Example 2: Compare Two Sessions
  14. Example 3: Extract Training Data
Ships with 1 file
  • metadata.json
Commands it runs
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 trends
More from claude-skill-registry
All skills →
About this skill
What 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.

Keep going