beijingwahw/dsh-usage-ledger

C2

dsh-usage-ledger(Token 费用统计)— 自动记下每笔对话花了多少 Token、多少钱(按对话、按天、累计都能查),价格自动跟着官方最新价走、支持多家国产厂商,低谷时段自动按便宜价算,预算超了自动提醒还能拦下调用,带可视化仪表盘。

★ 1+ · beijingwahw/dsh-usage-ledger source on GitHub · this plugin in the registry

beijingwahw/dsh-usage-ledger is a DeepSeek Harness plugin rated C2 — one powerful capability or sensitive behavior. It patches the dsh runtime, can rewrite the system prompt.

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
can rewrite the system promptprompt_surfacesystemPrompt

Services it injects

sessions settings systemPrompt tools

Hooks it attaches

llm/stream session/created session/event

Outbound domains

platform.kimi.com api-docs.deepseek.com open.bigmodel.cn www.volcengine.com help.aliyun.com platform.minimaxi.com cloud.baidu.com bce.bdstatic.com

Environment variables it reads

DSH_HOME

How to read this

Levels measure capability surface and transparency, not maliciousness. A C3 plugin can be entirely legitimate — a desktop shell genuinely needs subprocesses. The point is that you can see this before installing. See the levels explained and how dsh plugins work.

Findings come from static analysis of shipped code; nothing is executed. Think a flag is wrong? Open an issue — every flag cites the file and line it came from.