tldr-stats
Show full session token usage, costs, TLDR savings, and hook activity
By parcadei · 470 installs
npx skills add parcadei/continuous-claude-v3 --skill tldr-stats
Source repository · Upstream listing
TLDR Stats Skill
Show a beautiful dashboard with token usage, actual API costs, TLDR savings, and hook activity.
When to Use
See how much TLDR is saving you in real $ terms
Check total session token usage and costs
Before/after comparisons of TLDR effectiveness
Debug whether TLDR/hooks are being used
See which model is being used
Instructions
IMPORTANT: Run the script AND display the output to the user.
1. Run the stats script:
2. Copy the full output into your response so the user sees the dashboard directly in the chat. Do not just run the command silently the user wants to see the stats.
Sample Output
Understanding the Numbers
Metric What it means
You've spent Actual $ spent on Claude API this session
You sent / Without TLDR Actual tokens vs what it would have been
TLDR saved you Money saved by compressing file reads
File reads X → Y Raw file tokens compressed to TLDR summary
Cache hits How often TLDR reuses parsed file results
History sparkline Compression % over recent sessions (█ = high)
Visual Elements
Progress bars show savings and cache efficiency at a glance
Sparklines show historical trends (█ = high savings, ▁ = low)
Colors indicate status (green = good, yellow = moderate, red = concern)
Emojis distinguish model types (🎭 Opus, 🎵 Sonnet, 🍃 Haiku)
Notes
Token savings vary by file size (big files = more savings)
Cache hit rate starts low, increases as you re read files
Cost estimates use: Opus $15/1M, Sonnet $3/1M, Haiku $0.25/1M
Stats update in real time as you work