Skip to content
cccskills
FreePublished on GitHubEnglish overview

caveman-stats

View recorded output tokens, cache-read tokens, response counts, and available mode attribution for a Claude Code session. In other agent environments, find the native usage report where supported, without treating observed usage as proof of savings.

OriginalShow the original description

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.

Works withGemini
AI rating90/ 100See how to install

Good for

  • Checking recorded token usage for the current session
  • Reviewing response counts and mode attribution
  • Aggregating recorded output across sessions
  • Finding Gemini CLI usage reports

Overview

What it does

caveman-stats displays recorded output tokens, cache-read tokens, response counts, and any available breakdown by mode for the current Claude Code session. It can also aggregate recorded output counts across multiple sessions. In environments such as Gemini CLI, it directs you to the usage report provided by that environment.

When it helps

Use it to check how much output was recorded while working with an agent. It also helps when you want to inspect a breakdown by mode or review session records together over a recent period.

Example requests

  • Run /caveman-stats to check current usage.
  • “Aggregate the records for the last seven days with --since 7d.”
  • “Show me how to check current usage in Gemini CLI.”

Notes

In Claude Code, it uses the report generated by the included hook. In Gemini CLI, it directs you to /stats model or /stats session; this skill does not retrieve live metrics. It cannot show usage in environments without a native report. Without a measured comparison, recorded figures do not establish reduction percentages or monetary savings.

This overview was written by AI (OpenAI Codex) from the public SKILL.md. Check the original below for the exact behavior.

Objective evaluation

AI rated this skill on four points using only the contents of its SKILL.md. Stars and popularity are not taken into account.

Clear instructionsIs it clear when to use it and what it does?
AGoodIt specifies the metrics shown in Claude Code and the reports to use in Gemini CLI and other hosts.
Concrete stepsAre steps, inputs, outputs, and examples spelled out?
AGoodIt specifies the hook report's display format and what --all and --since 7d aggregate.
SafetyAre sending data, deleting files, and running commands disclosed?
AGoodOperations read and display usage; the instructions do not direct external transmission or deletion.
Easy setupDoes it need few tools or API keys, and are they documented?
BPartly lackingIt states the dependency on a Claude Code hook but does not provide installation instructions.

The total counts each point as A = 25, B = 15, C = 5. Rated by AI (OpenAI Codex) as of Oct 20, 2026. Treat it as a guide and read the original before installing.

Disagree? Request a re-evaluation

Tell us which point is wrong and why. No login needed. We will check it against the SKILL.md, redo the evaluation, and show the result here.

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Files included (2)

  • SKILL.md1.9 KB
  • README.md2.7 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

cavecrew

FreeSummaryAI rating 90

Delegate code lookup, small edits, and diff reviews to three specialized subagents. Their compact, structured results help conserve the main agent's context, with guidance on when to delegate and when to keep work in the main conversation.

  • Locating definitions and callers
  • Making a focused edit across one or two files
  • Reviewing a diff for bugs
JuliusBrussee/caveman113.7KUpdated Oct 18, 2026

caveman

FreeSummaryAI rating 100

Make agent replies shorter and easier to scan by putting answers first and removing filler. Preserves technical details, exact commands, numbers, and essential conditions while keeping the user's chosen language.

  • Reading concise replies in a terminal
  • Getting conclusions before explanations
  • Reducing wording while keeping technical details
JuliusBrussee/caveman113.7KUpdated Oct 18, 2026

caveman-commit

FreeSummaryAI rating 100

Create short commit messages using Conventional Commits, a format that labels the type of change. Emphasize intent, keep the subject concise, and include explanatory text when breaking changes, security fixes, data migrations, or reversions require context.

  • Writing a commit message for code changes
  • Standardizing commit message format
  • Documenting breaking changes and migration steps
JuliusBrussee/caveman113.7KUpdated Oct 18, 2026

caveman-compress

FreeSummaryAI rating 90

Compress memory files and task lists into shorter wording to reduce input tokens. Keeps code and document structure intact, saves a readable backup separately, and sends the text to the configured model provider.

  • Shortening CLAUDE.md to reduce input tokens
  • Compressing task lists and preference files
  • Keeping readable backups of compressed files
JuliusBrussee/caveman113.7KUpdated Oct 18, 2026

caveman-discover

FreeSummaryAI rating 90

Find LLM workflows in a codebase and label them by the job they perform, so Caveman Cloud can separate spending by workflow. Present a labeling proposal for approval, apply focused code changes, and check an affected execution path.

  • Breaking down LLM spending by job
  • Inventorying LLM use in APIs, scheduled jobs, and scripts
  • Separating evaluation spending from other workflows
JuliusBrussee/caveman113.7KUpdated Oct 18, 2026

caveman-evidence-review

FreeSummaryAI rating 90

Review Caveman Cloud spending, latency, errors, and potential improvements using current reports and traces, or individual execution records. Produce findings tied to time windows and trace IDs, while keeping measured costs, estimated opportunities, and verified savings separate.

  • Understanding which workflows drive LLM spending
  • Investigating slow responses and errors
  • Reviewing measured costs and verified savings separately
JuliusBrussee/caveman113.7KUpdated Oct 18, 2026

See all skills by JuliusBrussee

Report a problem with this skill