Agent Skills
› Edwardvi/guiying
› caveman-stats
caveman-stats
GitHub通过 /caveman-stats 命令展示当前会话的真实 Token 用量及预估节省金额。该技能由 hooks/caveman-stats.js 提供,直接读取会话日志数据,无需模型计算,用户可立即查看统计结果。
触发场景
用户输入 /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


