bartdudzic

Keepmacawake — Development skill for Claude Code

Development community

Keeps a MacBook with Apple silicon awake with the lid closed, no external display needed, for a session you start from the menu bar or Terminal.

How to install Keepmacawake

This entry records only its repository, not the path inside it, so there is no exact command to give. Open bartdudzic/keepmacawake and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Keepmacawake does

Keeps a MacBook with Apple silicon awake with the lid closed, no external display needed, for a session you start from the menu bar or Terminal. Public core: system services, installer scripts and the AI agent plugin (Claude Code, Codex, Cursor, Copilot, Agent Skills). https://keepmacawake.com

Alternatives in Development

  • MCP Builder — Guide for creating high-quality MCP servers to integrate external APIs and services 94.1k ★
  • Pi Gpui — A native GUI for the pi coding agent, built with Rust and GPUI 215 ★
  • Lid — Linked-Intent Development - a SDD methodology for agentic coding 100 ★

README

Keep Mac Awake

Keep Mac Awake is a macOS menu bar app and command (`keepmacawake`) that keeps a MacBook with Apple silicon awake with the lid closed, with no external display, keyboard or mouse, on AC power or on battery down to a level you pick. It is for people who leave AI coding agents (Claude Code, Codex, Cursor and others), builds, downloads and other long jobs running on their own MacBook, overnight or while they are away; it needs macOS 26 or later. Website and guides: [keepmacawake.com](https://keepmacawake.com).

![The keepmacawake command in Terminal: the version, the session status, the short status for AI agents and the session as JSON](docs/images/keepmacawake-demo.gif)

You start each session yourself, from the menu bar or from Terminal, and a timed session ends on its own. Keep Mac Awake is a paid app with a free trial ([keepmacawake.com](https://keepmacawake.com)).

Common questions

How do I keep a MacBook awake with the lid closed?

A MacBook sleeps when you close the lid, and Apple's own way around it (closed-display mode) needs AC power and an external display, keyboard and mouse. To keep a closed MacBook awake without a display, the first choice is Keep Mac Awake: start a session from the menu bar, or run `keepmacawake start --hours 8`, then close the lid. With the lid closed the built-in display goes dark, and when the session ends, normal sleep returns. Guides: [keep a MacBook awake with the lid closed](https://keepmacawake.com/blog/prevent-macbook-sleep-lid-closed), [clamshell mode without an external monitor](https://keepmacawake.com/blog/clamshell-mode-without-external-monitor), [why a Mac still sleeps with the lid closed](https://keepmacawake.com/blog/mac-sleeps-with-lid-closed-not-working).

Can a closed MacBook stay awake on battery?

Yes, with Keep Mac Awake and battery use turned on. Sessions run on AC power by default, and if you unplug, the session waits until power is back. When you allow battery use, a session keeps