Session Delete
Skill Verified ActiveDelete a Claude Code session file, with optional cleanup of associated task lists and tasks. Warns about orphaned tasks before deleting. Use when the user says "delete session", "remove session", or wants to clean up a specific session.
To provide a safe and controlled way to remove old or unwanted Claude Code session files and their related tasks, preventing accidental data loss.
Features
- Delete Claude Code session files
- Optionally delete associated tasks
- Warn about orphaned tasks
- Preview deletion content and file path
- Require explicit user confirmation
Use Cases
- When the user says 'delete session' or 'remove session'
- When a specific session needs to be cleaned up
- To free up disk space by removing old session data
- To manage task lists by removing them along with sessions
Non-Goals
- Automatically deleting sessions without confirmation
- Deleting files outside of the specified Claude Code session directories
- Managing tasks unrelated to Claude Code sessions
- Recovering deleted sessions
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".
Treat
100Prune bloated session with a prescription. Removes progress ticks, stale reads, duplicate content, and more.
File Organizer
99Intelligently organizes your files and folders across your computer by understanding context, finding duplicates, suggesting better structures, and automating cleanup tasks. Reduces cognitive load and keeps your digital workspace tidy without manual effort.
Session Cleanup
99Finds 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.
Validate Plugin
100Validate a Claude Code plugin structure, frontmatter, and MCP tool references