Skip to content
alyn
JuliusBrussee

Caveman Stats skill

Show recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locate the host's native usage report. Trigger: /caveman-stats.

$npx skills add JuliusBrussee/caveman --skill caveman-stats
GitHub stars
118,877
Pack installs
4.8M
Alyn Score
83/99
Updated
3 h ago
License
Apache-2.0

Install Caveman Stats

Pick your agent. Every command is ready to paste.

$npx skills add JuliusBrussee/caveman --skill caveman-stats

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads caveman-stats when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the caveman-stats skill”. In Codex, type $caveman-stats.

The skill itself

SKILL.md

GitHub

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.

Tips for Caveman Stats

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • It is part of a pack with 22 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Caveman Stats

What does the Caveman Stats skill do?

Show recorded output and cache-read token usage and mode attribution for the current Claude Code session, or locate the host's native usage report. Trigger: /caveman-stats.

How do I install Caveman Stats?

Run "npx skills add JuliusBrussee/caveman --skill caveman-stats" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Caveman Stats work in Cursor and Codex?

Yes. Caveman Stats uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Caveman Stats free?

Caveman Stats is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Caveman Stats?

Caveman Stats is published by JuliusBrussee in the JuliusBrussee/caveman repository, together with 21 other skills.

Similar skills. From other creators.