katsos/dsh-claude-cli
DeepSeek Harness LLM 提供程序,将你已安装的 Claude Code CLI 作为模型后端运行——无需 API 密钥。
Project Overview项目介绍
This is a native DeepSeek Harness plugin that lets you use your locally installed Claude Code CLI as an LLM provider for DSH. It does not require a separate Anthropic API key, because it runs your already authenticated local claude command as a subprocess and streams the model output back through DSH’s native LLM interface. To install the plugin, you need to clone the repository locally, then run dsh plugin --profile <your-profile> add <path-to-repo> to add it to your DSH profile, then restart DSH for the change to take effect. You can also test it without permanent installation by using the provided cordis.yml patch overlay with an absolute path to the repo.
This plugin keeps DSH as the top-level agent, and disables Claude Code CLI’s own agent loop, built-in tools, memory, and MCP servers, leaving only the raw model call capability driven entirely by DSH’s system prompt, conversation history, and tool scheduling. It is intended for developers who already have an active Claude Code subscription and want to access Anthropic’s Claude models directly within the DSH workflow framework. After installation and a DSH restart, all models available through your Claude Code CLI will appear in DSH’s model picker under the “Claude Code CLI” group. You can configure the plugin to adjust the CLI executable path, timeout, default model effort, and add extra CLI flags as needed.
To run this plugin, you must have a working claude executable on your system PATH, Node.js version ^22.19 or >=24, and the @deepseek-ai/dsh-llm module installed in your DSH instance. The plugin is released under the open-source MIT license, but users must comply with Anthropic’s usage terms, because this method of calling Claude via the CLI is not officially approved for automated or production use. It is recommended for manual work only, and not for unattended, high-volume production traffic. Known limitations include lack of support for image inputs, and it does not replay prior reasoning content from conversation history.
这是一个专为DeepSeek Harness打造的原生LLM提供商插件,作用是让你把已经本地安装好的Claude Code CLI作为DSH的大语言模型调用源。它不需要额外申请Anthropic API密钥,直接以子进程运行本地已登录的claude命令,复用你的已有登录身份,把模型输出流式传回DSH的LLM接口。插件自带DSH标准bundle清单,需要安装到DSH的指定运行配置档才能生效。
这个插件保留DSH作为核心代理,关闭了Claude CLI自带的代理循环、工具、设置和MCP服务,只保留模型调用能力,完全由DSH的系统提示词、对话历史和工具调度驱动。适合那些已经拥有Claude Code订阅,想要在DSH框架中调用Claude大模型的开发者使用。你可以在安装完成重启DSH后,从模型选择器中找到Claude Code CLI提供的所有模型。
使用该插件需要本地PATH环境变量中存在可运行的claude命令、Node.js版本不低于22.19或24以上,以及DSH的@deepseek-ai/dsh-llm模块。插件采用MIT许可证开源,需要注意的是,这种调用方式需要符合Anthropic的使用条款,更适合手动类工作负载,不建议用于无人值守的高流量生产场景。当前不支持发送图片,也不会重放之前的推理内容。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-claude-cli(katsos/dsh-claude-cli)
仓库:https://github.com/katsos/dsh-claude-cli
本站详情页:https://www.yhbd.top/plugins/katsos-dsh-claude-cli/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 6 · 最近提交 2026-08-15 · 主语言 TypeScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 6 stars - very few users, little community feedback星标只有 6,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:katsos/dsh-claude-cli
把 katsos/dsh-claude-cli 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-claude-cli
Use the Claude Code CLI you already have installed as a DeepSeek Harness LLM provider.
No API key. The plugin runs claude as a subprocess and streams its output back through the harness's LLM seam, so requests authenticate as whatever claude is already logged in as — a login you should check your plan's usage terms against before automating.
The harness stays the agent. The CLI's own agent loop, tools, settings, memory files, and MCP servers are all switched off; what is left is the model call, driven by the harness's system prompt, history, and tools.
Install
Requires a working claude on PATH (Claude Code), Node ^22.19 || >=24, and a harness with @deepseek-ai/dsh-llm.
Install it into the profile you actually run, pointing at your checkout of this repository. The package declares dsh.bundle, so it joins that profile's layer stack and the anthropic-claude-cli route is composed on every start:
dsh plugin --profile web add ../dsh-claude-cli
A path relative to where you run the command is fine here. This plugin is not on npm, so the directory is the only way to install it today.
Restart the harness afterwards — a profile's layer stack is read at startup, so a running server keeps the composition it booted with. The models then appear under Claude Code CLI in the model picker.
Invoking dsh
The commands here assume dsh resolves. How you reach it depends on how the harness is installed:
| Harness install | Command |
|---|---|
| Global | dsh … |
| Source checkout | pnpm dsh … |
| Neither | npx @deepseek-ai/dsh … |
Use the scoped name with npx. Unscoped dsh on npm is an unrelated JavaScript shell, last published in 2022.
That said, the third row is the odd one: this is a plugin for a harness, so a profile to install it into has to exist already. If you have never run dsh, install the harness first rather than reaching for npx.
Without installing — run it once from a --patch overlay
cordis.yml is a standalone --patch overlay for trying the plugin in one run, or for a profile you would rather not modify. Replace the placeholder path in it with this directory's absolute path — plugin paths in a patch must be absolute, because a patch contributes configuration without changing the directory the loader resolves module paths from.
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
Q00/ouroboros
crafter-station/petdex
anywhere-labs/Agents-Anywhere
amlyczz/dsh-agy-link
opencues/opencues
chaos-03x/dsh-agy