import-claude-session

Convert claude.ai conversations into Claude Code .jsonl transcripts.

12|Updated Apr 28, 2020
One-click install
npx skills add https://github.com/gideonshaked/dotfiles --skill import-claude-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: import-claude-session
Source: https://github.com/gideonshaked/dotfiles/tree/main/agents/claude/skills/import-claude-session
Command: npx skills add https://github.com/gideonshaked/dotfiles --skill import-claude-session

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Import claude.ai conversations into Claude Code transcripts to create resumable sessions.

Core Features & Use Cases

  • Convert Claude Desktop chats into Claude Code .jsonl transcripts for easy resumption.
  • Supports selecting by conversation title or ID and associating with a target project directory.
  • Maintains metadata like sessionId, cwd, and version to enable reliable resume from Claude Code.

Quick Start

Tell the tool which Claude conversation to import and the target project directory, then run the import.

Frequently Asked Questions about import-claude-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import claude.ai chats into Claude Code transcripts?

Importing claude.ai chats into Claude Code transcripts involves selecting a conversation by title or ID and a target project directory. The tool then converts the chat into a resumable .jsonl transcript file.

Can I resume a Claude Desktop chat session in Claude Code?

Yes, you can resume a Claude Desktop chat in Claude Code by converting it into a .jsonl transcript. The import process preserves metadata like sessionId, cwd, and version to enable reliable session resumption.

Does importing claude.ai conversations to Claude Code work on Windows?

Importing claude.ai conversations to Claude Code is currently macOS-specific. The workflow relies on a macOS-specific cookie decryption process to safely fetch your conversations and produce the transcript.

How are authentication cookies handled when fetching claude.ai conversations?

Authentication cookies are safeguarded during the claude.ai conversation fetching process. The macOS-specific cookie decryption workflow ensures your credentials are securely handled while generating the .jsonl transcript.

What metadata is required to create resumable Claude Code sessions from claude.ai?

Creating resumable Claude Code sessions from claude.ai requires preserving metadata like sessionId, cwd, and version within the generated .jsonl transcript. This metadata ensures the session reliably resumes in the correct project directory.