anti-sleep

Installation
SKILL.md

Anti-Sleep (macOS caffeinate)

Use the bundled launcher from this skill directory. It creates a one-shot user LaunchAgent using only built-in macOS tools.

Required workflow

Never launch caffeinate with raw &, nohup, disown, or launchctl submit. Temporary execution shells can kill their descendants, and launchctl submit can restart a timed job.

Resolve scripts/anti-sleep.sh relative to this SKILL.md; never assume the user's current directory. Run:

  1. Inspect current state:
scripts/anti-sleep.sh status
  1. If another session is active, do not replace it without consulting the user. Otherwise start a timer:
Installs
97
GitHub Stars
2.7K
First Seen
Jul 5, 2026
anti-sleep — davidondrej/skills