🛠️

Keep Mac coding agents awake with Capsomnia

Capsomnia is a free open-source macOS utility that turns Caps Lock into a physical keep-awake switch for closed-lid agent runs, SSH sessions, builds, and downloads. Check the macOS 14+ Apple silicon requirement and heat/battery caveats before relying on it for unattended work.

Original
Jul 26, 2026
Status & Access
Current access and latest update details.
Access
Free
Updated
Jul 26, 2026, 08:58 AM

Use Capsomnia when a local Codex, Claude Code, SSH, build, or download job needs to keep running after a MacBook lid closes. Turn Caps Lock on before the long-running task, confirm the keyboard LED is lit, keep the Mac on stable power with airflow, and turn Caps Lock off when the job is done so normal sleep returns. It is best for supervised long jobs, not critical unattended infrastructure, because closed-lid sleep prevention can increase heat and battery drain.

Discussion

Sign in to join the discussion and vote on comments.

No comments yet. Start the discussion.
Keep exploring

More from this topic

More in Tools & Apps