Agents Sleep Preventer — Development skill for Claude Code
Keep your Mac awake while Claude Code or Codex is working.
How to install Agents Sleep Preventer
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open CharlonTank/agents-sleep-preventer and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agents Sleep Preventer does
Keep your Mac awake while Claude Code or Codex is working.
Alternatives in Development
- Contributing To Auto-claude-code-research-in-sleep (aris) — English 中文版 Thank you for your interest in contributing to ARIS 3.1k ★
- Nexting — Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC 1.3k ★
- Scopey — Keep Claude/Codex/Grok/Pi/OpenCode sessions on scope 126 ★
README
☕ Agents Sleep Preventer
Keep your computer awake while coding agents are working
**Sleep prevention and local voice dictation on macOS and Windows.**
[](https://github.com/CharlonTank/agents-sleep-preventer/releases/latest/download/AgentsSleepPreventer-5.0.6.dmg)
  [](https://opensource.org/licenses/MIT) [](https://github.com/CharlonTank/agents-sleep-preventer/releases)
The Problem
You ask your coding agent to refactor your codebase. It's going to take 10 minutes. You close your MacBook lid to grab coffee...
**💀 Mac sleeps. The agent stops. Work lost.**
The Solution
Install this tool. Your computer stays awake while your agent works; normal sleep resumes when it finishes. On macOS, it can also keep working with the lid closed and provides local speech-to-text dictation. Windows prevents automatic idle sleep and respects the configured lid and power-button actions.
| Before (macOS) | After (macOS) |
|---|---|
| 😴 Lid closed = Mac sleeps | ☕ Lid closed = agent keeps working |
| 🔄 Come back to interrupted work | ✅ Come back to finished work |
Features
Sleep prevention while supported coding agents are active, on macOS and Windows
A macOS menu bar app or Windows tray app, with automatic and manual sleep controls
Local voice dictation with a customizable hotkey: hold Fn+Shift on macOS, toggle Ctrl+Alt+Space on Windows
Two dictation engines: Whisper (best accuracy, custom vocabulary) or Parakeet v3 (near-instan
Related Skills
Caffeine
Keep your Mac awake while you work, then let it sleep when your coding agent waits for you.
Agents Dont Sleep
Close the lid, let your agents cook. A tiny tray app that keeps your laptop awake (lid shut, in your bag) only
Goguma
Wakes your Mac for scheduled jobs, holds it awake while long work finishes, and lets it sleep otherwise. Finds
Agent Caffeine
Keep macOS awake while a CLI coding agent works, and let it sleep when the network dies
Drem
A native macOS menu-bar companion that keeps your Mac awake while Codex and Claude Code work.
Awake
Keep your Mac awake with the lid closed - safe by default, built for humans and agents
Related Agents
9remote
Long-running AI coding sessions keep working after you leave the desk, but checking on them from a phone usual
Kill Existing Server On Port
lsof -ti:{PORT} xargs kill -9 2>/dev/null true {DEV_SERVER_CMD} & sleep 3
CI Monitor
Monitor CI status and PR comments with sleep/check loops. Use this agent after PR creation to watch for issues