Anti-Sleep Mac Manager

•
6
•

Prevents macOS sleep and display dimming during long-running builds, downloads, and automated workflows using native caffeinate commands.

The Anti-Sleep skill allows Claude to keep macOS systems active and awake during extensive tasks such as compilations, large downloads, and unattended automation workflows. Utilizing Apple's built-in `caffeinate` utility without requiring third-party installations, it manages display and system sleep assertions, supports duration-based or PID-bound tracking, and provides command wrapping for seamless execution. It ensures reliable execution of time-intensive tasks while offering terminal multiplexer integration and simple process monitoring to prevent unexpected system suspension.

Key Features

01Process inspection and assertion monitoring tools via pmset and pgrep
02Configurable sleep prevention flags for idle system, display, and AC power states
036 GitHub stars
04Native macOS caffeinate integration requiring zero third-party installations
05Timed sleep assertions for custom durations from minutes to overnight sessions
06Process-bound wrapping to automatically keep the Mac awake until a build finishes

Use Cases

01Preventing sleep interruptions during multi-hour software builds or package installations
02Keeping the display and system active during large file transfers or data downloads
03Running unattended background automation and testing suites without manual wake-ups