dsh-cost-meter
Han-1413141
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
Installed cleanly when we ran it
bowenliang123/dsh-context
DSH context insight panel: Context dashboard + /context command + Context browser — one-stop context lifecycle management with categorized composition, content details, evolution trends, compaction/injection events, and stats.
Install
via npm
Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.
via GitHub · npm package
Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.
The desktop app keeps its own profile, desktop, and only the dsh command it ships may change it — the npm-installed dsh refuses that profile. Install the command from the app menu (Manage dsh Command…), open Desktop once, quit it fully, run the line below, then reopen Desktop.
via npm
Resolves a published tarball rather than cloning the repository.
via GitHub · npm package
Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/desktop/pnpm-workspace.yaml.
Our install check ran in a web profile on npm's dsh, not in the desktop app.
What happened when we ran it
Installed cleanly when we ran it
Every command here is run in a throwaway container against a clean profile, and the result is whatever the harness recorded — not a guess from the source. Last run 11d agoon DeepSeek Harness 0.2.2-rc.1.
Show it in your README
For maintainers: the badge serves this listing's latest sandbox verdict, so a re-run updates it on its own — and it links readers to the full result here.
Due diligence
Security
No build script was blocked in our run.
Source: our sandbox install on DeepSeek Harness 0.2.2-rc.1, 11d ago.
package.json declares no preinstall, install or postinstall script.
Source: package.json on GitHub, read at our last sync. prepare is not recorded; it runs only on a GitHub install, and shows up under build scripts when pnpm blocks it.
Neither shell commands nor credentials.
Source: a keyword match on the README — a hint about what the plugin touches, not an analysis of its code.
Not an audit. These are the record of one install and two text scans; nobody has read this plugin's code on your behalf. Plugins run with your agent's permissions.
What it is — Adds context dashboards to DeepSeek Harness: composition, trends, compaction/injection events, cross-session usage, an agent-family view, and /context.
Who it is for — You run long, tool-heavy DeepSeek jobs with subagents in DeepSeek Harness and cannot tell whether system, tools, or chat is filling the window, or which request compacted. Skip it if Harness is only a worker whose token metrics already land in your own pipeline.
Watch out — A clean-profile install was registered by the harness. Cost uses models.dev list prices; DeepSeek peak is 2× the listed off-peak rate, so the figures are not an invoice.
The verdict — The extra tabs are noise I can live with; I will not reconstruct token mix from session logs.
Generated by grok-4.6, and a starting point rather than a verdict. Where it says a plugin installs or does not, that is from a real run in a clean profile — everything else is read off the repository. Trust the source over this.

dsh-context is a DeepSeek Harness plugin that exposes how an agent’s context window is assembled and changes over time. It adds a Context / 上下文 tab to the web UI and a /context command that opens the same view for the current session.
The plugin presents the context model recorded for each request: occupancy against the model’s full window, a six-part composition breakdown, per-request history, compaction and pruning markers, injection and model-switch events, and per-message token costs. The history can be viewed by turn or step. Selecting a request opens its assembled context, including system prompts, tool schemas, messages, injected context, assistant replies and tool results. The panel also shows provider-reported prompt and output tokens alongside estimates where available.
dsh-context is intended for developers diagnosing context growth, compaction, injected instructions, or unexpectedly expensive tools. It depends on the DeepSeek Harness web UI and an open session, so it is not useful in a terminal-only workflow or when context inspection is unnecessary. Earlier requests may be reconstructed from the removed-message archive and marked as approximate after compaction. The README names no configuration keys, files, platform requirements, or separate data-writing behaviour.
在 DeepSeek Harness 中打开任意会话,然后选择 Context / 上下文 标签页。启动 web UI 使用 dsh web;README 说明安装或更新后无需构建步骤,也无需重启。页面展示当前会话的回合数、步骤数,以及注入、压缩和修剪的次数。
在会话中输入 /context,或从 / 菜单选择它并按 Enter。命令会打开上下文洞察窗口,其中包含当前占用量、六类组成,以及最近 10 个回合的趋势图。悬停或点击柱状图可查看详细拆分。
当前组成按模型完整上下文窗口缩放,类别包括:
历史图表按模型请求记录柱状图,可切换 Turn 和 Step 粒度,并查看估算 token 与 provider 报告的实际 prompt/output token。事件列表记录压缩、工具输出修剪、skill 或 plugin 上下文注入及模型切换,并提供 token 变化量、回合或步骤归属和时间戳。消息视图按最新优先列出当前模型可见的消息及其 token 成本。
上下文浏览器可选择 Live (next request) 或保留的步骤,展开各类别中的元素及其实际内容,包括工具描述、JSON schema、消息、reasoning、tool-call 参数和工具输出。历史图表的悬停选择会同步浏览器;展开较旧元素时,页面会自动加载更早的聊天历史。压缩前的步骤可能依据 removed-message archive 重建,并标明内容仅为近似。README 未说明额外配置、环境变量、平台范围或版本要求。
Written from the project's own documentation and kept in sync with it. Where the two disagree, the source is authoritative — read the README on GitHub
Same category
Han-1413141
Per-session and daily API cost, budget with usage %, official balance, history dashboard, and one-click official price sync with peak/off-peak pricing.
Installed cleanly when we ran it
wssfk12138
Tracks DeepSeek token usage, per-call and session costs, and account balance with cache-aware charge animations in the DSH Web UI.
Installed cleanly when we ran it
zh667
Sidebar usage panel that attributes tokens to the relay site that served each request, read from your existing provider config: today/month/all-time totals, per-site and per-model breakdowns, a year activity heatmap, and New API / Sub2API / DeepSeek balances.
Installed cleanly when we ran it
Ychris12138
Multi-provider usage dashboard with provider/model token breakdowns, calendar drill-downs, account balances, and OpenCode Go / Z.ai subscription quota tracking.
Installed cleanly when we ran it
Aisland-SJL
🌊 Persistent dock & fully-customizable balance/usage panel for DeepSeek Harness — activity heatmap, dual-channel comparison, local-only & privacy-first
Installed cleanly when we ran it
PolinniZhong
Personal center for DeepSeek Harness: cross-session usage statistics with per-provider and per-model breakdown (auto-discovers configured models), per-model cost estimation, global custom instructions, a data-driven desktop pet with bitmap & vector skins, and a conversation status overview, all local and offline.
Installed cleanly when we ran it