Insomnia
AppTimed macOS awake sessions
Use it when you need your Mac to keep coding agents running with the lid closed
A macOS menu bar app that keeps a Mac awake for a timed session and pauses other apps while the lid is closed.
Added to the shelf
From the makersREADME, read 28 Oct
Insomnia is a macOS menu bar app that keeps a MacBook awake for a timed session, including with the lid closed. Its maker describes it as an eye icon with no Dock icon and no main window. During a session it can freeze listed apps, mute audio, and turn on Low Power Mode when the lid closes, and it records each change to a recovery journal so it can undo them. The makers call it experimental and say a running timer is not a safety guarantee.
Install
Install the latest stable Insomnia release by following https://github.com/krishhgg/Insomnia/blob/main/skills/install-insomnia/SKILL.md. If a step needs my password, give me the command to run in Terminal.Commands
git clone --branch v<version> --depth 1 https://github.com/krishhgg/Insomnia.gitClone the latest stable release
./scripts/install.shBuild and install the app, agent and sudoers rule
open "$HOME/Applications/Insomnia.app"Launch the menu bar app
./scripts/uninstall.sh --purge
How creators use it1 take
- @alassafi.aiInstagram, 5 Nov
Keeps Claude Code running with the lid closed by setting a timed awake session.
Clone the Insomnia repository at a stable release tag.
git clone --branch v<version> --depth 1 https://github.com/krishhgg/InsomniaEnter the cloned folder.
cd InsomniaRun the install script.
./scripts/install.shOpen the installed app.
open "$HOME/Applications/Insomnia.app"Click the eye in the menu bar, enter days, hours and minutes, and press Enter to start a session.
Close the lid and let the agents keep running until the timer ends.
Safety checkLooks safe, SkillSpector, 28 Oct
Nothing it found held up when its AI check looked closer.
SkillSpector’s own score is 10/100 from 2 findings; only the ones its AI check confirmed count here.
