maintaining-macos-health

Featured

Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting. Use when the Mac is full or slow, when a process persistently burns CPU, when a kernel panic / watchdog timeout / vm-compressor-space-shortage / Jetsam event happened, when the user asks to free disk space, audit storage, set up disk/memory/CPU alerts, or restore the same monitoring on a new Mac. Built around Mole (`mo` CLI) for safety guards plus a custom LaunchAgent-based alerter for active warnings. Covers Apple Silicon laptops with heavy AI/Docker workloads. Not for general macOS support, hardware diagnostics, networking issues, GUI / window-manager bugs, Time Machine recovery, or broken app installs.

AI & Automation 149 stars 13 forks Updated today MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Maintaining macOS Health Recovery and prevention playbook for macOS disk and memory crises. Validated against a real watchdog-timeout kernel panic on Apple Silicon caused by `vm_compressor` segments saturated to 100 % with the disk over 90 % full. The same playbook works for routine cleanup or first-time setup on a new machine. ## Table of contents - [When to use](#when-to-use) - [Skill layout](#skill-layout) - [Core mental model](#core-mental-model) - [Standard workflows](#standard-workflows) - [First interactive use: optional disk responses](#first-interactive-use-optional-disk-responses) - [A. "Free space NOW" (incident response)](#a-free-space-now-incident-response) - [B. "Set up alerting" (new machine or first time)](#b-set-up-alerting-new-machine-or-first-time) - [C. Alerter stopped working / making noise](#c-already-have-alerter-but-it-stopped-working--making-noise) - [D. "Uninstall an app cleanly"](#d-uninstall-an-app-cleanly) - [Safety rules (non-negotiable)](#safety-rules-non-negotiable) - [Domain quirks captured](#domain-quirks-captured) - [Outcomes scale](#outcomes-scale) ## When to use Trigger on any of: - Disk free < 20 % or user complains about being out of space - Watchdog-timeout / kernel panic / "no checkins from watchdogd" - New `JetsamEvent-*.ips` with `vm-compressor-space-shortage` - "Mac is slow", swap > 6 GB, sustained Critical memory pressure - A process persistently consumes a core, or the whole machine stays CPU-saturated - User wan...

Details

Author
CodeAlive-AI
Repository
CodeAlive-AI/ai-driven-development
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

maintaining-windows-health

Hands-on playbook for Windows 11 disk cleanup, dev-machine optimization, and proactive health alerting. Use when the PC is full or slow, when a BSOD / Kernel-Power 41 / crash dump / commit-memory pressure happened, when the user asks to free disk space, audit storage, set up disk/memory alerts, or restore the same monitoring on a new PC. Built around native Microsoft-supported tooling (Storage Sense, cleanmgr, DISM, pnputil, vssadmin, wevtutil, powercfg) as the safety floor, a drift-protected HTML cleanup UI, and a Task Scheduler + BurntToast alerter. Covers dev machines with heavy AI/Docker/WSL workloads. Not for general Windows support, hardware diagnostics, GPU/driver troubleshooting, antivirus/malware removal, Windows Update repair, networking, or app-specific performance problems unrelated to disk or memory pressure.

149 Updated today
CodeAlive-AI
AI & Automation Solid

mac-ops

macOS workstation diagnostics: kernel panics, failing drives, launchd startup audit, wake reasons, TCC denials, APFS snapshots. Triggers on: mac is slow, won't boot, kernel panic, login loop, drive failing, launchd, TCC permissions, Full Disk Access, Gatekeeper, sysdiagnose.

42 Updated 1 weeks ago
0xDarkMatter
AI & Automation Listed

macos-maintenance

Periodic macOS maintenance + optimization — read-only health sweep (pending OS/brew updates, disk health + SMART, memory pressure + swap, battery condition, Time Machine recency, Spotlight indexing state, crash/panic reports, uptime, login-item load) -> ok/attention/action report -> confirmed fixes. Use when the user says "maintain my mac", "mac health check", "tune up my mac", "optimize my mac", "run maintenance", "is my mac healthy", "update everything", or wants a periodic once-over. Also covers targeted fixes when a check or the user flags an issue — Spotlight reindex, Launch Services rebuild, DNS/font cache flush, frozen Finder/Dock, runaway process triage. Storage/junk/leftovers/disk-space -> macos-cleanup instead.

6 Updated yesterday
pivoshenko