Skip to content
Back to skills

Caveman Stats

ASecurity

Show real token usage and estimated savings for the current session. Reads directly from the Claude Code session log — no AI estimation. Triggers on /caveman-stats. Output is injected by the mode-tracker hook; the model itself does not compute the numbers.

  • 583 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added May 28, 2026
ai-agents

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 28, 2026

npx -y skills add stevesolun/ctx --skill caveman-stats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Caveman Stats?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Caveman Stats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/stevesolun-caveman-stats/badge)](https://www.skillsdirectory.com/skills/stevesolun-caveman-stats)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: caveman-stats
description: >
  Show real token usage and estimated savings for the current session.
  Reads directly from the Claude Code session log — no AI estimation.
  Triggers on /caveman-stats. Output is injected by the mode-tracker hook;
  the model itself does not compute the numbers.
---

This skill is delivered by `hooks/caveman-stats.js` (read by `hooks/caveman-mode-tracker.js` on `/caveman-stats`). The model does not need to do anything when this skill fires — the hook returns `decision: "block"` with the formatted stats as the reason. The user sees the numbers immediately.

Files in this skill

  • README.md936 B
  • SKILL.md607 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.