Skip to main content

Introduction

claude-session-fork lets you fork Claude Code sessions at any conversation point.

Why?

  • Explore alternatives - Try different approaches from the same point
  • Undo mistakes - Go back before an error and try again
  • Parallel development - Work on multiple features simultaneously
  • Compare solutions - Implement the same feature differently

Quick Start

# Install
npm install -g claude-session-fork

# In Claude Code, run:
sfork

Features

FeatureDescription
Auto-detectUses current session in Claude Code
Session browserBrowse all sessions with --list
Visual historySee code changes with ◆ indicator
Multi-terminalTerminal.app, iTerm2, VS Code, Cursor, Kiro

Commands

sfork           # Fork current session
sfork --list # Choose from session list
sfork --help # Show help