DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

Claude Code — DSH Plugin for DeepSeek Harness
DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

dsh-claude-code

Claude Code

DSH tool plugin: delegate a self-contained task to your local Claude Code subscription (via the official Claude Agent SDK).

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add dsh-claude-code@0.1.2
READMECompatibilityVersions

Compatibility and provenance

Claude Code is published as dsh-claude-code and currently resolves to version 0.1.2. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
any
Release source
npm
Registry updated
9/20/2026

Versions

0.6.0stable
9/16/2026
0.4.1stable
9/16/2026
0.3.5stable
8/24/2026
0.1.2stable
8/16/2026
Show 2 more versionsCollapse versions
0.1.0stable
8/20/2026
0.1.1stable
8/16/2026

Related plugins

Loading related plugins…

Latest
0.1.2
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
19.9 kB
Files
7
Surface
any
License
MIT
Source
npm
GitHub
★ 2
Weekly downloads
82
Last push
9/16/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue

Related plugins

More verified plugins in agents-orchestration.

Headless@deepseek-ai/dsh-headlessThe dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layerExperimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profileExperimental Web profile layer for Agent Teams Remote and UI pluginsSubagent Codex@deepseek-ai/dsh-subagent-codexOne-shot Codex subagent provider over the official app-server protocolSubagent Claude Code@deepseek-ai/dsh-subagent-claude-codeOne-shot Claude Code subagent provider over the official Agent SDK

README

dsh-claude-code

一个 DeepSeek Harness 工具插件:把自包含的编码子任务委派给本地 Claude Code 订阅执行,结果回传给 DSH。DSH 是 leader,Claude Code 是 worker。

  • 走官方 Claude Agent SDK,驱动 claude CLI,不提取任何 OAuth token,合规使用订阅。
  • 内置 claude-code-delegation skill(Leader-Worker 委派 SOP),装好即出现在技能目录。
  • 支持 resume 跨轮记忆:把上次返回的 sessionId 传回,Claude Code 会记住之前的上下文,适合多轮迭代。

安装(用户侧)

# 方式一(最简单,自动接线):通过 dsh 插件命令安装
dsh plugin --profile web add dsh-claude-code

# 方式二:手动装进 profile
cd ~/.dsh/profiles
npm install dsh-claude-code
# 然后在 ~/.dsh/profiles/<你的profile>/cordis.patch.yml 里加上:
# - insert:
#     - id: claude-code
#       name: 'dsh-claude-code'

装完重启 dsh。插件自带 cordis.patch.yml(dsh.bundle manifest),dsh plugin add 会用它自动接线。

接线示例(带配置):

- insert:
    - id: claude-code
      name: 'dsh-claude-code'
      config:
        model: sonnet                # sonnet | opus | haiku | 完整 id
        permissionMode: acceptEdits  # default | acceptEdits | bypassPermissions | plan | dontAsk
        maxTurns: 100
        timeoutMs: 600000
        # 可选:claude 可执行文件路径(SDK 会自动从 PATH 探测,一般不用配)
        # pathToClaudeCodeExecutable: /path/to/claude

配置项

字段默认说明
modelsonnetClaude 模型别名或完整 id
permissionModeacceptEditsClaude Code 权限模式。acceptEdits 自动放行文件编辑;bypassPermissions 完全免确认(需信任)
maxTurns100每次任务 Claude Code 最多跑多少轮
timeoutMs600000单次调用的协作超时
cwdDSH cwdClaude Code 工作目录
allowedTools未设允许的 Claude Code 内置工具名列表
pathToClaudeCodeExecutable自动claude 可执行文件路径
efforthigh思考强度:low/medium/high/xhigh/max
maxThinkingTokens未设思考 token 预算上限

工具参数(模型可见)

参数说明
task(必填)自包含任务描述(目标、文件、约束、验收)
cwd / model / permissionMode / maxTurns / allowedTools / effort / maxThinkingTokens覆盖插件配置
resume传上次返回的 sessionId,续接那个 Claude Code 会话(记住之前的上下文)

返回:最终结果文本 + sessionId + token 用量 + 费用 + 用到的工具。

用法示例

// 第一轮
{ "task": "修复 src/parser.ts 里 parse() 对空输入的崩溃,并加一个单元测试", "cwd": "/path/to/repo" }
// → { "ok": true, "output": "…", "sessionId": "abc-123" }

// 第二轮(迭代同一任务,带记忆)
{ "task": "上一步的修复里你漏了边界情况 X,补上并重跑测试", "resume": "abc-123" }

合规说明

  • ✅ 走 Claude Code 官方 CLI / Agent SDK,符合 Anthropic 认证与订阅政策。
  • ❌ 本插件不是「把 Claude 当 DSH 的裸模型适配器」——那需要提取 Claude Code 的 OAuth token 直连 api.anthropic.com,已被 Anthropic 明令禁止、会导致封号。

开发

npm install --legacy-peer-deps
npm run build       # tsc → lib/
npm run typecheck

发布

npm login
npm publish         # publishConfig.access 已设 public

发布后建议:GitHub 建仓库并给仓库打 dsh-plugin topic,即可出现在 github.com/topics/dsh-plugin。

注意

  • 每次调用约 10 秒起步、按订阅计费(小任务实测约 0.1~0.2 美元),只适合"完整子任务"。
  • Claude Code 自己执行工具,DSH 的沙箱/权限不套在它的工具调用上——请把 cwd 与 permissionMode 收敛到信任范围。