
lanlandeli/dsh-usage-stats
53Last commit Aug 15, 2026
dsh-usage-stats DSH plugin
dsh-usage-stats is a plugin that integrates into the DeepSeek Harness Web UI to display token totals, daily trends, active dates, and model distribution. It uses the Harness extension interface without modifying the official package. Statistics are stored locally.
How to install the dsh-usage-stats DSH plugin
dsh plugin --profile web add dsh-usage-statsCopying does not run this command. Review the repository and version before installing the dsh-usage-stats DSH plugin.
dsh-usage-stats DSH plugin data source
dsh-usage-stats DSH plugin snapshot date: Aug 16, 2026
discovered
What the dsh-usage-stats DSH plugin can do
- Overview dashboard showing cumulative tokens, sessions, messages, active days, consecutive days, and most used model
- Daily trend charts for last 7 or 30 days with hover details on model usage per date
- Activity heatmap with color depth indicating token usage per day over a year
- Scope filtering by workspace, main task, or subtask
- Data export to CSV or JSON for offline analysis
- Automatic language switching between Chinese and English based on Harness settings
Where the dsh-usage-stats DSH plugin fits
- Monitor daily DeepSeek API token consumption to stay within budget
- Identify most frequently used models and optimize selection
- Track usage patterns over time to plan resource allocation
- Export historical data for custom reporting or auditing
- Filter statistics by workspace or task to analyze project-specific costs
Who the dsh-usage-stats DSH plugin is for
- DeepSeek Harness Web UI users who want to track token usage
- Developers and teams using DeepSeek models for AI-powered workflows
- Power users who need detailed usage analytics for cost management
dsh-usage-stats DSH plugin limitations
- Only tested on DeepSeek Harness 0.1.0-rc.6 with Node.js 22.19+ or 24+
- Does not save prompt content, response text, tool parameters, or API keys for privacy
- Requires the Web profile of Harness (not compatible with other profiles)
- Statistics are stored locally and not synced across devices
dsh-usage-stats DSH plugin: from the repository README
Quoted from the lanlandeli/dsh-usage-stats README, the upstream source of the dsh-usage-stats DSH plugin. Copyright remains with the original authors.
> DeepSeek Harness Token 使用情况,一目了然。 [](https://www.npmjs.com/package/dsh-usage-stats) [](https://www.npmjs.com/package/dsh-usage-stats) [](https://github.com/lanlandeli/dsh-usage-stats/actions) [](https://nodejs.org) [](./LICENSE) dsh-usage-stats 是面向 DeepSeek Harness Web UI 的轻量使用统计插件,用于集中展示 Token 总量、每日趋势、活跃日期及模型分布。 插件通过 Harness 提供的扩展接口集成,不修改 Web UI 或官方 npm 包。统计数据保存在本机。 ```sh dsh plugin --profile web add dsh-usage-stats ``` 重启 Web Profile 后,侧边栏「设置」上方会出现 **使用统计**。 更新或卸载: ```sh dsh plugin --profile web update dsh-usage-stats dsh plugin --profile web remove dsh-usage-stats ``` ## 🎬 效果演示  ## 🖼️ 界面截图 <details> <summary>查看浅色主题</summary> ![浅色主题](.
Read the full READMERepository license: NOASSERTION
dsh-usage-stats DSH plugin questions
How do I install dsh-usage-stats?
Run `dsh plugin --profile web add dsh-usage-stats` in your terminal. After restarting the Web profile, a new 'Usage Statistics' entry will appear in the sidebar above 'Settings'.
What data does the plugin collect?
The plugin stores session identifiers, timestamps, working directories, model names, and token counts. It does not save prompt content, response text, tool parameters, or API keys. The data is stored locally and not sent anywhere.
Can I export the statistics?
Yes, you can export the data as CSV or JSON directly from the plugin interface. This allows you to archive or further analyze your usage outside of Harness.
Does the plugin support filtering by task?
Yes, you can filter statistics by workspace, main task, or subtask. This helps you analyze token usage for specific projects or sub-tasks.
What versions of DeepSeek Harness and Node.js are supported?
The plugin has been tested on DeepSeek Harness 0.1.0-rc.6 with Node.js 22.19+ and 24+. Other versions may work but are not officially verified. Please check the compatability document for details.