Skip to content

CLI tool to browse and delete Claude Code chats history

Notifications You must be signed in to change notification settings

jitbit/claude-chat-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Claude Chat Manager

A terminal UI tool for browsing and deleting Claude Code chat history.

Claude Code stores conversation logs as JSONL files under ~/.claude/projects/ and provides no tools to manage/clear AI session history, which makes it painful to go back to something. This tiny app provides an interactive console interface to explore those conversations by project, view details, and delete ones you no longer need.

image

Features

  • Browse conversations grouped by project
  • View conversation title, date, and first message
  • Inspect conversation details
  • Delete conversations (with confirmation prompt)
  • Keyboard-driven navigation

Installation

  • Download the 2MB binary from the releases page (MacOS arm64 or win-x64)
  • chmod +x the binary
  • run the binary
./ClaudeChatManager

(if Gatekeeper prevents you from launching it on a Mac, open "System Settings → Privacy & Security", scroll down to "Security", click "Open anyway" next to the app)

Usage

Use arrow keys to navigate, Enter to view details, Delete/Backspace to remove a conversation, and Esc to go back.

Build requirements

I don't have access to a Linux machine at the moment (only Mac/Win) so haven't built a linux version. If you'd like to run on Linux, - install .NET SDK and build it your self

Building sources

dotnet build --project ClaudeChatManager

Run from sources

dotnet run --project ClaudeChatManager

To publish a compiled native AOT binary:

dotnet publish ClaudeChatManager -c Release

About

CLI tool to browse and delete Claude Code chats history

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages