Workflow
CodeClosedOS
Close the lid. Your agents keep going.
Close your MacBook and Claude Code, Codex and other coding agents keep working. CodeClosedOS keeps your Mac awake while they work, lid open or shut, and lets it sleep once they're done.
Apple silicon · macOS 14 or later
Close the lid any time.
While Claude Code, Codex or another agent is working, your Mac stays awake with its lid open or shut. Idle sessions fold away.
Done by morning.
Once they've gone quiet, your Mac sleeps as usual, and CodeClosedOS tells you how long they worked with the lid shut.
Anything else, too.
Keep your Mac awake for an hour, three hours or until you stop it, for renders, downloads or anything else that takes a while.
Allow it once.
Lid-shut mode needs a small helper you allow once in System Settings. Until then, your Mac stays awake with the lid open.
What it does. Coding agents keep working with the lid shut.
Keeps your Mac awake while any of them works, lid open or shut
Lets it sleep once they've been quiet for 5 to 30 minutes, straight away if the lid is shut
Tells you how long they worked with the lid shut
Stops at the battery level you pick, works only on power if you like, and pauses if your Mac runs hot
Spots Claude Code, Codex, Cursor Agent, Gemini CLI, Copilot CLI, OpenCode, Amp, Goose and Aider on its own
Keep your Mac awake for an hour, three hours or until you stop it, for anything else
Switch it on from DynamicIslandOS’s settings, too
Lives in the menu bar, never in the Dock
Good to know.
CodeClosedOS is a free preview, separate from the paid bundle. No activation key is needed. Lid-shut mode uses a small helper you allow once in Login Items & Extensions: it can only switch sleep off and on, and switches it back on if CodeClosedOS quits or your Mac restarts. Everything stays on your Mac.
CodeClosedOS. Try the free preview.
- Apple silicon
- macOS 14 or later