Keep a MacBook working after closing the lid during AI coding tasks

A MacBook can pause long work when the lid is closed. That can interrupt a long compile, a large download, or an overnight AI coding task.

Hold My Lid is presented as an app for keeping the Mac awake while tools such as Claude Code, Codex, OpenCode, Cursor, Gemini CLI, and Aider are still working. It claims to use and , so it checks whether an is actively doing work rather than only checking whether an app is open.

It also includes battery controls, such as stopping at a chosen battery level, running only while plugged in, and respecting . It can turn off the display while the work continues, and it can send a sound and banner notification when the agents finish.

Key points

  • The item focuses on keeping a MacBook running after the lid is closed.
  • Hold My Lid is aimed at people using Claude Code, Codex, Cursor, Gemini CLI, and similar .
  • It claims to detect whether an is actively working, not just whether the app is open.
  • Battery include a cut-off level, plugged-in-only mode, and support.
  • It can switch off the display during work and notify you when the task is done.
Read original