DeepSeek Harness plugin

dsh-import

Import MCP servers, rules, and hooks from Claude Code, Codex, and Cursor into DeepSeek Harness — the missing /import for DSH.

Jump to install

Source facts

Repository
cms19859230182-lang/dsh-import
Latest update
Aug 13, 2026
Category
Tools & Capabilities
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/cms19859230182-lang/dsh-import
Plugin: dsh-import
Author: cms19859230182-lang

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-import

把 Claude Code、Codex、Cursor 的 MCP、rules、hooks 一键导入 DeepSeek Harness —— DSH 一直缺的那个 /import

![License: MIT](https://opensource.org/licenses/MIT)

Codex CLI 自带 /import,能把你的 Claude Code 和 Cursor 配置导入到 Codex。DSH 没有等价物。这个插件补上了它:打开 设置 → 导入配置,点 自动检测,选一个来源,导入。完事。

![导入配置页](assets/dsh-importer-import-page.png)

![自动检测](assets/dsh-importer-detect.png)

> ⚠️ 有任何 bug 随时联系作者:提 Issue,作者会在第一时间处理。

---

特性

  • 自动检测 — 扫描你的家目录(~/.claude~/.codex~/.cursor当前工作区,报告三个工具里装了哪些、各自有什么配置。
  • 单选导入 — 检测到的来源可选,没检测到的置灰。只导你想导的那个(比如只导 Cursor),不是一股脑全导。
  • 三来源 × 三类型,全覆盖
来源 \ 类型rulesMCPhooks
------------
Claude CodeCLAUDE.md.mcp.json / ~/.claude.jsonsettings.json → CC bridge
CodexAGENTS.mdconfig.toml(TOML)hooks.json → Codex bridge
Cursor.cursor/rules/*.mdc.cursor/mcp.jsonhooks.json → CC 方言 → CC bridge
  • 全局 + 项目双作用域 — 从家目录拉全局配置、从工作区拉项目配置,各自落到 DSH 对应位置(~/.dsh/AGENTS.md vs 工作区 AGENTS.md)。
  • 真写入,非预览 — rules 落到 AGENTS.md;MCP 服务器和 hooks bridge 落到 profile 的 cordis.patch.yml
  • 热加载 — MCP 和 hooks 被 DSH 的 boot HMR 自动接住,无需重启。
  • 自动备份 — 每个被改的目标文件先留一份 .bak-<时间戳>
  • 幂等 + 合并安全 — 重复导入同一源会跳过;导入第二个源是追加而不是覆盖。
  • 凭证安全${VAR} 引用转成 DSH 的 !!js process.env.VAR 表达式,不发明明文 token。

安装

# 从本地 checkout 安装(npm 包名:dsh-config-importer)
dsh plugin --profile web add /path/to/dsh-config-importer
# 然后重启 web profile

这个包声明了 dsh.bundle patch,dsh plugin add 会把它 reconcile 进 profile 的 dsh.profile.bundles 层,并通过 cordis.patch.yml 挂载 config-importer 这一行。

使用

1. 打开 DSH 设置(左下角)。 2. 打开 导入配置 页。 3. 点 自动检测 — 页面列出 Claude Code / Codex / Cursor 里装了哪些、各自有什么(全局和/或项目)。 4. 选一个来源(没检测到的会置灰)。 5. 勾选要导入的类型(Rules / MCP / Hooks)。 6. 点 开始导入

页面会展示逐项结果:导入了什么、跳过了什么(已存在)、不支持什么(例如 sse/ws MCP transport,DSH 不支持)。

联系作者

---

dsh-import

Import MCP servers, rules, and hooks from Claude Code, Codex, and Cursor into DeepSeek Harness — the /import command DSH was missing.

![License: MIT](https://opensource.org/licenses/MIT)

Codex CLI ships a /import that pulls your Claude Code and Cursor config into Codex. DSH had no equivalent. This plugin fills that gap: open Settings → 导入配置 (Import config), hit 自动检测 (Auto-detect), pick a source, and import. Done.

> ⚠️ Found a bug? Contact the author any time — open an Issue.

Features

  • Auto-detect — scans your home directory (~/.claude, ~/.codex, ~/.cursor) and the current workspace, and reports which of the three tools are installed and what they carry.
  • Pick one source — detected sources are selectable; undetected ones are greyed out. Import only the tool you want (e.g. Cursor), not everything at once.
  • Three sources × three config kinds, full matrix — see the table above (Chinese section).
  • Global + project scopes — pull global config from your home directory or project config from the workspace, into the matching DSH location (~/.dsh/AGENTS.md vs workspace AGENTS.md).
  • Real writes, not previews — rules land in AGENTS.md; MCP servers and hooks bridge rows land in your profile's cordis.patch.yml.
  • Hot reload — MCP and hooks rows are picked up by DSH's boot HMR, no restart needed.
  • Automatic backup — every target file gets a .bak-<timestamp> copy before it is modified.
  • Idempotent + merge-safe — re-importing the same source skips duplicates; importing a second source appends instead of overwriting.
  • Credential-safe${VAR} references become DSH's !!js process.env.VAR expressions; no plaintext tokens are invented.

Install

# from a local checkout (npm package name: dsh-config-importer)
dsh plugin --profile web add /path/to/dsh-config-importer
# then restart the web profile

The package declares a dsh.bundle patch, so dsh plugin add reconciles it into the profile's dsh.profile.bundles layer and mounts the config-importer row via cordis.patch.yml.

Usage

1. Open DSH settings (bottom-left). 2. Open the 导入配置 / Import config page. 3. Click 自动检测 (Auto-detect) — the page lists which of Claude Code / Codex / Cursor are installed, and what each carries (global and/or project). 4. Pick one source (undetected sources are greyed out). 5. Tick the kinds to import (Rules / MCP / Hooks). 6. Click 开始导入 (Start import).

Contact

License

MIT