close the lid.
your agents keep working.

A coding agent mid-refactor. An overnight batch. An assistant that lives on your machine. Caps Lock on, and none of them stop.

your mac sleeps 31 seconds after the lid closes.

caffeinate
asleep after 31s
capsy
still running
lid closes31sovernight
$ pmset -g log | grep Clamshell
Sleep  Entering Sleep state due to 'Clamshell Sleep': Using AC (Charge:93%)  31 secs
M1 Pro, plugged in, keep-awake assertion held. It slept anyway.

Only one thing overrides that, and setting it needs root. Capsy ships a small helper for exactly this and nothing else. You approve it once.

it always lets go.

  • 0scaps lock offSleeps normally again.
  • 10scapsy quitsA dead-man's switch in the helper.
  • bootafter a crashAnything left set is cleared.
battery

and before the battery dies

Left running on a train, it hands the Mac back in time to save your work.

%

free, and about the size of a photo.

macOS 14.0 or later·Apple silicon and Intel·2.7M