dsh-multiplatform-balance
Manifest validDeepSeek Harness skill plugin: query multi-platform model account balances (DeepSeek, Doubao/Volcengine, Qwen/Aliyun, Hunyuan/Tencent and more).
dsh-multiplatform-balance
DeepSeek Harness 多平台余额 Skill 插件。
Query multi-platform model account balances across DeepSeek, Doubao / Volcengine, Qwen / Alibaba Cloud, Hunyuan / Tencent Cloud and other configured providers.
功能
- 向 Agent 注册
multiplatform-balanceskill。 - 向 Agent 注册
get_multiplatform_balances工具。 - 支持一次查询全部已配置平台,也支持只查单个平台。
- 支持 DeepSeek、豆包 / 火山引擎、千问 / 阿里云百炼、混元 / 腾讯云,以及
type: custom的自定义 HTTP 余额接口。 - 内置 60 秒缓存,避免频繁请求。
- 只读,不会充值或修改账户。
安装
dsh plugin --profile web add dsh-multiplatform-balance
桌面端把 --profile web 换成对应 profile,例如 desktop。
配置
在 profile 的 cordis.patch.yml 中给 dsh-multiplatform-balance 添加 config.balance:
- id: dsh-multiplatform-balance
config:
currency: "CNY"
balanceCacheTtl: 60
balance:
"deepseek":
type: deepseek
apiKey: "sk-..."
currency: "CNY"
"doubao":
type: volcengine
accessKey: "AKLT..."
secretKey: "..."
region: "cn-north-1"
version: "2022-01-01"
currency: "CNY"
"qwen":
type: aliyun
accessKeyId: "LTAI..."
accessKeySecret: "..."
currency: "CNY"
"hunyuan":
type: tencent
secretId: "AKID..."
secretKey: "..."
region: "ap-beijing"
currency: "CNY"
说明:
- 豆包 / 千问 / 混元查询的是云账号级余额,不是单个模型余额。
- 未配置的平台会返回
configured: false,不会编造余额。 - 密钥只存在本地配置文件中,注意不要泄露。
自定义 HTTP 接口
balance:
myproxy:
type: custom
endpoint: "https://你的中转站/api/balance"
headers:
Authorization: "Bearer sk-xxx"
valuePath: "data.balance"
currency: "CNY"
valuePath 支持点号路径,例如 data.balance、balance、data.amount。
Agent 使用
模型或用户可以使用:
- Skill:
multiplatform-balance - Tool:
get_multiplatform_balances- 参数
provider可选,例如deepseek、doubao、qwen、hunyuan。
- 参数
License
MIT
Comments
Loading…
Similar plugins
by pure-craft
DeepSeek Harness plugin: see what your agent can actually reach — skills, MCP servers, system tools with true in-context state, and per-session / per-preset switches
★ 13
↓ 483/wk
MIT
TypeScript
Oct 19, 2026
dsh plugin --profile web add dsh-capability-panelby 444136347
DeepSeek Harness 多源能力发现、排序与风险检查|Multi-source capability discovery, ranking, and risk inspection for plugins, skills, MCP servers, and agents.
★ 3
Apache-2.0
JavaScript
Aug 20, 2026
dsh plugin --profile web add dsh-capability-discoveryby KratosLee-6
DeepSeek Harness Plugins · A local-first DeepSeek Harness plugin for discovering, combining, and turning skills into actionable ideas.
★ 1
MIT
TypeScript
Nov 8, 2026
dsh plugin --profile web add dsh-plugin-sparkby zlZayn
DSH 插件:在左侧栏底部显示 DeepSeek 账户余额(原生 UI),设置页提供连接、展示币种、预警阈值与刷新节奏的配置卡片。(原生嵌入“设置-插件-插件配置”)
★ 2
↓ 362/wk
MIT
TypeScript
Sep 19, 2026
dsh plugin --profile web add dsh-ds-balanceby QoderAI
DeepSeek Harness plugin for running sessions and delegated tasks in Qoder Cloud Agents sandboxes, with cloud mode, repository mounting, and multi-turn conversations.
★ 4
MIT
TypeScript
Nov 12, 2026
dsh plugin --profile web add dsh-qoder-cloud-agentsby dsh-plugin-lab
DSH plugin: shows your DeepSeek account balance at the bottom of the left sidebar (native UI)
★ 4
↓ 1.3k/wk
MIT
TypeScript
Nov 14, 2026
dsh plugin --profile web add dsh-ds-balance