caveman-stats

Analyze Claude Code session logs to report token usage and estimated savings.

Updated Jan 13, 2025
One-click install
npx skills add https://github.com/phucle297/dotfiles --skill caveman-stats-phucle297
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: caveman-stats
Source: https://github.com/phucle297/dotfiles/tree/main/.claude/plugins/cache/caveman/caveman/ef6050c5e184/plugins/caveman/skills/caveman-stats
Command: npx skills add https://github.com/phucle297/dotfiles --skill caveman-stats-phucle297

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides immediate insights into token usage and potential savings for Claude Code sessions, eliminating the need for manual calculations.

Core Features & Use Cases

  • Real-time Token Usage: Displays the actual token usage for the current session.
  • Estimated Savings: Offers an estimate of potential savings based on usage patterns.
  • Session Log Analysis: Reads directly from the Claude Code session log without AI estimation.
  • Quick Trigger: Triggered by the /caveman-stats command, providing immediate feedback.
  • Output Injection: The skill outputs the statistics through the mode-tracker hook without additional computation.

Quick Start

To view the token usage and estimated savings for your current Claude Code session, simply type /caveman-stats.

Frequently Asked Questions about caveman-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I view token usage in a Claude Code session?▼

You can view token usage in a Claude Code session by triggering the /caveman-stats command, which analyzes session logs and outputs real-time statistics without additional AI computation.

Can I estimate token savings for my Claude Code sessions?▼

Yes, you can estimate token savings for Claude Code sessions by running the /caveman-stats command, which analyzes session log patterns to provide estimated savings alongside actual usage.

Does Claude Code automatically calculate token consumption and savings?▼

Claude Code does not automatically display token consumption and savings, but you can use the /caveman-stats command to instantly retrieve these statistics by reading session logs.

Do I need additional dependencies to check token usage statistics in Claude Code?▼

You do not need additional dependencies to check token usage statistics in Claude Code, as the /caveman-stats command directly reads session logs and injects output without extra computation.