Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
juliusbrussee avatar

Caveman Stats

  • 217k installs
  • 93.6k repo stars
  • Updated July 26, 2026
  • juliusbrussee/caveman

caveman-stats is a Claude Code hook tool that displays real token usage and caveman-compression savings read from session logs.

About

caveman-stats is a hook-delivered tool that displays real token usage and compression savings for the current session. The stats read directly from Claude Code session logs, showing actual token spent and estimated savings from compressed subagent output. Developers use caveman-stats when tracking context budget across long multi-turn sessions to confirm compression effectiveness.

  • Real token usage and savings tracking from session logs, not AI estimation
  • Hook-delivered output that displays immediately without model computation
  • Shows cumulative token impact of caveman-compressed subagent delegations

Caveman Stats by the numbers

  • 217,008 all-time installs (skills.sh)
  • +17,940 installs in the week ending Jul 28, 2026 (Skillselion tracking)
  • Ranked #24 of 3,301 Productivity & Planning skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
At a glance

caveman-stats capabilities & compatibility

Capabilities
token tracking · session monitoring
npx skills add https://github.com/juliusbrussee/caveman --skill caveman-stats

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs217k
repo stars93.6k
Security audit3 / 3 scanners passed
Last updatedJuly 26, 2026
Repositoryjuliusbrussee/caveman

How do you see real agent token usage per session?

Track real token usage and compression savings across long development sessions

Who is it for?

Long development sessions where context management is critical and compression savings need verification

Skip if: Short conversations where token budget is abundant or AI-estimated savings are sufficient

When should I use this skill?

Mid-session to check actual token spend and verify caveman subagent compression is effective

What you get

Formatted session token receipts, estimated Caveman savings, and hook-injected usage summary.

  • session token receipts
  • Caveman savings estimate

By the numbers

  • Caveman output compresses ~60% vs vanilla agents

Files

SKILL.mdMarkdownGitHub ↗

This skill is delivered by hooks/caveman-stats.js (read by hooks/caveman-mode-tracker.js on /caveman-stats). The model does not need to do anything when this skill fires — the hook returns decision: "block" with the formatted stats as the reason. The user sees the numbers immediately.

Related skills

How it compares

Choose caveman-stats for log-derived Claude Code receipts; use general analytics when hook-based session telemetry is unavailable.

FAQ

Does caveman-stats use AI to estimate tokens?

caveman-stats reads the Claude Code session log directly via hooks/caveman-stats.js. The model does not compute numbers—the hook injects formatted receipts with decision block.

How is caveman-stats triggered?

caveman-stats fires on the /caveman-stats command. The caveman-mode-tracker.js hook reads session data and returns formatted token usage and estimated Caveman savings immediately.

Is Caveman Stats safe to install?

skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.