Claude Code session
Claude Code Cleaner
Interactive TUI tool to clean up disk space accumulated by Claude Code (~/.claude/) — reclaim GBs from orphaned project caches, old session data, debug logs, telemetry, and stale config entries.
Install
cargo install claude-code-cleanerFound in the project README. Check it for setup steps after installing.
git clone https://github.com/GarrickZ2/claude-code-cleaner.gitFrom the README
Claude Code Cleaner A terminal UI (TUI) tool for interactively cleaning up the ~/.claude/ directory. Inspired by CleanMyMac, it provides a visual, guided workflow to reclaim disk space from accumulated Claude Code data. After extended use, ~/.claude/ can grow to 1.8 GB+ across 10,000+ files — old session data, debug logs, telemetry, orphaned project caches, and more. This tool helps you see exactly what's there, choose what to clean, and safely reclaim space. Screenshots Features - 5-screen guided workflow: Scan → Select → Projects → Preview → Clean - Smart scanning: Detects all cleanable data categories with per-file age tracking - Orphan project detection: Identifies project caches where the original project path no longer exists - Expiry-based filtering: Only clean files older than a configurable threshold (default: 30 days) - Surgical ~/.claude.json cleanup: Remove orphan project entries, session metrics, and stale caches from the config file without deleting it - 3-segment preview bar: Visualize what will be cleaned (green), what's matchable but unselected (yellow), and what's kept (red) - Progress bar: Real-time progress tracking during cleaning with per-category breakdown - Persistent preferences: Your selections and settings are saved and restored between sessions - Dry run mode: Preview exactly what would be deleted without touching any files - Protected paths: settings.json, CLAUDE.md, skills/, commands/, agents/, ide/, and credentials.json are never cleaned Cleanable Categories Installation Quick install (Linux / macOS) Or install a specific version: Custom install directory: Via cargo From GitHub Releases Download the latest binary for your platform from Releases, extract, and place it in your $PATH. From source The binary will be at…
Details
- Repository
- GarrickZ2/claude-code-cleaner
- Language
- Rust
- License
- MIT
- Last updated
- 11 May 2026
FAQ
What is Claude Code Cleaner?
Interactive TUI tool to clean up disk space accumulated by Claude Code (~/.claude/) — reclaim GBs from orphaned project caches, old session data, debug logs, telemetry, and stale config entries. It is a session for Claude Code, from GarrickZ2/claude-code-cleaner on GitHub.
How do I install Claude Code Cleaner?
Run cargo install claude-code-cleaner, then follow the setup in the README.
Is Claude Code Cleaner popular?
GarrickZ2/claude-code-cleaner has 49 GitHub stars and 6 forks. It was last updated on 11 May 2026.
More sessions & history
Ccheckpoints
35p32929/ccheckpoints
Automatic checkpoint tracker and web dashboard for Claude Code CLI sessions — Cursor-style history and diffs
Claude Session Tracker
48ej31/claude-session-tracker
Auto-save every Claude Code session to GitHub Projects. Never lose Prompt & Context again.
Claude 3d Frog Office
46d-onworks/claude-3d-frog-office
Claude Code 세션을 개구리·카피바라 직원으로 보여 주는 3D 사무실 · A view-only 3D office that shows each Claude Code session as a frog or capybara employee. Local only, zero dependencies, macOS & Windows.
Argot
52get-tmonier/argot
A statistical code analyzer built from your repository's history.
Claude Qmd Sessions
50wbelk/claude-qmd-sessions
Persistent chat session memory for Claude Code with qmd. Index updates itself via Claude hooks.
Claude Converter
48FredyRivera-dev/claude_converter
A zero-dependency Python module for inspecting and converting coding-agent session files (.jsonl) — Claude Code, Codex, and Pi — into the messages format expected by Hugging Face Transformers.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.