cleanup

from vapvarun/claude-backup

Personal backup of Claude Code skills and plugins

5 stars0 forksUpdated Jan 26, 2026
npx skills add https://github.com/vapvarun/claude-backup --skill cleanup

SKILL.md

Claude Code Weekly Cleanup

Performs maintenance cleanup of safe-to-delete Claude Code files.

What Gets Cleaned

DirectoryPurposeSafe to Delete
~/.claude/debug/*Debug logsYes
~/.claude/shell-snapshots/*Shell state snapshotsYes
~/.claude/todos/*Old todo list filesYes

Cleanup Process

  1. Show current disk usage before cleanup
  2. Remove safe-to-delete files
  3. Show disk usage after cleanup
  4. Report space freed

Execute Cleanup

Run these commands:

# Show before size
echo "Before cleanup:"
du -sh ~/.claude/

# Clean safe directories
rm -rf ~/.claude/debug/* ~/.claude/shell-snapshots/* ~/.claude/todos/*

# Show after size
echo "After cleanup:"
du -sh ~/.claude/

What Is NOT Cleaned (Important Data)

  • projects/ - Session data and history
  • plugins/ - Installed plugins
  • skills/ - Your custom skills
  • history.jsonl - Conversation history
  • settings.json - Your settings
  • CLAUDE.md - Global instructions

Repository Stats

Stars5
Forks0