Skip to content

Introduction

claude-sessions is an interactive terminal UI (TUI) tool for browsing, searching, and resuming Claude Code sessions.

Claude Code provides --resume <session-id> and --continue, but no way to browse or search through your session history. This tool fills that gap.

demo

Why?

  • You have dozens (or hundreds) of Claude Code sessions
  • You want to find that conversation from last week about the auth refactor
  • You want to clean up old sessions cluttering your ~/.claude/projects/ directory
  • You don't want to manually copy-paste session IDs

Features

FeatureDescription
BrowseAll sessions sorted by most recent
MetadataDate, project, git branch, message count, first message preview
PreviewPeek into a session's conversation before resuming
SearchLive filter across project, branch, and message text
ResumeLaunch claude --resume with one keypress
DeleteRemove old sessions with confirmation
fzf modeAlternative selection via fzf for power users

Tech Stack

  • TypeScript with strict mode
  • Ink (React for the terminal) for the TUI
  • Commander for CLI argument parsing
  • Vitest for testing
  • Hexagonal architecture with clean domain separation

Requirements

Released under the MIT License.