Skip to main content

Session Delete

Skill Verified Active

Delete 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.

Purpose

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-sessions

Quality Score

Verified
97 /100
Analyzed about 18 hours ago

Trust Signals

Last commit22 days ago
Stars4
LicenseMIT
Status
View Source

© 2025 SkillRepo · Find the right skill, skip the noise.