krishhgg/Insomnia

Menu bar app to keep a Mac awake (lid closed) for a set time

What

A menu bar app that keeps a MacBook awake, lid closed included, for a timed session, then undoes its changes. Experimental; installs a sudoers rule for pmset. Needs macOS 26+ on Apple Silicon.

How to use

ask your coding agent to follow the repo's skills/install-insomnia/SKILL.md, or build from source (./scripts/install.sh). Click the eye icon, enter a duration, press Enter.

Reach for it when

a long agent run must keep going with the laptop closed.