Session Cleanup
Skill Verified ActiveFinds old, empty, or tiny Claude Code session files that are candidates for deletion. Use when the user wants to clean up sessions, free disk space, says "clean up old sessions", or asks about session storage usage.
To help users clean up disk space and manage their Claude Code session history by identifying and safely removing unneeded session files.
Features
- Finds old, empty, or tiny session files
- Lists and presents session candidates for deletion
- Deletes sessions and associated task lists upon confirmation
- Checks for and allows deletion of orphaned task lists
- Provides safety guidelines and explicit user confirmation for deletions
Use Cases
- When the user wants to clean up Claude Code sessions
- When the user needs to free up disk space
- When the user asks about session storage usage
- To audit and manage the history of Claude Code sessions
Non-Goals
- Automatically deleting sessions without user confirmation
- Modifying session content
- Managing sessions for tools other than Claude Code
- Performing any actions without explicit user consent
Installation
First, add the marketplace
/plugin marketplace add apappascs/claude-code-sessions/plugin install claude-code-sessions@claude-code-sessionsQuality Score
VerifiedTrust Signals
Similar Extensions
Guard
100Protect Claude Code sessions from context overflow by running a background daemon that monitors session size and auto-prunes before compaction hits. Use when the user says "guard", "protect session", "context getting long", "prevent compaction", "session management", or is running agent teams that need continuous context protection.
Session Export
100Exports a Claude Code session as a clean, readable markdown transcript. Use when the user wants to export a session, create a transcript, save session history to a file, or says "export this session".
Trader Regime
100Detect current market regime using npx neural-trader — bull/bear/ranging/volatile classification with recommended strategy
Treat
100Prune bloated session with a prescription. Removes progress ticks, stale reads, duplicate content, and more.
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references
Running Claude Code Via Litellm Copilot
100Use when routing Claude Code through a local LiteLLM proxy to GitHub Copilot, reducing direct Anthropic spend, configuring ANTHROPIC_BASE_URL or ANTHROPIC_MODEL overrides, or troubleshooting Copilot proxy setup failures such as model-not-found, no localhost traffic, or GitHub 401/403 auth errors.