uckkk/dsh-context-dashboard ↗★ 0
dsh-context-dashboard
DSH 会话上下文统计与分析面板
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(中文为主场景的经验值),仅供参考。