What is Clamshell for Mac?

By Matyas Rathonyi. Updated September 29, 2026. Guides

Clamshell for Mac is a menu bar app that keeps an Apple Silicon MacBook awake with the lid closed, with no external display, no sudo, and no admin rights.

Menu bar appApple Silicon MacBooks, macOS 14 or later
No sudoNo monitor, dummy plug, or admin password
$9.99 onceAfter a 7-day free trial
Locks on openOpening the lid locks the Mac

Clamshell for Mac keeps the Mac awake with the lid closed while armed. No sudo, no monitor. Free for 7 days, then $9.99 once.

Download free trial
A MacBook lid swinging shut like a shell. Once closed with Clamshell armed, the Mac stays awake. awake
Close the lid. The work keeps going.Normally closing a MacBook puts it to sleep. With Clamshell armed, the screen goes dark and agents, builds, and downloads keep running.

Close the lid and the built-in display stays black while coding agents, builds, downloads, and SSH sessions keep running. It is sold at clamshell.dev for $9.99 once after a free 7-day trial, and it is also available on Setapp.

What Clamshell is not

The word "clamshell" means several different things on a Mac, and search results mix them up. This is the app at clamshell.dev. It is not any of the following.

Not Apple's clamshell mode

Apple's clamshell mode keeps a closed MacBook running only while an external display is attached. Without that display, macOS sleeps the Mac as soon as the lid shuts. Clamshell for Mac removes the display requirement. How the two differ.

Not the App Store app of the same name

An unrelated app called Clamshell is listed on the Mac App Store. Clamshell for Mac is sold only at clamshell.dev and on Setapp. Directory listings that describe a "Clamshell" app that puts a Mac to sleep mean that other product.

Not a pmset disablesleep wrapper

Clamshell never runs sudo pmset -a disablesleep 1 and never changes the persistent SleepDisabled setting. Used that command before? The pmset guide shows how to check and undo it.

Not a general keep-awake toolkit

Clamshell does one job: the lid. For timers, triggers, and open-lid sessions, caffeinate or Amphetamine are built for that. The comparison of lid-closed apps says where each fits.

How it works

macOS treats closing the lid as its own sleep trigger, separate from idle sleep. That is why caffeinate does not help once the lid closes. Clamshell addresses the lid trigger directly.

  1. You close the lidmacOS starts its lid-close sleep path, separate from idle sleep.
  2. Clamshell is armedIt tells the power manager to skip lid sleep for this session.
  3. The Mac keeps workingScreen dark, network up, agents and builds still running.

Ways to arm it

Safety

Thermal safety is always on

Clamshell monitors macOS thermal pressure. At serious or critical pressure it disarms toward normal lid sleep and blocks arming until the Mac has cooled.

Normal sleep comes back

Disarming or quitting restores normal lid-close sleep, retries if needed, and warns you if macOS refuses. The setting is never saved across a restart, so restarting always returns normal lid-close sleep.

Crash recovery

The direct edition can relaunch after an unexpected exit when its crash-recovery agent is permitted.

Battery aware

It works on AC and battery and re-applies itself on every plug or unplug. An optional Disarm on low battery setting, off by default, lets the Mac sleep below a level you choose. See the battery guide.

Keep it ventilated. Leave the closed Mac on a desk, not in a bag or on a bed. Software protection does not replace airflow.

Requirements

Apple Silicon Mac laptops on macOS 14 or later. Intel Macs are not supported. The Option-close gesture needs the lid angle sensor listed above; other Apple Silicon MacBooks arm from the menu bar.

Pricing and channels

Try Clamshell for Mac. Free for 7 days, then $9.99 once for one Mac.

Download free trial

Automation

Clamshell has no native Claude Code, Codex, or other agent integration, and it does not detect running agents. You decide when it is armed. Scripts and automations can drive it through two supported routes.

open "clamshell://arm"
trap 'open "clamshell://disarm" || true' EXIT

# your long-running task
claude -p "run the test suite and fix the failures"

The full agent workflow, including a phone Remote Control setup and a test that proves work continues with the lid closed, is in how to keep Claude Code running with the lid closed. For Codex specifically, see keeping Codex running with the lid closed, and for unattended runs, running AI agents overnight on a MacBook.

Who it is for

Clamshell is for people who want a MacBook to keep working after the lid closes and do not want to carry a monitor or manage a system-wide Terminal switch: developers running Claude Code, Codex, or Cursor, long builds and test suites, large downloads, and Macs reached over SSH or screen sharing. If the lid stays open, a free command like caffeinate is enough. If you want a broad keep-awake toolkit or automatic agent detection, compare the options in LidRun vs Amphetamine vs Clamshell and the Amphetamine alternative guide. For the general question, start with how to keep a MacBook awake with the lid closed.

Frequently asked questions

Is Clamshell the same as Apple's clamshell mode?

No. Apple's clamshell mode is built into macOS and keeps a MacBook running with the lid closed only while an external display is attached. Clamshell for Mac is a separate menu bar app that keeps the MacBook awake with the lid closed and no display attached.

Is Clamshell on the Mac App Store?

No. Clamshell for Mac is available from clamshell.dev and on Setapp. An App Store app with the same name is unrelated.

Does Clamshell use pmset disablesleep?

No. Clamshell does not use pmset disablesleep and does not change the persistent SleepDisabled setting. While armed it uses the unprivileged IOKit lid sleep-state control plus an idle-sleep assertion, and it needs no sudo or administrator password.

Is it safe to run a MacBook with the lid closed using Clamshell?

Clamshell's thermal safety is always on: serious or critical thermal pressure disarms it toward normal lid sleep and blocks arming until the Mac cools. The setting never survives a restart, and an optional low-battery cutoff can let the Mac sleep before the battery runs flat. Keep the Mac ventilated; software protection does not replace airflow.

Does Clamshell detect Claude Code or other agents automatically?

No. Clamshell has no agent auto-detection and no native Claude Code or Codex integration. You arm it from the menu bar, with the Option-close gesture, with the clamshell://arm URL, or with its Shortcuts actions.

How much does Clamshell cost?

The direct version is free for 7 days, then $9.99 once for one Mac or $19.99 once for up to 3 Macs. There is no subscription, and every direct purchase has a 14-day money-back guarantee. It is also available on Setapp.

Sources: this page describes Clamshell's own behavior as documented on the homepage FAQ and in the existing guides. Clamshell is the publisher of this page. Apple, Mac, MacBook, and other product names are trademarks of their respective owners.