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 ★
- Maestro Ralph — Closed-loop policy over the canonical Session/Run chain 530 ★
- Lid — Linked-Intent Development - a SDD methodology for agentic coding 100 ★
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
Clawake
Keep your Mac awake, even with the lid closed. Tiny native menu-bar app for long-running tasks: Claude Code, b
Agent Mode
Keep a MacBook awake for coding agents, lid open or closed, with automatic safety pauses
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.
Agents Sleep Preventer
Keep your Mac awake while Claude Code or Codex is working
Koffeelid
Close the lid, the work goes on. A macOS menu-bar app that keeps a MacBook awake with the lid shut, on its own
Related Agents
macOS System Operator
Mac housekeeping and CLI operations — installing tools (brew/npm/curl installers), logins that open a browser,
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
Fact Assumption Analyst
Performs preliminary legal triage before the main research plan. Identifies missing facts, legal variables the