dsh-chat-import

by NwflowerVerified

Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable sessions — full-fidelity, reverse export/sync, bundle backup. | 从 Claude Code、Codex、Reasonix 等 Agent 工具导入历史消息到 DeepSeek Harness 并继续对话。

92
Stars
13
Forks
JavaScript
Language
8/24/2026
Added
View on GitHubDownload ZIP

⚠️ Third-Party Software Notice

This skill is third-party open-source software developed and hosted independently on GitHub. SkillTip is an informational directory and does not control or maintain the underlying repository. Any security checks displayed are automated and limited in scope. Review the source code before installing.

Read the Terms of Service

Installation

Add to your Claude Code skills directory:

# Add to your Claude Code skills
git clone https://github.com/Nwflower/dsh-chat-import

Getting Started

Guides for using skills like dsh-chat-import.

Security Report

Verified

Last scanned: —

{
  "status": "PASSED",
  "issues": []
}

README.md

📥 DSH Chat Import

Import 15+ external agent conversation histories into DeepSeek Harness as full-fidelity, resumable sessions — and export / sync back to Claude Code, Codex, Kimi, or a portable interchange bundle.

English 简体中文

npm version npm downloads License: MIT Node.js loading= = 22.13"> CI GitHub stars Listed in Awesome DeepSeek Harness Awesome DSH Plugin dsh.so security Listed in Awesome DSH Plugins

💡 Intro · 🚀 Install · ✨ Features · 🗂 Supported sources · 🛠 Usage · 🔑 Key behaviors · 📚 Docs · ⭐ Star History · 🤝 Contributing

16+ agent sources, one plugin — full-fidelity import into DeepSeek Harness, seamless resume, matrix interop / backup / handoff on the way out.

Changelog: CHANGELOG.md · Roadmap: ROADMAP.md · Interchange protocol: docs/INTERCHANGE.md

💡 Intro

dsh-chat-import imports conversation histories from Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, MiMo Code, ZCode, Grok Build, OpenClaw, Pi Coding Agent, Hermes, Kimi CLI / Kimi Code, Qoder CLI and DSH session logs — tool calls, reasoning and all — as full-fidelity, resumable DeepSeek Harness sessions. Source files are read read-only (never rewritten), the DSH engine is never touched, and every import becomes a fresh session grouped into the workspace of its source cwd.

The reverse direction is covered too: export_claude serializes a DSH session back into a Claude Code JSONL transcript that Claude Code can load with --resume (read-only — your DSH log is never modified), sync_to_claude incrementally appends a session's new turns back to a Claude Code file — guarded, never silently overwriting — and the same matrix extends to Codex rollouts (export_codex) and Kimi wire files (export_kimi), plus a portable interchange bundle (export_bundle / restore_bundle) with SHA-256 fingerprints and cross-machine restore.

Requires Node.js ≥ 22.13, targets dsh 0.1.x (tested on 0.1.0-rc.6 / 0.1.0-rc.7).

🚀 Install

dsh plugin --profile web add dsh-chat-import                    # npm package
dsh plugin --profile web add -w link:/path/to/dsh-chat-import   # local checkout (symlink)

Then:

  • Import — call any import_* tool in a DSH session:
import_claude({ path: "~/.claude/projects" })
import_chatgpt({ path: "~/Downloads/chatgpt-export/conversations.json" })
import_local_jsonl({ path: "D:\downloads\session.jsonl" })
  • Resume — refresh the session list, open the imported session, and keep chatting from where the source left off.

  • Discover & batchscan_discover() previews read-only; the sidebar "Import sessions" panel browses by workspace and supports multi-select import; /import-all batch-imports everything.

  • Sync (optional) — the panel's "Sync" tab offers bidirectional incremental sync (external → DSH, DSH → external), default off. Sub-agent conversations are filtered out by default in both directions, and excludeDirs deny-lists let you skip specific workspace directories per direction.

Uninstall: remove the import-claude insert line from your profile's bundles and restart dsh; imported sessions stay untouched and the plugin never auto-deletes.

✨ Features

Capability Entry points Description

Batch import from 16+ sources import_* (17 tools) · scan_discover · sidebar panel · /import A file, a directory or a whole database — each conversation becomes its own session

Full-fidelity resume Imported sessions Tool calls & results, reasoning, titles, models and timestamps carry over; sessions group into the source cwd workspace

Matrix export export_claude / export_codex / export_kimi Serialize DSH sessions back to Claude / Codex / Kimi formats; every lossy item is reported

Portable backup export_bundle / restore_bundle Interchange bundle with dual SHA-256 fingerprints, restorable across machines

Incremental write-back sync_to_claude Appends new complete turns back to a Claude Code file — guarded, never overwriting

Bidirectional sync panel "Sync" tab Incremental inbound/outbound sync across Claude / Codex / Grok; sub-agent conversations filtered by default; per-directory excludeDirs deny-list

Agent asset migration import_agents Converts pi / opencode / Claude / Codex agents, prompts, skills, instructions into persistent DSH skills

MCP mirror plan import_mcp / /mcp-status Reads Claude / Codex MCP servers and generates a reviewable DSH MCP client YAML snippet

Settings translation import_settings / /settings-suggest Turns Claude settings / Codex config into DSH migration suggestions (read-only)

Handoff summaries /resume-claude / /resume-codex Treats external transcripts as untrusted history and injects a handoff summary into the current session

Read-only audit / checkup verify_session / doctor / CLI dsh-chat-import doctor Structural audit and migration health check

Idempotency & protection All import tools expectedHash / restamp / context-budget protection; unchanged sources skip, grown sources append

Preset mode + system prompt Settings tab in the Plugins section Imported sessions record the default preset; optional "import system prompt" as a context injection (off by default)

🗂 Supported sources

Source Storage location Import tool

Claude Code ~/.claude/projects/<slug>/<sessionId>.jsonl import_claude

Claude-3p (new client) %LOCALAPPDATA%\Claude-3p\claude-code-sessions (metadata → JSONL via cliSessionId) import_claude

Codex / ChatGPT CLI ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl import_codex

ChatGPT (web export) anywhere you saved the export — conversations.json import_chatgpt

Cursor ~/.cursor/projects/<slug>/agent-transcripts/<id>/<id>.jsonl import_cursor

Gemini CLI ~/.gemini/history/<slot>/chats/session-*.json import_gemini

Reasonix (CLI + desktop) ~/.reasonix/sessions/desktop-*.jsonl · %APPDATA%\reasonix\projects\<slug>\sessions\*.jsonl import_reasonix

opencode ~/.local/share/opencode/opencode.db import_opencode

MiMo Code (opencode fork) ~/.local/share/mimocode/mimocode.db import_mimocode

ZCode (z.ai CLI) ~/.zcode/cli/db/db.sqlite import_zcode

Grok Build ~/.grok/sessions/<project>/<session_id>/ import_grokbuild

OpenClaw ~/.openclaw/agents/<agent>/sessions/*.jsonl import_openclaw

Pi Coding Agent ~/.pi/agent/sessions/--<cwd>--/<timestamp>_<uuid>.jsonl import_pi

Hermes ~/.hermes/ (Windows %LOCALAPPDATA%\hermes) import_hermes

Kimi CLI / Kimi Code ~/.kimi/sessions/<workdir-md5>/<sessionId>/wire.jsonl · ~/.kimi-code/sessions/<workspaceId>/<sessionId>/agents/main/wire.jsonl import_kimi

Qoder CLI ~/.qoder/projects/<encoded-project>/<sessionId>.jsonl (subagents in <sessionId>/subagents/*.jsonl) import_qoder

DSH session logs ~/.dsh/sessions/<encoded-workspace>/<sessionId>/session.jsonl(.zstd) import_dsh

Any local JSONL any .jsonl file / directory (auto-detected) import_local_jsonl

Each import preserves what the source actually records; anything a format cannot preserve is explicitly flagged in the import report. Per-format details and edge cases live in Usage Reference.

🛠 Usage

All import_* tools share the same path semantics: a single file becomes one session, a directory is scanned recursively for batch import. Common options: preview (zero side effects), force (new full copy), sessionId (override target id), expectedHash (SHA-256 verification), restamp (shift timestamps to now), workspaceMode / workspaceDir (grouping control).

import_claude({ path: "C:\Users\<you>\.claude\projects\<slug>\<sessionId>.jsonl" })
import_opencode({ path: "C:\Users\<you>\.local\share\opencode\openco

Frequently Asked Questions

What is dsh-chat-import?

dsh-chat-import is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by Nwflower. Import 14+ external agent chat histories (Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi CLI, DSH) into DeepSeek Harness as resumable sessions — full-fidelity, reverse export/sync, bundle backup. | 从 Claude Code、Codex、Reasonix 等 Agent 工具导入历史消息到 DeepSeek Harness 并继续对话。. It has 92 GitHub stars.

Is dsh-chat-import safe to use?

Yes. dsh-chat-import passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install dsh-chat-import?

Clone the repository with "git clone https://github.com/Nwflower/dsh-chat-import" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is dsh-chat-import written in?

dsh-chat-import is primarily written in JavaScript. It is open-source under Nwflower on GitHub, so you can review or fork the full source.

Are there alternatives to dsh-chat-import?

Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh dsh-chat-import against similar tools.

Comments (0)

No comments yet. Be the first to share your thoughts!

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details

claude-code

by anthropics

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

120,03119,897Shell
AI Agents
View details

Developers Also Liked

Based on votes and bookmarks from developers who liked this skill

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI Agentsai-agentsanthropicclaude-code
View details
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI Agentsai-agentsbrainstorming
View details

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP Serversapisai-tools
View details

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI Agentsai-agentsanthropicclaude-code
View details

cc-switch

by farion1231

3

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

128,8688,826Rust
AI Agentsclaude-codeai-tools
View details