← All skills

Token 用量统计

显示当前会话的实际 token 用量与预估节省量。直接读取 Claude Code 会话日志,无 AI 估算。通过 /caveman-stats 触发,输出由 mode-t… 注入。

安装此技能

通过 SeaWork,同时兼容 Claude Code 和 Codex。

点击安装,SeaWork 会直接把它装进你本地的智能体:~/.claude/skills 与 ~/.codex/skills——免复制粘贴、免配置。

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.