Agent Skills
› Edwardvi/guiying
› caveman-stats
caveman-stats
GitHub通过 /caveman-stats 命令展示当前会话的实时 token 使用量和预估节省金额,数据直接读取自会话日志,无需 AI 估算。
Trigger Scenarios
/caveman-stats
Install
npx skills add Edwardvi/guiying --skill caveman-stats -g -y
SKILL.md
Frontmatter
{
"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.
Version History
- 52aca76 Current 2026-07-30 20:24


