github davila7/claude-code-templates v1.26.2
v1.26.2 - Session Analytics (Beta)

latest release: v1.26.4
one day ago

🎉 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


Full Changelog: v1.26.1...v1.26.2

Don't miss a new claude-code-templates release

NewReleases is sending notifications on new releases.