Dossier
pmset
Coverage of pmset in the Nexus archive.
- Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work
Adrafinil is a macOS tool that prevents laptops from sleeping when the lid is closed, specifically while AI agents like Claude Code or Codex are active. It uses pmset commands to block sleep only during agent activity, resumes sleep when tasks complete, and includes features like a status indicator and manual control via an optional MCP. The app is open-source under the MIT license and notarized.