hatchmoment. scored by care · not by stars

Vigil

Vigil: macOS menu bar app that keeps your Mac awake only while AI coding runs

When an AI coding agent like Claude Code runs, your Mac may fall asleep and kill the job. Vigil watches the agent’s transcript or hook events and holds a system‑sleep assertion only while work is active, then releases it. It adds safety layers like timeouts, battery guards, and hard caps to avoid runaway awake time. Ideal for developers using local AI agents who need a reliable, privacy‑preserving way to keep their Mac from sleeping.

ai-agentsappkitcaffeinateclaude-codecoding-agentdeveloper-toolsiokitmacosmacos-appmenu-barpower-managementsleepswiftswift6swiftui
View on GitHub →

PerfectoWeb/Vigil