DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@dsh-agent-toolkit/token-usage

Token Usage

DeepSeek Harness plugin: per-day token usage statistics — 13-week heatmap, stacked daily chart, /token-usage command

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @dsh-agent-toolkit/token-usage@0.5.3
READMECompatibilityVersions

Compatibility and provenance

Token Usage is published as @dsh-agent-toolkit/token-usage and currently resolves to version 0.5.3. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/4/2026

Versions

0.5.3stable
9/28/2026
0.5.2stable
9/22/2026
0.5.1stable
9/20/2026
Show 4 more versionsCollapse versions
0.5.0stable
9/10/2026
0.4.1stable
9/1/2026
0.4.0stable
9/1/2026
0.3.0stable
8/31/2026

Related plugins

Loading related plugins…

Latest
0.5.3
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
8.3 MB
Files
12
Surface
web
License
MIT
Source
npm
GitHub
★ 1
Weekly downloads
94
Last push
10/30/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in models-usage.

Experimental Cot Translation Bundle@deepseek-ai/dsh-experimental-cot-translation-bundleExperimental machine translation of expanded reasoningWhale Widgetdsh-whale-widgetDeepSeek balance whale widget in the bottom-right corner of the DSH Web interface: balance/today’s usage/peak-off-peak pricing, customizable bubble click sequence (text/balance/today/peak-off-peak/image/random phrases and parallel weighted selection), per-line styles and fonts, floating quick editinOur Free Model@ebony-vinyl/dsh-our-free-modelOur Free Model — Install this plugin in dsh to use cutting-edge models including DeepSeek V4.1 Flash and Kimi K3, with no login, registration, or API Key required. The desktop version also offers an EAC co-payment channel; starting with 2.0, it supports ten account channels: LobsterAI, Qoder, TRAE, Connect Workbuddydsh-connect-workbuddyConnects locally signed-in WorkBuddy models (domestic and international versions) to DeepSeek Harness, automatically reading each model’s points multiplier from the upstream catalog on every refresh, with per-model image input toggles, multi-account switching, automatic account rotation from an acco

README

@dsh-agent-toolkit/token-usage

DeepSeek Harness plugin: per-day token usage statistics — 13-week heatmap, stacked daily chart, /token-usage command.

DeepSeek Harness(dsh)插件:按日/按小时计量 token 用量。

  • 13 周活动热力图(点击跳单日)+ 趋势范围查询(单日按小时/多日按天堆叠图,按模型/按项目/压缩聚合),会话标题栏右上角「Token 用量」打开
  • /token-usage [YYYY-MM-DD] 命令:今日 + 近 7 日,或指定日期
  • JSON API:/dsh-agent-toolkit/api/usage/daily?date=、/dsh-agent-toolkit/api/usage/range?days= 或 ?from=&to=(web 模式)
  • 用量缺失的样本经 tokenMeter 启发式估算,估算量单列

截图

Token 用量面板:13 周活动热力图

趋势 tab:范围堆叠柱状图 + 汇总 + 按模型/按项目细分

安装

dsh plugin --profile <profile 名> add @dsh-agent-toolkit/token-usage

--profile 为必填项;profile 是 $DSH_HOME/profiles/<name>(默认 ~/.dsh/profiles/<name>)下的目录。包自带 cordis.patch.yml(bundles 层),装进 profile 后自动激活。

与 dsh-agent-toolkit 二选一:dsh-agent-toolkit 已内置本插件全部功能(Agent 注册表/分层提示词/委派/飞书 bots + token 用量)。 两者同时安装时,后到实例会自动停用用量功能(不重复计量、不注册 /token-usage 命令与面板),先到者完整工作;仍建议只装其一。

配置

- id: '@dsh-agent-toolkit/token-usage'
  config:
    timezone: Asia/Shanghai   # 默认值;按日/按小时聚合的时区

修改配置触发 HMR 热替换,无需重启。

运行前提

  • 宿主注入服务:storageDomain、tokenMeter、commands(webServer 可选,headless/CLI 下 API 自动不注册)。
  • peer dependency:@deepseek-ai/cordis ^4。

从 0.2.x 升级

0.3.0 起本包重写为 dsh-agent-toolkit workspace 的用量模块,存储域 token_usage 不变,历史数据保留。 0.1.x/0.2.x 已废弃(deprecated)。

License

MIT