lcestou/dsh-oh-my-claude

Claude Code CLI as an LLM provider for dsh (DeepSeek Harness): live model list, per-session resume, approval relay, images, a memory/rewind/changes panel, and workspaces on remote SSH boxes

Project Overview项目介绍

Oh My Claude is a native DSH plugin that adds Claude Code CLI as a first-class LLM provider directly inside DeepSeek Harness. To use it, you must already have Claude Code CLI installed on your system PATH, logged into your Anthropic account, and running DSH version 0.1.5-rc.1 or newer. It calls the local claude -p command directly using Claude Code's native streaming JSON protocol, so it reuses your existing login, configurations, MCP servers, and rate limits without needing a separate Anthropic API key. It carries zero extra runtime dependencies, since it leverages the Claude Code CLI you already run.

This plugin is built for developers who use both DSH and Claude Code, letting you access Claude's coding capabilities directly within the DSH interface without switching tools. It adds a custom control panel to DSH that includes tabs for memory, instructions, rewind, changes, MCP server management, diagnostics, and more. It also maps DSH's access shield levels directly to Claude Code's six permission modes, so you can control Claude's behavior the way you prefer within DSH. It adds session cost tracking to DSH's footer stats row, turning the cost pill orange when you pass your configured spend limit.

This plugin is released under the open source MIT license, and it is not affiliated with or endorsed by Anthropic. There are a few known limitations to note: DSH's shell and file tools are not proxied through Claude Code, and Claude Code sessions are not automatically deleted when DSH sessions are removed. To install the plugin, you can add it via DSH's plugin marketplace or install it from npm, and you can configure its settings either through DSH's settings menu or directly in your cordis.patch.yml file. You can also set up remote Claude Code instances over SSH for remote workflows.

这是一个专为 DeepSeek Harness (DSH) 开发的原生插件,核心功能是将已登录的 Claude Code CLI 作为 DSH 的第一方 LLM 提供者接入。它直接调用本地已安装的 Claude Code CLI,复用其已有登录状态、配置、CLAUDE.md 文件、MCP 服务和速率限制,不需要额外申请 Anthropic API 密钥,也没有额外运行时依赖。

该插件面向同时使用 DSH 和 Claude Code CLI 的开发者,接入后可以在 DSH 界面内直接使用 Claude Code 的编码能力,还提供了直观的控制面板,支持权限管理、会话成本统计、上下文用量查看、远程 Claude 实例接入等功能。开发者可以在 DSH 中统一管理不同环境下的 Claude Code 会话,切换工作区十分便捷。

该插件使用 MIT 许可证开源,不隶属于 Anthropic,运行前提是本地已安装 Claude Code CLI 并完成登录,同时要求 DSH 版本不低于 0.1.5-rc.1。当前不支持代理 DSH 的 shell 和文件工具,Claude Code 会话也不会随 DSH 会话删除而删除,安装前需要确认环境满足要求。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 7 stars - very few users, little community feedback星标只有 7,几乎没人在用,遇到问题缺少社区反馈
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 dsh-oh-my-claude

把 lcestou/dsh-oh-my-claude 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

Oh My Claude

English | 中文

Claude Code, native inside dsh

Drive your logged-in Claude Code CLI as a first-class dsh provider: no API key, no extra services, no runtime dependencies.

npm version dsh Claude Code CLI TypeScript Bun Zero runtime dependencies

Built with AI assistance, and open to more. Contributions from AI coding agents are welcome; start with CONTRIBUTING.md.


Claude Code CLI as an LLM provider for dsh. Every request drives claude -p with stream-json in and out, so it uses whatever login, hooks, CLAUDE.md files, MCP servers and rate limits Claude Code already has. No API key needed. The plugin speaks the CLI's own protocol (the one the Agent SDK wraps) directly, so it has no runtime dependencies.

Tour

dsh's access shield in a Claude session: Plan, Ask, Accept edits, Auto, Don't ask and Bypass rows with dsh's own icons

The shield is dsh's own control. In a Claude session its rows become Claude's six permission modes, each labelled with the dsh access level it sets underneath.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-approval-mode 下一个 Next chicheng-stats →