dsh-plugin-claude-bridge

by yytbit

记忆github收录于 08-23

把 Claude Code 的记忆、技能与配置桥接进 DeepSeek Harness——零迁移、完全兼容

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

安装

dsh plugin --profile web add github:yytbit/dsh-plugin-claude-bridge

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

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

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.

  • 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

原始 README: https://github.com/YYTbit/dsh-plugin-claude-bridge/blob/master/README.md ↗