clean-sessions

Community

Clear Claude Code clutter with session cleanup.

Authorjstoobz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps users keep Claude Code workspace clean by removing outdated or unused sessions from the resume picker, reducing clutter and confusion.

Core Features & Use Cases

  • Discover and classify Claude Code sessions by age, activity, and naming to identify candidates for cleanup.
  • Interactive per-category selection with safe, auto-selected cleanups and a dry-run preview before any deletion.
  • Preserve important artifacts (memory files and project metadata) while deleting only the raw transcripts and per-session directories.

Quick Start

Run the cleanup script to start the interactive session management:

  • python3 ~/.claude/skills/clean-sessions/scripts/clean-sessions.py You can optionally target a specific project with --project PATH or preview changes with --dry-run.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clean-sessions
Download link: https://github.com/jstoobz/dotfiles/archive/main.zip#clean-sessions

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.