前言¶
DSH 的扩展方式之一是插件。对于已经在 OpenAI Codex 中维护本地文件的用户,常见的问题是:这些文件分散在 skills、instructions 和 config 中,若要在 DeepSeek Harness 里复用,需要手动搬运或调整。
dsh-plugin-codex-bridge 针对这个场景,把 OpenAI Codex 的 skills、instructions 和 configuration 桥接到 DeepSeek Harness。README 将插件描述为 zero migration。
这是什么¶
dsh-plugin-codex-bridge 由 YYTbit 维护,许可证为 MIT。插件名是 dsh-plugin-codex-bridge,GitHub 仓库为:
https://github.com/YYTbit/dsh-plugin-codex-bridge
它解决的是已有 Codex 文件在 DSH 中复用的问题,而不是重新编写一套新的 Codex 资产。
核心功能¶
插件覆盖三个已核实的 Codex 文件路径。
- skills 路径:
~/.codex/skills/<name>/SKILL.md
插件将这些文件作为 available skills 注入 DSH。
- instructions 路径:
~/.codex/instructions.md
插件将该文件注入 system prompt。
- config 路径:
~/.codex/config.toml
插件从该文件注入 model/provider context。
安装与启用¶
先确认要使用的 DSH profile 名称。安装命令为:
dsh plugin --profile your-profile add dsh-plugin-codex-bridge
执行后,dsh-plugin-codex-bridge 会被添加到指定 profile。
典型用法¶
安装后,可以按 README 的示例配置启用 skills、instructions 和 config:
- id: codex-bridge
name: dsh-plugin-codex-bridge
config:
enableSkills: true
maxSkills: 30
enableInstructions: true
enableConfig: true
示例中的配置项包括 enableSkills、maxSkills、enableInstructions、enableConfig。maxSkills 的值示例为 30。
适用场景与注意¶
适合已经在维护以下文件的用户:
~/.codex/skills/<name>/SKILL.md
~/.codex/instructions.md
~/.codex/config.toml
使用前建议先检查插件源码,并确认 MIT 许可证。插件运行在 dsh 进程内,会以当前 dsh 进程权限访问上述 Codex 文件,因此不要在不信任的来源中随意安装。
DSH 社区目录是独立站点,不是 DeepSeek / 幻方官方应用商店。
结尾¶
dsh-plugin-codex-bridge 的价值在于把已有 Codex 的 skills、instructions 和 configuration 直接接入 DSH,减少手动迁移。
GitHub:
https://github.com/YYTbit/dsh-plugin-codex-bridge
目录页 URL 未包含在已核实资料中,本文暂不给出。