Caveman Stats skill for Claude

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.

Caveman Stats SKILL.md

The full skill file from JuliusBrussee/caveman (Apache-2.0).

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.

How to install Caveman Stats

Claude Code

Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):

npx degit JuliusBrussee/caveman/skills/caveman-stats#main ~/.claude/skills/caveman-stats

Codex

npx degit JuliusBrussee/caveman/skills/caveman-stats#main ~/.codex/skills/caveman-stats

Claude.ai and Claude Desktop

Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.

Frequently asked questions

+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 in Claude Code?

Copy the skill folder into ~/.claude/skills/caveman-stats, for example with "npx degit JuliusBrussee/caveman/skills/caveman-stats#main ~/.claude/skills/caveman-stats". Claude Code loads it automatically and uses it when a task matches.

+Does Caveman Stats work with ChatGPT or Codex?

Yes. Caveman Stats uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/caveman-stats. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.

+Is Caveman Stats free?

Caveman Stats is published on GitHub by JuliusBrussee under the Apache-2.0 license, which allows free use.

Related ai agents & skills skills

  1. Grill Me

    A relentless interview to sharpen a plan or design.

    mattpocock/skills★ 327k
  2. Skill Creator

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    anthropics/skills★ 197k
  3. Caveman

    Terse caveman voice: answer first, fluff gone, every technical fact kept.

    JuliusBrussee/caveman★ 121k
  4. Megacave

    Caveman in Classical Chinese: 文言文 register, far fewer characters, technical terms verbatim. Invoke only with /megacave or /caveman wenyan.

    JuliusBrussee/caveman★ 121k
  5. Ultracave

    Caveman at maximum compression: fragments, one word when one word is enough, each fact once. Invoke only with /ultracave or /caveman ultra.

    JuliusBrussee/caveman★ 121k
  6. Do

    Execute a phased implementation plan using subagents. Use when asked to execute, run, or carry out a plan — especially one created by…

    thedotmack/claude-mem★ 118k
  7. How It Works

    Explain how claude-mem captures observations, when memory injection kicks in, and where data lives.

    thedotmack/claude-mem★ 118k
  8. Mem Search

    This skill should be used when the user asks to "search memory", "what do you remember about X", "check claude-mem", "mem search", "find…

    thedotmack/claude-mem★ 118k
  9. Owner Goals

    Map what the owner wants from the prompts they typed themselves (prompts an agent wrote are left out), then sort it into focus areas, asks…

    thedotmack/claude-mem★ 118k

See all ai agents & skills skills →

More skills from JuliusBrussee

  1. Investigate First

    Diagnose ambiguous failures before editing. Use for unknown causes, intermittent behavior, performance regressions, or investigations…

    JuliusBrussee/caveman★ 121k
  2. Lean Build

    Build feature work with high overbuilding risk. Use for new behavior, product slices, or integrations where repository reuse, strict scope,…

    JuliusBrussee/caveman★ 121k

All skills by JuliusBrussee →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.