Back to browse
GitHub Repository
5 starsShell

NoSleepAgent – keep your MacBook awake until your agents finish

by garymiklos·Jun 1, 2026·6 points·1 comment

AI Analysis

●●SolidSolve My ProblemCozy

Agent-aware sleep prevention beats manual caffeine tools for long-running CLI tasks.

Strengths
  • Hooks into agent activity timestamps instead of relying on manual toggles.
  • Daemon reverts sleep settings automatically when idle, preserving battery life.
  • Install script wires up Claude Code and Codex configs without breaking setups.
Weaknesses
  • Only supports Claude Code and Codex, ignoring other long-running agent frameworks.
  • Requires sudo for pmset changes, potentially triggering security warnings on some setups.
Target Audience

Developers using Claude Code or Codex on macOS

Similar To

Amphetamine · caffeinate · Caffeine

Similar Projects