CharlonTank

Agents Sleep Preventer — Development skill for Claude Code

Development community

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

README

☕ Agents Sleep Preventer

Keep your computer awake while coding agents are working

**Sleep prevention and local voice dictation on macOS and Windows.**


[![Download DMG](https://img.shields.io/badge/Download-DMG%20Installer-blue?style=for-the-badge&logo=apple)](https://github.com/CharlonTank/agents-sleep-preventer/releases/latest/download/AgentsSleepPreventer-5.0.6.dmg)


![macOS](https://img.shields.io/badge/macOS-000000?style=flat&logo=apple&logoColor=white) ![Rust](https://img.shields.io/badge/Rust-000000?style=flat&logo=rust&logoColor=white) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![GitHub release](https://img.shields.io/github/v/release/CharlonTank/agents-sleep-preventer)](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