Awake — Development skill for Claude Code
Keep your Mac awake with the lid closed - safe by default, built for humans and agents.
How to install Awake
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open crafter-station/awake and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Awake does
Keep your Mac awake with the lid closed - safe by default, built for humans and agents.
Alternatives in Development
- Epic Unblock — Sweep blocked epic issues and reopen anything whose dependencies are closed 243.5k ★
- Nexting — Remote control for Claude Code, Codex, Grok, and Cursor on Mac or PC 1.3k ★
- Maestro Ralph — Closed-loop policy over the canonical Session/Run chain 530 ★
README
awake
Keep your Mac running with the lid closed. Safe by default, built for humans and agents.
[](https://awake.crafter.run)
macOS force-sleeps a laptop when the lid closes, no matter what `caffeinate` says. The only switch that overrides it is `pmset -a disablesleep 1`, which needs root. `awake` wraps that switch with the ergonomics and guardrails it deserves:
- Auto-off timer by default.
awake onkeeps the Mac awake for 1 hour and then restores normal sleep on its own (via alaunchdagent), so a forgotten toggle cannot drain your battery overnight. - One-time passwordless setup.
awake setupinstalls a sudoers rule scoped to exactly two commands (pmset -a disablesleep 1and... 0) - nothing else gets elevated, andawake setup --uninstallremoves it. - Visible state. The menu bar app shows a sun icon plus a live countdown while active, and notifies when the auto-off fires.
- Agent-friendly. Every command supports
--json, output follows a stable envelope, and exit codes are meaningful.
Install
bun install
bun run link:global # builds and links the `awake` command
awake setup # one-time: authorizes passwordless toggling
Usage
awake on # stay awake for 1 hour (default)
awake on 3h # stay awake for 3 hours ("30m", "1h30m", "45" = minutes)
awake on --forever # no timer - until you run awake off
awake off # restore normal sleep now
awake status # current state, timer, battery
Menu bar app
A native SwiftUI menu bar companion (macOS 13+) that drives the same CLI:
./mac/build-app.sh
open mac/dist/Awake.app
- Moon icon: off. Sun icon + countdown (e.g.
42m): the Mac is being kept awake. - Toggle on for 30 min / 1 h / 2 h / until turned off; turn off any time.
- In "forever" mode it reminds you every 30 minutes tha
Related Skills
Goguma
Wakes your Mac for scheduled jobs, holds it awake while long work finishes, and lets it sleep otherwise. Finds
Caffeine
Keep your Mac awake while you work, then let it sleep when your coding agent waits for you.
Omarchy Insomnia
Keeps the machine awake and on the network so long-running Claude Code and other agentic sessions survive. Oma
Detach
Run Codex and Claude Code reliably in the background on macOS—with a native dashboard, persistent tmux session
Drem
A native macOS menu-bar companion that keeps your Mac awake while Codex and Claude Code work.
Agent Caffeine
Keep macOS awake while a CLI coding agent works, and let it sleep when the network dies
Related Agents
Engine Design Review Risk Governance
Before a change you've asked for gets built, checks how the plan could fail, be abused, or break a rule it mus
Skill Boss
Global skills manager Boss for Forge. Maintains the skill registry, attaches default and project-type skill bu
ZeroClaw Android
Run AI agents 24/7 on your Android phone. Native Rust core, 25+ providers (OpenAI, Claude, Gemini, Groq, DeepS