DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-kimi-code-usage

a

dsh-kimi-code-usage

Discovered

Deepseek Harness plugin to display Kimi Coding subscription usage

dsh-kimi-code-usage

A DeepSeek Harness plugin that shows your Kimi Code subscription quota right in the Web UI:

Preview

  • a compact badge below the message composer: Kimi 5h 28% · 7d 12%, color-coded (green → yellow → red as usage grows);
  • a click popover with progress bars, used/remaining counts, reset times (24-hour format), and your account level;
  • API key management in the same popover — the key is stored in the Harness credential store, not in plain-text config;
  • region switch: Oversea (api.kimi.ai/coding) or CN (api.kimi.com/coding).

This targets the Kimi Code membership API (api.kimi.ai/coding / api.kimi.com/coding), not the pay-as-you-go developer platform (api.moonshot.ai). Keys look like sk-kimi-… and are created in the Kimi Code Console.

Install

In DeepSeek Harness: Settings → Plugins → Install bundle, or ask the agent:

Install the bundle dsh-kimi-code-usage

Directly from GitHub without npm:

Install the bundle github:ancientbag/dsh-kimi-code-usage

⚠️ If the badge with Kimi coding usage did not appear -> Try to relaunch Deepseek Harness.

Then click the badge below the composer, paste your API key, and save.

Configuration

Row config in cordis.patch.yml (all optional):

FieldDefaultMeaning
apiKey""Kimi Code API key. Prefer the popover — it stores the key as the MOONSHOT_API_KEY credential.
baseUrlhttps://api.kimi.ai/codingUse https://api.kimi.com/coding for China accounts. Also switchable in the popover.
cacheSeconds60Hard debounce: at most one upstream request per interval, however often the UI asks. Minimum 30.

Key precedence: config.apiKey → credential store / launch environment / .env (MOONSHOT_API_KEY).

How it works

  • Host half (index.js) registers an authenticated /api/kimi.balance route via ctx.connection.fetch, proxies GET {baseUrl}/v1/usages and /v1/me, and debounces upstream calls.
  • Client half (client.js) renders the badge into the conversation.composer.dock slot and the popover into shell.overlay, polling the local route once a minute and on every badge click.

License

MIT

Comments

Loading…

Similar plugins

dsh-kimi-code-oauth

by SiriusWJ

DeepSeek Harness plugin for Kimi Code subscription OAuth

Manifest valid

★ 0

JavaScript

Sep 29, 2026

dsh plugin --profile web add dsh-kimi-code-oauth

by BaronCyrus

Use a Kimi Code subscription in DeepSeek Harness with OAuth, quota display, and composer usage

Security & AuditTerminal & ClientsManifest valid

★ 8

↓ 1.1k/wk

MIT

JavaScript

Nov 8, 2026

dsh plugin --profile web add dsh-kimi-subscription

by myk5010

Kimi (Kimi Code account) integration bundle for DeepSeek Harness: provider route, models, device-code login and auto token refresh

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Sep 2, 2026

dsh plugin --profile web add dsh-kimi-provider

by quei4r

Zero-config Kimi Coding web search provider for DeepSeek Harness: reuses the local kimi-coding credential, install and web_search just works.

Manifest valid

★ 0

MIT

JavaScript

Aug 19, 2026

dsh plugin --profile web add dsh-host-kimi-search

by Hades03

DeepSeek Harness plugin: DeepSeek balance and per-provider/model token usage in a draggable overlay.

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 20, 2026

dsh plugin --profile web add dsh-model-quota-usage

by victor10035445

a plugin of token insight for deepseek harness.

Development & InfrastructureManifest valid

★ 1

MIT

JavaScript

Nov 4, 2026

dsh plugin --profile web add dsh-v-token-insight