DeepSeek Harness (DSH) adopts an “everything is a plugin” architecture. When using third-party services such as ClinePass, developers often face issues such as failed dynamic model discovery, cumbersome configuration for specific model prefixes, and unintuitive quota management. dsh-clinebot is a native DSH plugin designed to address integration pain points of ClinePass in DSH, offering dynamic quota tracking, secure credential storage, and visual management capabilities.

Plugin Role

This is a DSH plugin that provides native support for ClineBot / ClinePass, maintained by GooDAnDReaDY and classified under “Model Inference”. It complements the missing /v1/models discovery mechanism in the upstream API and provides SWR-based quota caching and automatic account switching.

Core Features

  1. Dynamic model synchronization and specific prefix support
    The plugin automatically fetches the model list from the ClinePass plan interface (GET /api/v1/users/me/plan) and requires the use of the cline-pass/ prefix (for example, cline-pass/deepseek-v4-flash). Because the upstream API does not provide a native /v1/models endpoint, the plugin resolves the empty model list issue through dynamic parsing.

  2. Visual management and secure storage
    The plugin provides a configuration page (located in the plugin row, not the sidebar), allowing users to paste and save API Keys directly in the UI. The Key is securely written to ~/.dsh/.credentials.yaml. It also offers a model selector, allowing developers to precisely choose which models appear in the chat picker.

  3. Quota monitoring and alerts
    Integrated real-time dashboard for 5-hour rolling quotas and weekly limits, displaying warning banners and reset countdowns when quota usage reaches 80% (warning) and 95% (depleted).

  4. Intelligent failover
    Supports multi-account configuration and automatically switches to the next available account when encountering 429 errors or quota exhaustion. The mechanism includes 30-second storm protection (the current request is not retried; subsequent requests are switched to the next available account).

  5. Session telemetry and commands
    Provides a /cline slash command to view session metrics such as real-time latency, token consumption, and error counts in the chat console; supports real-time telemetry recording of session metrics.

Installation and Activation

Use the official installation command to add the plugin:

dsh plugin --profile web add @goodandready/dsh-clinebot

After installation is complete, restart the DeepSeek Harness instance and refresh the browser.

Typical Usage

  • View status: Enter /cline in the DSH chat window to view quotas, limits, session telemetry, and the currently active model.
  • Configure: Click the installed ClineBot plugin row, select “Configure” to open the settings page, then paste your API Key, synchronize the model plan, and view usage limits.

Use Cases and Cautions

This plugin is suitable for developers who need stable, visual management of third-party API quotas. Because the plugin runs with the permissions of the current DSH process, review the source code and license before installation. API Keys are stored in the local file ~/.dsh/.credentials.yaml; ensure that the directory permissions are secure.

  • Plugin Directory: https://www.skillhub.cn/plugins/GooDAnDReaDY/dsh-clinebot
  • Source Repository: https://github.com/GooDAnDReaDY/dsh-clinebot