Preface¶
DeepSeek Harness (dsh) retains control over tool calling, sandboxing, and execution approval, while the model side typically connects to various APIs or self-hosted inference. If you already have a Claude claude.ai subscription and have installed the official Claude Code CLI, and prefer to reuse that CLI’s login state and model list within the same dsh session instead of configuring a separate Console API Key, the community plugin dsh-plugin-claude-code is designed for this purpose: the plugin is responsible for launching the official Claude Code CLI, while dsh continues to control tools, sandboxing, and approval.
The following sections cover positioning, capabilities, installation, and usage. All facts are sourced from the repository README and package.json.
What is this¶
dsh-plugin-claude-code is a model plugin for DeepSeek Harness. The npm package name matches the repository name, and the current published version is 0.2.5 (see package.json). The maintainer is Shantanu Goel (@shantanugoel), and the license is MIT. SkillHub categorizes it as “Model Inference”.
The README states: the plugin uses your Claude subscription via the official Claude Code CLI; dsh continues to control tools, sandboxing, and approval. The description emphasizes that “each dsh generation corresponds to a persistent official Claude Agent SDK session.” This is an unofficial community plugin with no affiliation to Anthropic or DeepSeek.
Environment and Dependencies¶
Before using it, the following must be satisfied simultaneously:
- DeepSeek Harness 0.2.2-rc.1 (consistent with
engines.dshinpackage.jsonand the README Requirements). - The official Claude Code CLI is in your
PATHand logged in using a claude.ai subscription; the plugin does not accept API Keys and does not accept Claude Console login. - Build/run environment requires Node.js >= 24.9.0 (see
package.json).
If dsh rejects the plugin version, the README points to the version check; this reference document also details content support, error codes, limitations, and installation from source.
Core Features¶
Verified capabilities include:
- In a new session, select Claude Code session as the Provider, with the model list coming from the local Claude Code CLI.
- Run the official CLI under dsh orchestration, rather than connecting directly to Anthropic via a standalone API.
- You can configure available Claude Code models for Subagents individually (requires enabling the toggle in model selection, checking the models, and including the model used for the main session).
Your Claude plan’s usage limits still apply; the README notes that this may result in additional usage costs.
Installation and Enablement¶
The plugin is published to npm: dsh-plugin-claude-code.
Desktop¶
- Open Settings → Plugins → Add plugin.
- Enter
dsh-plugin-claude-code. - Restart dsh as prompted.
- Confirm the plugin is enabled in Settings → Plugins.
CLI¶
Replace web with your profile name. Restart dsh after installation:
dsh plugin --profile web add dsh-plugin-claude-code
Security Note: The plugin runs with the permissions of the current dsh process. Please review the GitHub source code and the MIT license yourself before installing to ensure it meets your environment and compliance requirements.
Typical Usage¶
Main Session¶
- Start a new session.
- Select Claude Code session as the Provider.
- Select a model (the list is provided by Claude Code CLI).
Specifying Other Claude Models for Subagents¶
- Open Plugins → Subagent.
- Enable the toggle in Model selection.
- Check the Claude Code session models available to each Subagent; ensure the model used for the main session is included.
- Click Save, then start a new session.
Troubleshooting¶
- Empty model list: Run
claude auth status; it should displayloggedIn: true,authMethod: "claude.ai", andapiProvider: "firstParty". - Claude executable not found: Install the Claude Code CLI or add its directory to
PATH, then restart dsh. - dsh rejects plugin version: Supported only when paired with the dsh version listed in the README; refer to the version check link above.
Suitable Scenarios and Notes¶
Suitable for developers who already have a claude.ai subscription, are familiar with Claude Code CLI, and wish to use Claude as a session Provider within the DSH “everything is a plugin” architecture while retaining dsh’s control over tools and sandboxing.
Not suitable for environments that rely on Console API Keys or cannot install and log in to Claude Code CLI locally. The community directory SkillHub plugin page is independent of the GitHub repository and is not an official entry from the DeepSeek / Hypi application store.
Issues and feature requests can be submitted to Issues.
Conclusion¶
dsh-plugin-claude-code integrates Claude subscriptions and the official Claude Code CLI into dsh, continuing to handle tools and approvals under the premise of persistent sessions. For details, refer to the repository reference.