Skip to content

Add cleanup command to free disk space#1

Merged
chitcommit merged 2 commits intomainfrom
claude/clean-local-code-011CUNzuvHdoSrMWJnYLzu4Q
Oct 23, 2025
Merged

Add cleanup command to free disk space#1
chitcommit merged 2 commits intomainfrom
claude/clean-local-code-011CUNzuvHdoSrMWJnYLzu4Q

Conversation

@chitcommit
Copy link
Copy Markdown
Collaborator

Added new cleanup functionality to the Storage Management Daemon:

  • New 'cleanup' command in CLI tool
  • Standalone cleanup script that:
    • Cleans cache directories (user cache, NPM, Yarn)
    • Removes old log files (>30 days)
    • Cleans old downloads (>30 days)
    • Removes temporary files (>7 days)
    • Removes empty directories
    • Identifies large files for manual review

Successfully freed 270.48 MB in initial cleanup run.

Generated with Claude Code

Added new cleanup functionality to the Storage Management Daemon:
- New 'cleanup' command in CLI tool
- Standalone cleanup script that:
  - Cleans cache directories (user cache, NPM, Yarn)
  - Removes old log files (>30 days)
  - Cleans old downloads (>30 days)
  - Removes temporary files (>7 days)
  - Removes empty directories
  - Identifies large files for manual review

Successfully freed 270.48 MB in initial cleanup run.

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Created comprehensive Mac cleanup script that:
- Removes CloudKit temporary files (~50GB)
- Cleans Claude logs and debug files (~3-4GB)
- Removes old Messages videos (>90 days, ~10GB)
- Cleans browser caches (Chrome, Safari)
- Removes chittychat overlay state
- Finds old downloads for review
- Provides before/after disk usage reports

Safe to run - prompts before deleting user content.

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@chitcommit chitcommit merged commit 0a20f29 into main Oct 23, 2025
5 of 13 checks passed
@chitcommit chitcommit deleted the claude/clean-local-code-011CUNzuvHdoSrMWJnYLzu4Q branch October 23, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants