Agent skill and tool for querying multi-platform model account balances: DeepSeek, Doubao / Volcengine, Qwen / Alibaba Cloud, Hunyuan / Tencent Cloud, and custom HTTP endpoints. Read-only, with 60s cache.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-multiplatform-balance
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:bjzkhy/dsh-multiplatform-balance
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
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
Links
More in this category
tw93/Mole#mole★ 76632
Official agent skill for the open-source Mole CLI (mo), a disk cleanup tool for macOS and Windows: read disk usage, preview and run cleanup, inspect installed apps, and read system health and cleanup history from Mole's JSON output. It previews with --dry-run and asks before removing anything, and leaves app uninstalls and privileged steps to the user's own terminal. The plugin ships only the skill; the CLI is installed separately.
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 10686
Skill center for the dsh web GUI: browse all loaded skills grouped by source, enable or disable model invocation, create new skills, and delete into a recoverable trash.
QingYunA/answer-me-with-html★ 6719
Answers a question with a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled `am` CLI builds the page, with flow, sequence, tree, timeline and ER diagrams, tables and callouts.
iflytek/skillhub#dsh★ 5505
Browse and search a SkillHub registry and manage local skill installation, updates, and removal inside DeepSeek Harness. Targets DSH 0.2.0-rc.2 and 0.2.1-rc.2; not yet compatible with 0.2.1-rc.3.
hyhmrright/brooks-lint★ 1594
Provides six code quality skills for code review, architecture audits, technical debt, test quality, health dashboards, and remediation.
GanyuanRan/Aegis★ 1459
Software-engineering method pack for coding agents, with skills for baseline-first planning, systematic debugging, prompt hygiene, verification before completion, and repair/retirement tracking.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.