uckkk/dsh-context-dashboard ↗★ 0
dsh-context-dashboard
DSH 会话上下文统计面板:统计每个会话的消息数、轮次、工具调用、字符数与预估 token,生成全量/按项目上下文报告,帮你看清上下文消耗大户。Context usage dashboard for DeepSeek Harness — per-session message/token statistics and context reports (zstd + plaintext logs).
AI 分析
统计会话消息数、工具调用及预估 token,生成上下文报告。适合需要监控和优化大模型上下文消耗的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uckkk/dsh-context-dashboardドキュメント
README 全文を読む ↗使用 Usage(agent 工具)
- 「哪个会话消耗的上下文最多?」→
session_stats(默认按预估 token 降序) - 「给我一份全局上下文报告」→
context_report - 「清理前先看看各项目占多少 token」→
context_reportbyProject=true
预估 token = 字符数 ÷ 1.5(中文为主场景的经验值),仅供参考。