
YYTbit/dsh-plugin-claude-bridge
50最近提交 2026年8月14日
dsh-plugin-claude-bridge DSH 插件
该插件直接读取 Claude Code 的标准文件位置,将记忆、技能和全局指令作为动态系统提示上下文注入到 DeepSeek Harness 中。无需迁移脚本、文件复制或符号链接。配置可选,开箱即用。
如何安装 dsh-plugin-claude-bridge DSH 插件
dsh plugin --profile your-profile add dsh-plugin-claude-bridge复制不会执行命令。安装 dsh-plugin-claude-bridge DSH 插件前请核对仓库和版本。
dsh-plugin-claude-bridge DSH 插件数据来源
dsh-plugin-claude-bridge DSH 插件快照日期:2026年8月16日
discovered
dsh-plugin-claude-bridge DSH 插件能做什么
- 读取 ~/.claude/projects/<project>/memory/*.md 中的记忆文件,按类型优先级排序后注入为动态系统提示上下文。
- 发现 ~/.claude/skills/<name>/SKILL.md 中的技能,将其名称和描述添加到系统提示中的可用目录。
- 将 ~/.claude/CLAUDE.md 中的全局指令作为早期系统提示段(顺序5)注入,保留模型路由规则。
- 支持可选的配置项,包括自定义 claudeHome 路径、最大记忆字节数、最大技能数量以及额外技能目录。
dsh-plugin-claude-bridge DSH 插件适合哪些场景
- 在 DeepSeek Harness 中使用 Claude Code 已有的记忆文件,无需迁移数据即可获得上下文感知的协助。
- 自动发现并编录为 Claude Code 开发的技能,在 DeepSeek Harness 中直接使用。
- 在 Claude Code 和 DeepSeek Harness 之间保持一致的全局指令(如项目规则、格式偏好)。
- 快速将现有的 Claude Code 工作区桥接到新的 DSH 环境,无需手动设置。
dsh-plugin-claude-bridge DSH 插件适合谁
- 已经使用 Claude Code 并希望在 DeepSeek Harness 中复用其记忆和技能的开发者。
- 维护共享 Claude Code 配置并希望将相同规则和指令应用到 DSH 的团队。
dsh-plugin-claude-bridge DSH 插件的限制
- 需要 Claude Code 已在标准位置生成记忆文件、技能和 CLAUDE.md。
- 该插件仅通过读取和注入系统提示内容工作,不会回写或同步更改到 Claude Code 的文件。
- 记忆注入可能增加系统提示的大小;可配置的 maxMemoryBytes(默认8192)限制了注入的记忆内容量。
dsh-plugin-claude-bridge DSH 插件的仓库 README 摘录
以下文字摘自 dsh-plugin-claude-bridge DSH 插件的上游仓库 YYTbit/dsh-plugin-claude-bridge 的 README,版权归原作者,仅作引用。
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 ```sh dsh plugin --profile your-profile add dsh-plugin-claude-bridge ``` ## Configuration Works out of the box with zero configuration. All options are optional: ```yaml - 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 s
阅读完整 README仓库许可: MIT
dsh-plugin-claude-bridge DSH 插件常见问题
如何安装 dsh-plugin-claude-bridge?
在终端中运行 `dsh plugin --profile your-profile add dsh-plugin-claude-bridge`。确保已安装 DeepSeek Harness (DSH) 并配置了 profile。插件会自动下载并启用。
安装后需要配置吗?
不需要,插件零配置即可工作,它会读取 Claude Code 的默认文件位置。如果你想自定义 claudeHome 路径、禁用记忆注入或添加额外技能目录,可以在 DSH profile 的 YAML 中添加可选配置。
这个插件会修改我的 Claude Code 文件吗?
不会,插件只读取 Claude Code 的文件,不会写入、复制或修改任何现有文件。记忆、技能和全局指令被原地读取并注入到 DeepSeek Harness 的系统提示中。
插件查找哪些文件位置?
它查找 `~/.claude/projects/<project>/memory/*.md` 中的记忆文件、`~/.claude/skills/<name>/SKILL.md` 中的技能文件以及 `~/.claude/CLAUDE.md` 中的全局指令。你可以通过 `claudeHome` 配置选项更改基础路径。
我可以禁用记忆注入但保留技能和全局指令吗?
可以,在 DSH profile 的插件配置中将 `enableMemory` 设置为 `false` 即可。同样,你也可以分别用 `enableSkills: false` 禁用技能,用 `enableGlobalInstructions: false` 禁用全局指令。所有选项相互独立。