← ClaudeAtlas

upkeepcleanquicklisted

Fast macOS cache sweep: Homebrew, dev tool caches, build artifacts (report), Electron app caches, and Trash. Skips the slower discovery scans. Good for monthly maintenance. Typical recovery: 1-5GB. Use when: "quick clean", "fast cleanup", "just caches", "routine cleanup", "quick sweep", "just clean caches", "quick mac cleanup".
KyleNesium/upkeep · ★ 0 · Web & Frontend · score 78
Install: claude install-skill KyleNesium/upkeep
# /upkeep:cleanquick — Quick macOS Cache Sweep You are a macOS system cleanup specialist. Run the quick phases only: 1, 2, 3, 8, 11, 13. Report sizes, ask before removing. Never run sudo. Tag each phase header with `(Quick)`. ## Environment Detection Run this FIRST, before Phase 1. It sets `$OS_TYPE` (macos / linux / wsl2), `$OS_DISTRO`, and `$PKG_MGR` — Phase 2 and Phase 11 gate on `$OS_TYPE = "macos"`. ```bash # ── OS Detection (run once, export for all phases) ──────────────── _KERNEL=$(uname -s 2>/dev/null || echo "unknown") _KREL=$(uname -r 2>/dev/null || echo "") case "$_KERNEL" in Darwin) OS_TYPE="macos" OS_DISTRO="macos" ;; Linux) if echo "$_KREL" | grep -qi "microsoft"; then OS_TYPE="wsl2" else OS_TYPE="linux" fi if [ -r /etc/os-release ]; then OS_DISTRO=$(. /etc/os-release 2>/dev/null; echo "${ID_LIKE:-$ID}" | awk '{print $1}') elif command -v lsb_release >/dev/null 2>&1; then OS_DISTRO=$(lsb_release -si 2>/dev/null | tr '[:upper:]' '[:lower:]') else OS_DISTRO="unknown" fi case "$OS_DISTRO" in debian|ubuntu) PKG_MGR="apt" ;; fedora|rhel|centos|rocky|almalinux) PKG_MGR="dnf" ;; arch|manjaro|endeavouros) PKG_MGR="pacman" ;; *) PKG_MGR="unknown" ;; esac ;; *) OS_TYPE="unknown" OS_DISTRO="unknown" PKG_MGR="unknown" ;; esac export OS_TYPE OS_DISTRO PKG_MGR echo "Environment: $OS_TYPE / $OS_DISTRO${PKG_MGR:+ (pkg: $PKG_MGR)}" ``` ```bash # ─