TimeCraker

Dsh Claude Import — Development skill for Claude Code

Development community

Import Claude Code config (skills/rules/CLAUDE.md/AGENTS.md) into DeepSeek Harness, with destination preview, conflict strategies, and idempotent re-imports.

How to install Dsh Claude Import

This entry records only its repository, not the path inside it, so there is no exact command to give. Open TimeCraker/dsh-claude-import and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Dsh Claude Import does

Import Claude Code config (skills/rules/CLAUDE.md/AGENTS.md) into DeepSeek Harness, with destination preview, conflict strategies, and idempotent re-imports.

Alternatives in Development

  • IPolloWork — Enterprise-grade, local-first Agent Workbench for people and agent teams 4.9k ★
  • Petdex — A public gallery of animated pets for Codex, Claude Code, DeepSeek Harness, Hermes, OpenCode, Gemini CLI, and 4k ★
  • Flowix — Notes for you, Memory for your agents 374 ★

README

dsh-claude-import

dsh-claude-import — Import Claude Code config into DeepSeek Harness

把 Claude Code 的配置资产一键导入 DeepSeek Harness(DSH):在设置页「插件 → 插件配置」提供 「导入 Claude 配置」卡片,勾选要导入的资产,选择用户级或项目工作区,预览落点与冲突, 逐项选择冲突策略后导入。重复导入幂等,不产生重复条目。

功能

  • 五类资产:skills / rules / commands / CLAUDE.md / AGENTS.md,逐项勾选;
  • 两种范围:用户级(~/.claude)与项目级(选定工作区的 .claude 目录,复用 DSH 原生目录选择器);
  • 落点预览:导入前逐项展示 源 → 目标、当前状态(新增 / 已一致 / 冲突 / 源已更新 / 已有等效内容 / 暂不支持)与摘要;
  • 冲突三策略:覆盖 / 合并 / 跳过,逐项可选;
  • 幂等:文本资产以标记块写入,重复导入自动识别;技能目录按内容指纹比对,一致即跳过;
  • 安全处理 Windows 目录联接(junction):目标为联接且内容一致时不动它;覆盖/合并会先摘除联接、绝不写穿到联接指向的目录。

落点映射

Claude 资产 DSH 落点
~/.claude/skills/ ~/.agents/skills/(官方扫描根,rank 500)
/.claude/skills/ /.agents/skills/(项目扫描根,rank 200)
~/.claude/CLAUDE.md~/.claude/AGENTS.md~/.claude/rules/*.md 以带标记的块合并进 ~/.dsh/AGENTS.md(用户级指令文件)
/.claude/CLAUDE.md 以带标记的块合并进 /AGENTS.md(项目级候选文件,会话 cwd 位于项目内时生效)
commands/*.md 无直接落点(DSH 命令为代码注册制),检测到则提示暂不支持并跳过

指令文本块形如:



## [dsh-claude-import] rules/engineering-conduct.md

…源文件原文…

重复导入时按块 id 定位:内容一致 → 无改动;源已更新 → 覆盖 / 合并(追加) / 跳过。 目标中已存在等效内容但无标记(例如先前的其他方式合并)时视为已导入,跳过以免重复。

安装

官方路径(任何机器)

dsh plugin --profile web add dsh-claude-import
# 重启 DSH(web profile)后生效

`dsh plugin` 会把包写入 profile 依赖,并因其声明了 `dsh.bundle` 自动加入 `dsh.profile.bundles`;插件自带 `cordis.patch.yml`(bundle patch)把 Loader 行挂进组合。

本地源码开发(file: 依赖)

cd ~/.dsh/profiles/web
pnpm add "file:C:/path/to/dsh-claude-import"

随后把包名写进 profile 自己的 `cordis.patch.yml`(用户补丁层支持热重载,免重启):

- insert:
    - id: claude-import
      name: dsh-claude-import

使用

设置 → 插件 → 插件配置 → 「Claude 配置导入」→ 导入 Claude 配置:

  1. 勾选资产类型(默认全选);
  2. 保持「用户级(全局)」,或点「选择工作区…」