Close the lid.
KeepGoing keeps a Mac awake and online for Claude Code and Codex — reachable from your phone with the lid shut.
Try it
Lid closed, on battery
SleepDisabled 1 — still running
What it does
Override lid-closed sleep?
InstallCancel
- Download, drag to Applications.
-
Not notarised yet.
xattr -d com.apple.quarantine /Applications/KeepGoing.app - Click → Keep awake with lid closed.
$ ioreg -r -k AppleClamshellState -d 4 | grep State
"AppleClamshellState" = Yes # lid closed
$ pmset -g | grep SleepDisabled
SleepDisabled 1 # still running, on battery
macOS 26, on battery — replied via Claude Code from a phone.
Hot in a bag?
With lid mode on, closing the lid turns on Low Power Mode and moves agents to the efficiency cores, and warns you if it still gets hot. Keep it on a hard surface.
Battery?
2–5 h awake; at 23:00 it asks whether to run overnight (no answer means sleep), and below 25% on battery it releases everything. Sleep returns 5 min after agents stop.
My keys / code?
Never touched; it only watches process names, power, and network.
Why a password?
Only root can override lid sleep; the rule allows four pmset commands and nothing else.
Free, MIT. If it saved your trip, buy me a coffee.