Option-and-close arming
Hold Option while closing the lid to keep the Mac awake for that session, instead of triggering normal lid-close sleep.
Clamshell is a menu bar app for Apple Silicon MacBooks that keeps the Mac awake with the lid closed and no external display attached. It helps people run long tasks, coding agents, SSH sessions, and downloads without relying on admin-level sleep settings or extra hardware.
Clamshell is a menu bar app for Apple Silicon MacBooks that keeps the machine awake when the lid is shut. It is intended for cases where macOS would normally sleep, interrupting work in progress.
The app keeps the screen fully dark while the Mac continues running on battery or AC power. According to the source material, it does this without an external display, without sudo or admin access, and without a privileged helper.
Hold Option while closing the lid to keep the Mac awake for that session, instead of triggering normal lid-close sleep.
Clamshell removes the usual macOS requirement for an attached external display, dock, or HDMI dummy plug.
The app is described as a normal menu bar app with no kernel extension, driver, privileged helper, or sudo requirement.
When armed, the built-in display goes dark while the computer continues to run, which preserves battery and hides the screen content.
The app is described as surviving plug and unplug transitions and reapplying itself on each change.
A configurable low-battery switch can put the Mac to sleep below a chosen charge level so overnight work does not drain the battery flat.
Use Clamshell to keep Claude Code, Codex, or similar agents running after the lid is closed, instead of losing the session to sleep.
Leave test suites, builds, renders, or large downloads running while the screen stays off and the Mac continues processing.
Keep SSH and screen sharing reachable while the machine stays awake and on the network.
Run lid-closed without staying plugged in, with the option to sleep automatically if battery charge falls too low.
Use the URL scheme or Shortcuts actions to arm and disarm Clamshell as part of a script or shortcut-driven workflow.
The source says Apple Silicon MacBooks on macOS 14 or later. The Option-and-close gesture requires a lid angle sensor, which the site identifies on MacBook Air M2 (2022) or later and 14-inch / 16-inch MacBook Pro (2021) or later.
No. Clamshell is presented as a way to run a MacBook lid-closed with no external display attached.
Yes. The source says agents, terminal sessions, builds, downloads, SSH, and screen sharing keep running while the lid is closed and the Mac remains awake.
No. The app is described as requiring no sudo, no kernel extension, no privileged helper, and no driver.
Normal lid-close sleep returns after restart because the app’s change is not saved across restarts.