caveman-stats
SkillAI & modelscaveman-stats is a skill that shows recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locates the host's native usage report. It gives you a clear view of how tokens are being spent during a session.
Use caveman-stats in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add caveman-stats and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the caveman-stats skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Have an active Claude Code session.
What your AI can do with it
- Show recorded output token usage for the current session
- Show cache-read token usage for the current session
- Provide mode attribution for token usage
- Locate the host's native usage report
Getting started
- Have an active Claude Code session.
- Add the caveman-stats skill to your agent configuration.
- Trigger the skill with /caveman-stats when you want usage details.
- Review the output or follow the pointer to the native usage report.
What this skill tells your AI
The instructions your AI receives, as published by juliusbrussee/caveman in skills/caveman-stats/SKILL.md and read by ahel’s review.
In Claude Code, src/hooks/caveman-mode-tracker.js resolves src/hooks/caveman-stats.js next to itself and runs it on /caveman-stats. The hook does not block the prompt: it supplies the report through hookSpecificOutput.additionalContext with an instruction to print it verbatim inside a fenced code block. Do exactly that, and do not calculate, recompute or re-round the numbers yourself.
In Gemini CLI, direct the user to /stats model for current session token usage or /stats session for session statistics. Gemini custom commands are prompts; they cannot invoke the built-in command or read its live session metrics. Never read Claude Code transcripts as Gemini usage. In other hosts, use a native usage report if one is available; otherwise say that current session usage is unavailable. The Claude reader and its lifetime history apply only to Claude Code. Savings remain unknown in every host without a measured comparison.
The report shows recorded output and cache-read tokens, response counts, and mode attribution where available. Savings are unknown: the transcript has no measured comparison without Caveman. Do not infer saved tokens, percentages, dollars, rule overhead, or a net result from output counts or the current mode.
--all and --since 7d aggregate the latest recorded output count per session. --share reports observed usage with savings unknown. Historical est_saved_* fields are ignored; their original history rows remain on disk. The statusline shows the active mode without the retired savings badge.
Original/current memory-file pairs are reported by their measured byte sizes. Those file-size differences do not establish provider token or billing savings. See docs/HONEST-NUMBERS.md.
Signals
- GitHub stars
- 109k
- Forks
- 6k
- Last commit
- Oct 2026
- Installs
- 335k installs
Questions
- What does caveman-stats show?
- It shows recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locates the host's native usage report.
- How do I trigger caveman-stats?
- Use the command /caveman-stats.
- Does it work outside Claude Code?
- No, it is for the current Claude Code session.
- Can I see usage for past sessions?
- No, it only covers the current session.
Advanced
- Item type
- skill
- Key
caveman-stats-juliusbrussee- Source
- github.com/juliusbrussee/caveman
github.com/juliusbrussee/caveman
More in AI & models
Skill · anthropics
More in AI & modelswayfinder
Skill · mattpocock
More in AI & modelswizard
Skill · mattpocock
More in AI & modelsalgorithmic-art
Skill · anthropics
More in AI & modelscode-review-and-quality
Skill · addyosmani
More in AI & modelsai-first-engineering
Skill · affaan-m
More in AI & models