Year/Month Review — Work Analytics
Analyze session history to generate insights about work patterns.
Data Sources
- Chat search DB:
python ~/.claude/tools/search_chats.py— SQLite FTS5 index of all sessions - Session files:
~/.claude/projects/*/— JSONL transcript files - Memory files:
~/.claude/projects/*/memory/— accumulated knowledge - Git history:
git login relevant repos
Analysis Dimensions
- Volume: sessions count, messages count, estimated tokens used
- Top Projects: which directories/repos got most attention
- Tool Usage: which tools/skills/agents used most frequently
- Patterns: peak hours, average session length, common workflows
- Accomplishments: major features shipped, bugs fixed, new tools configured
- Knowledge Growth: new memory entries created, topics covered
- Agent Delegation: how often and which agents delegated to
- Evolution: how work patterns changed over the period
Output Format
Generate a structured report with:
- Key stats (numbers)
- Top 5 accomplishments
- Most used tools/skills
- Patterns and trends
- Recommendations for improvement
Use the period specified by the user (default: last 30 days).