uckkk/dsh-context-dashboard0

dsh-context-dashboard

DSH 会话上下文统计与分析面板

AI 分析

统计会话消息数、工具调用及预估 token,生成上下文报告。适合需要监控和优化大模型上下文消耗的用户。

包名
dsh-context-dashboard
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:uckkk/dsh-context-dashboard

使用 Usage(agent 工具)

  • 「哪个会话消耗的上下文最多?」→ session_stats(默认按预估 token 降序)
  • 「给我一份全局上下文报告」→ context_report
  • 「清理前先看看各项目占多少 token」→ context_report byProject=true

预估 token = 字符数 ÷ 1.5(中文为主场景的经验值),仅供参考。