DeepSeek Harness plugin

dsh-context-dashboard

DSH 会话上下文统计面板:统计每个会话的消息数、轮次、工具调用、字符数与预估 token,生成全量/按项目上下文报告,帮你看清上下文消耗大户。Context usage dashboard for DeepSeek Harness — per-session message/token statistics and context reports (zstd + plaintext logs).

Jump to install

Source facts

Repository
uckkk/dsh-context-dashboard
Latest update
Aug 17, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/uckkk/dsh-context-dashboard
Plugin: dsh-context-dashboard
Author: uckkk

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-context-dashboard · DSH 会话上下文统计面板

![npm](https://www.npmjs.com/package/dsh-context-dashboard) ![GitHub](https://github.com/uckkk/dsh-context-dashboard) ![License: MIT](LICENSE)

统计 DeepSeek Harness(DSH)本地会话的上下文消耗:每个会话的消息数、轮次、工具调用、字符数与预估 token,并生成全量/按项目的上下文报告。 Context usage dashboard for DeepSeek Harness — per-session token/message statistics and context reports, so you know exactly where your context budget goes.

支持 zstd 压缩.jsonl.zstd,DSH 默认存储格式)与明文.jsonl)会话日志。纯 Node 实现,零第三方运行时依赖。

功能 Features

工具说明
session_stats每个会话:消息数、用户/助手消息、工具调用、轮次、字符数、预估 token;可按 token/消息数/时间排序
context_report全局报告:总消息、总预估 token、Top 消耗会话、按项目(工作目录)分组汇总

安装 Install

dsh plugin --profile web add dsh-context-dashboard
# 或任意 profile:dsh plugin --profile <name> add dsh-context-dashboard

使用 Usage(agent 工具)

  • 「哪个会话消耗的上下文最多?」→ session_stats(默认按预估 token 降序)
  • 「给我一份全局上下文报告」→ context_report
  • English: "Which session uses the most context?" → session_stats

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

为什么选它 Why

  • 上下文预算管理:agent 会话越长越贵,先看清再决策(清理/导出/压缩)
  • 成本可见:Token 消耗一目了然

配套插件 Companion plugins

License

MIT © istone