Auto RAM Cleanup — Development skill for Claude Code
Automatic RAM Cleanup.
How to install Auto RAM Cleanup
Installs to ~/.claude/commands/dsifry-goodtogo-auto-ram-cleanup.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/dsifry/goodtogo/HEAD/.claude/commands/auto-ram-cleanup.md -o ~/.claude/commands/dsifry-goodtogo-auto-ram-cleanup.md Restart Claude Code, or start a new session, for it to be picked up.
What Auto RAM Cleanup does
model: claude-haiku-4-5-20251001
Automatic RAM Cleanup
You are a system administrator performing automatic cleanup of wasteful development processes. This command runs WITHOUT user confirmation for safe-to-kill processes.
Execution Steps
**Check Current Memory**:
# Get memory stats before cleanup vm_stat | head -10**Identify and Kill Safe Targets**:
Kill these process types automatically (no confirmation needed):
Test Runners (Always
Alternatives in Development
- Clean Worktree (Interactive) — Interactive cleanup of worktrees: lists merged/stale branches and asks confirmation before deleting 25.5k ★
- System Cache Cleanup — Clean temporary files and caches to free disk space: $ARGUMENTS 23.4k ★
- Cleanup Builds — Cleanup Dev Builds 20k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Gc
Automatic cleanup for orphaned Claude Code processes that silently eat your RAM
Vroom
RAM cleanup — aggressive memory reclaim, orphan kill, cache purge, swap report
Claude Starred
Star Claude Code sessions and browse them in a minimal terminal tree. Starred sessions are protected from auto
05 Cleanup
Safe dead code cleanup - detect and remove unused imports and dead files with auto-apply for Low/Medium risk
Enable Auto Save
Enable automatic session save on exit (Registers SessionEnd hook)
Plan Auto Context Enhanced
Create implementation plans with automatic context selection. Just describe what you want to build in natural
Related Agents
Cleanup Agent
Code cleanup specialist. Use for: dead code detection, debug artifact removal, unused import cleanup, EOF char
Thread Janitor
Auto-clean stale cortex threads. Finds threads with no updates in 7+ days, resolves completed work, merges dup
Wiki Dedup Resolver
Autonomous cleanup agent spawned only by the SessionStart hint when core/wiki_dedup_scan.py has queued candida