YYTbit/dsh-plugin-claude-bridge 预览 preview

YYTbit/dsh-plugin-claude-bridge

将Claude Code的内存、技能与配置桥接到DeepSeek Harness

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness that bridges Claude Code's existing memory, skills, and configuration directly into DSH, requiring zero migration work from users. It reads from Claude Code's standard file locations natively, so there is no need for migration scripts, file copying, or symbolic links to get it working. To install the plugin, you can run the official DSH CLI command dsh plugin --profile your-profile add dsh-plugin-claude-bridge directly from your terminal. It works out of the box with zero required configuration, all adjustable settings are optional for power users.

The plugin sorts memory files by priority: feedback memories come first, followed by project, reference, and user memories, then injects the sorted content as dynamic context into DSH's system prompt. It re-reads all content on every new request, so any new memories added to Claude Code's storage take effect immediately in DSH. It also pulls skills from Claude Code's skill directory and injects global instructions from Claude's CLAUDE.md file directly into DSH. Users can customize optional settings like maximum memory size, maximum number of skills loaded, and add extra custom skill directories to the load path.

This plugin is released under the open source MIT license, so it is free to use, modify, and distribute with no commercial or non-commercial restrictions. It relies on an existing local Claude Code installation and its properly structured configuration files to work properly out of the box. If you have Claude Code installed in a non-standard location, you will need to update the claudeHome configuration value to point to your actual Claude root directory. Extra skill directories must follow Claude Code's standard skill directory structure to be detected and loaded correctly by the plugin.

这是一个专为 DeepSeek Harness 开发的原生插件,作用是将 Claude Code 已有的配置、记忆和技能桥接到 DSH 环境,无需任何迁移工作。它直接读取 Claude Code 的标准文件存储路径,不需要迁移脚本、文件复制或软链接,支持注入 Claude Code 的项目记忆、添加 Claude 技能目录中的技能,还能将 Claude 的全局指令注入 DSH 的系统提示词。可以通过 DSH 内置的 CLI 命令完成安装。

它开箱即用,默认无需任何配置,所有配置项都是可选的,用户可以自定义 Claude 家目录路径、开关记忆/技能/全局指令功能、限制单条记忆最大字节数、限制加载最大技能数量,还支持添加额外的技能目录。它按照反馈>项目>参考>用户的优先级排序记忆,每次请求都会重新读取内容,新添加的记忆会立即生效。适合同时使用 Claude Code 和 DeepSeek Harness,不想重复维护两套配置和记忆的用户。

该插件采用 MIT 许可证开源,完全免费使用,没有额外的使用限制或付费门槛。它依赖本地已经存在的 Claude Code 配置文件,如果用户没有在默认路径使用过 Claude Code,需要修改配置中的 claudeHome 路径指向实际的 Claude 目录。额外添加的技能目录需要符合 Claude Code 的技能目录结构才能正常读取,用户需要提前确认目录格式符合要求。

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

把 YYTbit/dsh-plugin-claude-bridge 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-plugin-claude-bridge

Bridge Claude Code's memory, skills, and configuration into DeepSeek Harness -- zero migration, full compatibility.

What it does

Reads Claude Code's standard file locations directly -- no migration scripts, no file copying, no symlinks:

  • ~/.claude/projects/<project>/memory/*.md -- Injects memories as dynamic system prompt context
  • ~/.claude/skills/<name>/SKILL.md -- Adds skills to the available catalog
  • ~/.claude/CLAUDE.md -- Injects global instructions into system prompt

Install

dsh plugin --profile your-profile add dsh-plugin-claude-bridge

Configuration

Works out of the box with zero configuration. All options are optional:

- id: claude-bridge
  name: dsh-plugin-claude-bridge
  config:
    claudeHome: '~/.claude'
    enableMemory: true
    maxMemoryBytes: 8192
    enableSkills: true
    maxSkills: 30
    enableGlobalInstructions: true
    extraSkillDirs:
      - '~/.agents/skills'

How it works

Memory injection

Claude Code stores memories as individual markdown files with YAML frontmatter. This plugin reads all memory files, sorts them by type priority (feedback > project > reference > user), and injects them as a dynamic system prompt context section. The context is re-read on each request, so new memories take effect immediately.

Skill catalog

Skills from ~/.claude/skills/ are discovered and their names and descriptions are injected as a catalog in the system prompt.

Global instructions

The content of ~/.claude/CLAUDE.md is injected as an early system prompt section (order 5), so global instructions and model routing rules are preserved.

Related bridge plugins

  • dsh-plugin-codex-bridge -- Bridge OpenAI Codex
  • dsh-plugin-opencode-bridge -- Bridge OpenCode
  • dsh-plugin-pi-bridge -- Bridge Pi Agent
  • awesome-dsh-bridges -- Curated list of all bridge plugins

License

MIT -- YYTbit

← 上一个 Prev dsh-spend 下一个 Next bigA →