CL

Close Your Laptop

Let Claude or Codex keep working with the lid closed, then let the Mac sleep.

Download
System
macOS 13+
Watches
Claude, Codex
Mode
Menu bar
Goal
Battery-first sleep

About

A narrow keep-awake helper for active AI coding work.

Close Your Laptop is a tiny macOS menu-bar app for the moment when an agent is still working but the MacBook needs to be closed. It watches for active Claude and Codex sessions, holds sleep only while that work is real, and releases the hold as soon as the run is done.

Screen

Awake only while work is active.

The menu-bar surface is built around the current assertion state, detected agent work, watcher setup, and the closed-lid helper.

Shown Representative screen preview of the Close Your Laptop menu-bar state and helper controls.

How

Close the lid. Keep the run honest.

  1. Install the app, then start a Claude or Codex session for real project work.
  2. Use Preferences to install the tiny watcher or closed-lid helper when that workflow needs it.
  3. Close the MacBook while the agent is active; the menu item reports whether sleep is being held.
  4. When the agent finishes, Close Your Laptop releases the hold so macOS can sleep again.

Support

Support starts with power state, helper state, and redacted diagnostics.

Closed-lid sleep behavior depends on macOS power assertions, battery state, app activity, and whether the helper is installed. Useful reports should show those facts without exposing project names, tokens, prompts, or private logs.