token-report
汇总和解释 compaction-debugger 在不同轮次上的 token 估算与节省量。当用户关心“省了多少 token”时使用此技能。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
汇总和解释 compaction-debugger 在不同轮次上的 token 估算与节省量。当用户关心“省了多少 token”时使用此技能。
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | token-report |
| description | 汇总和解释 compaction-debugger 在不同轮次上的 token 估算与节省量。当用户关心“省了多少 token”时使用此技能。 |
| metadata | {"openclaw":{"emoji":"📉"}} |
用于统计 compaction-debugger 预处理前后的 token 估算差异,并解释节省量来自哪里。
~/.openclaw/extensions/compaction-debugger/logssourceEstimatedTokensestimatedTokensestimatedTokenSavingssummaryAddedsummarySkippedReasonsummaryAdded=false 且 summarySkippedReason=within_keep_recentsummaryAdded=false 且 summarySkippedReason=summary_not_smallersummaryAdded=true为 compaction-debugger 准备上传 ClawHub 前的发布说明、检查点和上线顺序。当用户准备把插件发布到 ClawHub 时使用此技能。
用通俗语言解释 compaction-debugger 和 OpenClaw 内置 compaction 各自做了什么、为什么这么做。当用户不理解压缩机制时使用此技能。
设计和评估按上下文窗口占用率进行分层压缩的阈值策略。当用户想做 50% / 85% / 95% 分层压缩时使用此技能。
查看某个 session 经过预处理或 compaction 后,当前还保留着哪些可供 Pi 使用的“记忆”。当用户想检查 session 记忆状态时使用此技能。
审计一次 compaction 或一次上下文预处理过程,回答“为什么压了、压了什么、保留了什么”。当用户要解释某次压缩行为时使用此技能。
根据日志和使用目标,为 compaction-debugger 给出参数调优建议。当用户想更省 token、保留更多上下文或减少误压缩时使用此技能。