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

YYTbit/dsh-plugin-claude-bridge

插件Plugin 原生Native ⭐ 9 MIT 记忆Memory

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

项目介绍Project Overview

dsh-plugin-claude-bridge 是一个将 Claude Code 的记忆、技能与配置直接接入 DeepSeek Harness 的桥接插件。它读取 ~/.claude 下的 memory、SKILL.mdCLAUDE.md 等标准路径,无需迁移或复制,即可将记忆注入系统提示、添加技能到目录,并保留全局指令。适用于已在 Claude Code 中沉淀大量记忆和技能、希望在 DSH 中继续复用的用户,无需任何配置即可开箱即用。需注意记忆按字节大小截断、技能数量有限制,超大或超量内容可能被忽略。

dsh-plugin-claude-bridge is a DSH plugin that bridges Claude Code into DeepSeek Harness. It reads standard Claude paths including ~/.claude/projects/<project>/memory/*.md, ~/.claude/skills/<name>/SKILL.md, and ~/.claude/CLAUDE.md, injecting memories as dynamic system prompt context, adding skills to the available catalog, and preserving global instructions, with no migration, copying, or symlinks required. Use it when you have accumulated memories, skills, and configuration in Claude Code and want to continue using them in DSH without rework. Note that memory is truncated by byte limit and skill count is capped, so very large content may be ignored.

或使用命令行安装(适合开发者)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-openai-codex-auth 下一个 Next dsh-chatgpt-subscription