{"repo":"ihoooohi/claude-code-session-cleaner","free":true,"listed":false,"github":"https://github.com/ihoooohi/claude-code-session-cleaner","clone":"git clone https://github.com/ihoooohi/claude-code-session-cleaner.git","description":"A safe, recoverable terminal session manager for Claude Code — browse, diagnose, clean, and restore conversations.","language":"Shell","stars":102,"topics":["bash","claude-code","cli","developer-tools","linux","local-first","macos","productivity","session-manager","terminal-ui"],"license":"MIT","category":"cli-tools","readme_excerpt":"Claude Session Cleaner A safe, recoverable terminal session manager for Claude Code. No telemetry · No cloud · No database Quick start · Commands · Safety · Contributing English 中文 --- Why ccsc? Claude Code stores conversations as JSONL transcripts under /.claude/projects . Once /resume becomes crowded, manually matching encoded project paths, UUID files, and sibling artifact directories is slow—and one incorrect rm is permanent. ccsc turns that storage into a focused terminal product. It uses the same labels as /resume , protects recently active work, and moves complete sessions into a recoverable local trash. 🛟 Recoverable Transcripts and their derivative artifacts move together. Restore puts both back at the exact original path. 🛡️ Defensive Active sessions, ambiguous UUIDs, restore conflicts, and destructive bulk actions are explicitly refused. ⚡ Scriptable Project scoping, age-based cleanup previews, diagnostics, and JSON output work in terminals and automation. Terminal experience The same engine also powers /delete-session inside Claude Code, where natural selections such as 1 3-5 , all , or all except 2 are resolved and confirmed conversationally. Features - Recoverable local trash with conflict-safe restore and explicit permanent purge - Transcript plus same-UUID subagents , tool results, and memory cleanup - 10-minute active-session guard with a visible ● active status - /resume -compatible label priority: custom title → latest prompt → user message - Safe age pol","default_branch":null,"files":null,"tree":[],"storefront":"/r/ihoooohi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ihoooohi/claude-code-session-cleaner/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}