insightslisted
Install: claude install-skill rohitg00/pro-workflow
# Session Insights
Surface patterns from learnings and session history.
## Trigger
Use when asking "show stats", "how am I doing", "analytics", "insights", "heatmap", or "correction rate".
## Data Sources
Gather data from these locations before computing metrics:
```bash
# Session history and learnings
cat .claude/LEARNED.md 2>/dev/null || cat CLAUDE.md | grep -A999 "LEARNED"
cat .claude/learning-log.md 2>/dev/null
# Session activity
git log --oneline --since="today" --author="$(git config user.name)"
git diff --stat
```
A **correction** is any instance where the user redirected, fixed, or overrode agent output during a session. Count `[LEARN]` entries and explicit correction markers in session history.
## What It Shows
### Session Summary
```
Session Insights
Duration: 47 min
Edits: 23 files modified
Corrections: 2 self-corrections applied
Learnings: 3 new patterns captured
Context: 62% used (safe)
```
### Learning Analytics
```
Learning Insights (42 total)
Top categories:
Testing 12 learnings (29%)
Navigation 8 learnings (19%)
Git 7 learnings (17%)
Quality 6 learnings (14%)
Most applied:
#12 [Testing] Run tests before commit — 15 times
#8 [Navigation] Confirm path for common names — 11 times
Stale learnings (never applied):
#15 [Editing] Prefer named exports — 0 times (45 days old)
```
### Correction Heatmap
```
Correction Heatmap
By category (all time):
████████████ Testing 34 corrections
████████