caveman-stats
Skill4 starsChanged 7 months agoMITView on GitHub
Use when the user invokes /caveman-stats or asks for caveman token-usage stats. Shows real token usage and estimated savings for the current session, read directly from the Claude Code session log — no AI estimation. Output is injected by the `caveman-mode-tracker` hook (vendored alongside this skill), which intercepts the slash command and returns the formatted stats as a blocked-decision reason.
21 other projects use a version of this, 18 of them edited.
Adopted by
Most recently taken up by
- nomdedev/agent-manager-templatetheir own version, first seen Sep 30, 2026
- chinkan/RustFoxedited, first seen Sep 22, 2026
- gazi04/code-forgeedited, first seen Sep 18, 2026
- hyperdargo/ClaudeSkillAndPluginsWithMasterPromptedited, first seen Sep 16, 2026
- xingtu1996/xingtu-skillsedited, first seen Sep 7, 2026
- waddle-zoo/folio-latticeedited, first seen Sep 5, 2026
Used with
Projects with it also use handoff.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillhandoff
Compact the current conversation into a handoff document for another agent to pick up.
Also in 3 projects that use this
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 18
- rawsun007/claude-notch★ 4627% same
- nitingupta220/riperflow★ 1927% same
- chinkan/RustFox★ 914% same
- PanPanFR/oh-my-openkilo★ 914% same
- CashewTeam/Con11-AI-Skills★ 827% same
- john-data-chen/hermes-agent-backup★ 227% same
- srv1n/rzn-browser★ 227% same
- agrivisionai/claude-skills★ 128% same
- iizcm/caveman-stats-skill★ 127% same
- SamuelNDCE/claude-super-skill-library★ 127% same
8 more not listed
Wrote their own version · 3
- JuliusBrussee/caveman★ 110ksame name
- nomdedev/agent-manager-template★ 2same name
- Hayatelin/caveman-zh-TW★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- apple-contactsSkill
- atlassian-cli-jiraSkill
- bellardSkill
- brainstormingSkill
- career-interviewSkill
- carmackSkill
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-helpSkill
- caveman-reviewSkill
- cavemanSkill
- ci-watchSkill
- clone-configSkill
- cloudflare-emailSkill
- course-correctSkill
- datastar-patternsSkill
- datastarSkill
- datastar-taoSkill
- defuddleSkill
- description-linterSkill
- deterministic-simulation-testingSkill
- dispatching-parallel-agentsSkill
- dopplerSkill
- dx-auditSkill
- evolution-changelogSkill
- evolution-engineSkill
- executing-plansSkill
- farleySkill
- finishing-a-bones-leafSkill
- frontend-component-decision-treesSkill
- gh-project-charterSkill
- gh-project-operationsSkill
- gh-project-setupSkill
- gh-project-sharedSkill
- goal-completeSkill
- golang-patternsSkill
- hellandSkill
- hickeySkill
- hippSkill
- investigating-agent-sessionsSkill
- landingSkill
- linear-cliSkill
- linear-methodSkill
- memorizeSkill
- midscene-testingSkill
- monitoring-the-operatorSkill
- normanSkill
- obsidian-basesSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- orchestrator-modeSkill
- orchestrator-suitSkill
- ousterhoutSkill
- pikchr-generatorSkill
- pocock-cavemanSkill
- pocock-diagnoseSkill
- pocock-git-guardrailsSkill
- pocock-handoffSkill
- pocock-setup-pre-commitSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
If the hook isn't registered in the active settings, the slash command falls through to the model — surface that fact and point the user at …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Caveman Stats
This skill is delivered by the hooks/caveman-mode-tracker hook, which intercepts /caveman-stats on UserPromptSubmit and runs the bundled caveman-stats.js against the active Claude Code session transcript. The hook returns decision: "block" with the formatted stats as the reason — the user sees real token counts and estimated savings immediately, and the model never has to compute or estimate anything.
Numbers come from the JSONL session log on disk:
output_tokensandcache_read_input_tokenssummed across every assistant turn.- Estimated savings derived from the mean per-task ratio recorded in
caveman-stats.js(COMPRESSIONtable — currently onlyfullmode has benchmark data; other modes report no estimate). - Lifetime aggregation across sessions via
/caveman-stats --allor/caveman-stats --since 7d, backed by~/.claude/.caveman-history.jsonl.
If the hook isn't registered in the active settings, the slash command falls through to the model — surface that fact and point the user at the wardrobe hooks/caveman-mode-tracker component (or the upstream installer at https://github.com/JuliusBrussee/caveman).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

