Built
Double Shot keeps your Mac awake, with the lid closed too

Double Shot

Keeps your Mac awake while your AI agents work, with the lid closed too.

PlatformmacOS 14+
PriceFree
LicenseMIT
Version1.0.4

You start a long Claude Code run, close the lid, put the Mac in your bag, and the work stops. Most keep-awake apps only stop idle sleep, and the ones that handle a closed lid don't know when your agents are done.

So I built one that does both. It lives in the menu bar as a small mug: empty when it's off, full when it's keeping your Mac awake.

What it does

  • Stays awake while Claude Code, Codex, Gemini CLI, Cursor Agent and others are working, and lets go a few minutes after they stop.
  • Keeps going with the lid closed, on battery too. When the work is done, it puts the Mac to sleep.
  • Looks after the Mac in your bag: stops when it gets warm, turns the display off and switches on Low Power Mode.
  • Or just the simple thing: pour 15 minutes, 2 hours, or until you turn it off.

A look inside

The panel: pick 30 minutes and the glass fills
The welcome window that walks you through setup

Install

One line with Homebrew, or download the zip from GitHub and move it to Applications.