Clamshell keeps an Apple Silicon MacBook awake with the lid closed, no external display or sudo. 30+ modules, 7-day free trial, then $9.99 one-time.
Researched and fact-checked by Bartu Cavusoglu · Updated November 29, 2026
Clamshell is a macOS menu bar app that keeps an Apple Silicon MacBook awake with the lid closed, without an external display, dock, HDMI dummy plug or sudo. Its tagline is "Close the lid. Keep your agents running," and it is aimed squarely at people who run long jobs on a laptop and want to close it without everything stopping.
What it is
By default, a MacBook goes to sleep when you shut the lid unless it is connected to an external monitor and power. Clamshell changes that. When it is armed, closing the lid only turns off the screen. Coding agents, terminal sessions, builds and downloads keep running, and SSH and screen sharing stay available. When you open the lid again, the Mac wakes as usual. Clamshell is built and maintained by independent developer Matyas Rathonyi.
Who it is for
The app is a natural fit for developers who run AI coding agents such as Claude Code or Codex, people who kick off long builds, renders or large downloads, and anyone who wants to carry a working laptop in a bag or leave it closed on a desk while remote sessions continue. It also suits users who want lid-closed operation without buying extra hardware.
How it works
You hold the Option key and close the lid. The Mac stays awake on AC power or battery, and the screen goes fully dark. On MacBooks without a lid angle sensor, you can arm Clamshell by pressing both Option keys or from the menu bar. The core app needs no kernel extension, driver, privileged helper or sudo. Clamshell requires an Apple Silicon Mac laptop running macOS 14 or later. The Option-close gesture relies on a lid angle sensor, which the developer lists on the 14-inch and 16-inch MacBook Pro (2021 and later) and some newer MacBook Air models.
Key capabilities
Version 2 ships with more than 30 modules, all included in the purchase. Examples include Agent Status and Agent Notifications, Finish Work Then Sleep, Sleep Until Reset (which resumes work when a usage limit resets), Agent Screen, Agent Light, Battery Budget, Low Power While Closed and Fan Boost. Automation modules can arm the Mac on a schedule, on a specific Wi-Fi network, when a drive connects or while a given app runs, and Lid Shortcuts can run your own Apple Shortcut when the lid opens or closes. AI agents can control the app through a URL scheme (clamshell://arm and clamshell://disarm), and you can describe a custom module in a sentence for a coding agent to build.
Safety features are on by default. A low-battery switch lets the Mac sleep at 20 percent, and if macOS reports serious or critical thermal pressure, Clamshell disarms and blocks re-arming until the machine cools. Disarming or quitting returns the Mac to normal lid-close sleep.
Pricing
Clamshell is free for 7 days with no payment details needed, and the trial never converts into a charge. After that it is a one-time purchase of $9.99 for one Mac or $19.99 for up to three Macs, with no subscription and a 14-day money-back guarantee. Version 1 owners upgrade to version 2 free. The app is also available through Setapp and can be installed with Homebrew.
Limitations
Clamshell supports Apple Silicon laptops only, so Intel MacBooks are not covered, and the Option-close gesture does not work on models without a lid angle sensor, such as the M1 MacBook Air and 13-inch MacBook Pro. It is not sold on the Mac App Store, and some optional modules require approving a helper in Login Items. Running a closed laptop for long periods also means paying attention to heat and battery, even with the built-in safeguards.