AKS1st/model-usage-plugin

C3

统计各模型 tokens 消耗并估算费用,显示账户余额 | Model token usage stats and cost estimation with account balance for DSH

★ 5+ · AKS1st/model-usage-plugin source on GitHub · this plugin in the registry

AKS1st/model-usage-plugin is a DeepSeek Harness plugin rated C3 — powerful capability combined with sensitive behavior. It patches the dsh runtime, reads credential-class env vars.

What it can do

CapabilityFlagEvidence
patches the dsh runtimeruntime_patch./cordis.patch.yml
reads credential-class env varstoken_envDEEPSEEK_API_KEY

Services it injects

webServer

Hooks it attaches

dispose llm/stream

Outbound domains

api.deepseek.com open.er-api.com api.frankfurter.app

Environment variables it reads

DEEPSEEK_API_KEY DSH_HOME DEEPSEEK_BASE_URL

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.