claude-session-clone

Duplicate Claude Code sessions with transcripts, subagents, and tool results.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/dzineer/dzineer-computer-claude-skills --skill claude-session-clone
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-session-clone
Source: https://github.com/dzineer/dzineer-computer-claude-skills/tree/main/claude-session-clone
Command: npx skills add https://github.com/dzineer/dzineer-computer-claude-skills --skill claude-session-clone

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to duplicate an entire Claude Code session, including its transcript, subagents, and tool results, into a new session, preserving all context and work.

Core Features & Use Cases

  • Full Session Duplication: Copies the entire session data, ensuring continuity.
  • Cross-Project Cloning: Can clone sessions between different project directories.
  • Use Case: You've spent hours refining a complex coding session and want to create a backup or a new branch of work without losing any progress. Use this skill to clone the current session.

Quick Start

Clone the current session to a new session ID generated automatically.

Frequently Asked Questions about claude-session-clone

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

FAQPage Schema
How do I duplicate a Claude Code session to preserve my workflow context?▼

Session cloning duplicates your entire Claude Code session, including transcripts, subagents, and tool results, into a new session ID to preserve all context and work.

Can I clone a Claude Code session to a different project directory?▼

Yes, you can clone sessions across different project directories. The skill supports cross-project cloning, allowing you to duplicate your session data and continue work in a new environment.

Do I need Python to copy and back up Claude Code session transcripts?▼

Yes, you need Python 3 installed. The skill requires Python 3 with standard libraries to handle file operations and JSON parsing for duplicating session transcripts and tool results.

What is the best way to create a backup branch of a complex coding session?▼

Cloning your session is the best way to create a backup branch. It instantly duplicates your entire session data into a new ID, allowing you to diverge work without losing previous progress.

Does session cloning provide statistics on the copied transcript and tool results?▼

Yes, the session duplication process provides detailed statistics on the copied data. This allows you to verify that all transcripts, subagents, and tool results were successfully cloned.