Agent Skills
› Edwardvi/guiying
› caveman-stats
caveman-stats
GitHub通过解析会话日志展示实时Token用量及预估节省金额,无需AI估算。触发后由hook拦截并直接输出统计结果,模型不参与计算。
触发场景
/caveman-stats
安装
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.
版本历史
- 52aca76 当前 2026-07-30 20:24


