Back to plugins
dsh-chat-import Cover

dsh-chat-import

Import 16+ external agent chat histories into DSH as resumable sessions, with reverse export and backup

github.com/Nwflower/dsh-chat-import
234 MIT Author Nwflower Updated

Install

dsh plugin --profile web add dsh-chat-import

Screenshots 1

dsh-chat-import

Switching tools shouldn’t mean losing your history: import 16+ external agent histories into DSH, then export, sync, and bundle them back out.

What problem it solves

Moving to DSH from Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, Kimi and more usually means abandoning months of conversation history. This plugin imports those external sessions — tool calls, reasoning, titles, models, and timestamps included — as full-fidelity, resumable DSH sessions. Source files are always read-only, never rewritten, and the DSH engine is never touched.

The reverse direction is covered too: export_claude / export_codex / export_kimi serialize DSH sessions back into loadable formats, sync_to_claude appends new turns without ever silently overwriting, and export_bundle / restore_bundle produce SHA-256 fingerprint-verified portable bundles for cross-machine restore.

Key features

  • 16+ sources, batch import: 17 import_* tools cover Claude Code, Codex, ChatGPT, Cursor, Gemini, Reasonix, opencode, MiMo Code, ZCode, Grok Build, OpenClaw, Pi, Hermes, Kimi, Qoder, DSH logs, and any local JSONL
  • Full-fidelity resume: 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 write back to loadable formats, flagging every lossy item
  • Portable backup: export_bundle / restore_bundle create a dual SHA-256 fingerprint-verified interchange bundle
  • Idempotent + incremental: unchanged sources skip, grown sources append only new turns, shrinkage is detected and reported
  • Asset & settings migration: import_agents converts agents/prompts/skills into persistent DSH skills; import_mcp / import_settings produce reviewable migration suggestions
  • Audit & health check: verify_session / doctor and the dsh-chat-import doctor CLI run structural audits

Quick start

Install, then 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: "~/downloads/session.jsonl" })

Refresh the session list, open the imported session, and keep chatting from where the source left off. scan_discover() previews read-only, the sidebar “Import sessions” panel browses by workspace with multi-select import, and /import-all batch-imports everything. An optional “Sync” tab offers bidirectional incremental sync (off by default). Requires Node.js ≥ 22.13 and targets dsh 0.1.x.

Who it is for

  • Users migrating from other agents who want to keep their full history
  • Teams running several tools in parallel that need backup, sync, and handoff
  • Power users migrating agent assets (prompts, skills, instructions) alongside conversations
Tags Tools Automation

Compiled from the project README · All rights belong to the original author

Report issue / Request removal

Related plugins