v1.26.2 - Session Analytics (Beta)
๐ What's New
Session Analytics (Beta)
Added a comprehensive analytics modal for each chat session with detailed insights into your Claude Code interactions.
Overview Metrics:
- Total messages count
- Total tokens used
- Tool calls executed
- Unique tools used
- Models utilized
- Cache efficiency percentage
Detailed Analytics:
- ๐ Token Usage Breakdown: Input/output tokens, cache creation/reads, and cost estimation
- โฑ๏ธ Session Timeline: Start time, last activity, duration, and status
- โก Time Breakdown: Claude execution time vs user conversing time with intelligent filtering
- ๐ค Model Information: Detailed usage of each model (Sonnet/Haiku) with message counts and percentages
- ๐ ๏ธ Tool Usage: Statistics and breakdown of all tools used
- ๐งฉ Components Used: Tracking of agents, slash commands, and skills
Key Features:
- Real-time analytics calculation from JSONL conversation files
- Multi-model usage detection (automatically identifies Sonnet/Haiku switching)
- Intelligent time filtering (excludes long breaks and overnight pauses)
- Accurate cost estimation based on Claude API pricing
- Component detection from tool_use blocks
Access: Click the "Analytics" button next to any session in the Chats interface (--chats mode)
๐ฆ Installation
```bash npm install -g claude-code-templates@1.26.2 ```
๐ Usage
```bash
Launch chats interface
cct --chats
Click Analytics button on any session to view detailed metrics
```
๐ Links
- ๐ Documentation
- ๐ Component Library
- ๐ฌ Discord Community
Full Changelog: https://github.com/davila7/claude-code-templates/compare/v1.26.1...v1.26.2