154 kubestellar
caveman-stats Skill
显示当前会话的真实 token 用量和预估节省。直接读取 Claude Code 会话日志——非 AI 估算。通过 /caveman-stats 触发。输出由 mode-tracker hook 注入,模型本身不计算数字。
安装方式:把技能目录放入 ~/.claude/skills/(Claude Code)或在 claude.ai 设置中启用;也可复制右侧安装命令一键添加。
技能指令原文(SKILL.md)
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.