macOS CLI that keeps your Mac awake with the lid closed on battery, so a local Codex, Claude Code, or Cursor session keeps running.

MoccaFaux is described as 'Flexible scheduler that prevents the activation of screen savers and power-saving modes when certain conditions are met' and is a prevent sleep mode app in the os & utilities category. There are more than 10 alternatives to MoccaFaux for a variety of platforms, including Mac, Linux, Flathub, F-Droid and Flatpak apps. The best MoccaFaux alternative is Amphetamine, which is free. Other great apps like MoccaFaux are caffeinate & disablesleep, Caffeine for Mac, Stimulator and Caffeine for Linux.
macOS CLI that keeps your Mac awake with the lid closed on battery, so a local Codex, Claude Code, or Cursor session keeps running.

Keep your Mac awake only when needed, with a minimal control surface built for focused workflows.




Close the lid. Keep coding. Hold My Lid keeps your Mac awake while Claude Code, Codex, and your other agents finish the job — lid shut, in your bag.

A tiny macOS menu-bar app that keeps your Mac running even with the lid closed — so coding agents (Claude Code, Codex, etc.) keep working while you move around.

ScreenWakeUp is a free, browser-based tool that keeps your screen from sleeping or locking. It uses the modern Screen Wake Lock API — nothing to install, no admin rights, no account. Open it in any browser on Windows, macOS, Linux, ChromeOS, Android or iPhone and click one...
