Agent Skills
› Edwardvi/guiying
› caveman-stats
caveman-stats
GitHub通过读取会话日志展示实时Token用量及预估节省金额,无需AI估算。触发命令/caveman-stats,由hook拦截并直接返回统计结果。
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


