Agent Awake — Development skill for Claude Code
macOS menu bar app: keep your Mac awake until Claude Code / Codex agents in tmux finish, then sleep.
How to install Agent Awake
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open emretufekci/agent-awake and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Awake does
macOS menu bar app: keep your Mac awake until Claude Code / Codex agents in tmux finish, then sleep.
Alternatives in Development
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
- Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★
- Agent Cat Releases — Agent Cat downloads — a free macOS menu bar and Windows tray app that shows Claude Code, Codex and Gemini CLI 57 ★
README
AgentAwake
A tiny macOS menu bar app that keeps your Mac awake while your **AI coding agents** (Claude Code, Codex, Gemini, Aider, OpenCode, …) are working — in **tmux**, **iTerm2** or **Terminal** — and puts the Mac to sleep when they're done. If an agent hits its usage limit, AgentAwake sleeps until the limit resets, wakes the Mac and types `continue`.
Plain Swift, no dependencies, no Xcode project.
Install
**Homebrew**
brew tap emretufekci/tap
brew trust emretufekci/tap # Homebrew 7+ asks you to trust third-party taps
brew install --cask agent-awake
**From source** (needs Xcode Command Line Tools: `xcode-select --install`)
git clone https://github.com/emretufekci/agent-awake.git
cd agent-awake
./build.sh --install # universal build → ~/Applications, then launches
Requires macOS 11+.
Features
**Wait for agents, then sleep.** Watches agents side by side in:
- tmux panes, iTerm2 and Terminal.app windows. AgentAwake reads the screen:
esc to interruptmeans the agent is working. - Other terminals (Ghostty, VS Code, …). These are judged by CPU only: ≥5 % of one core means working. A working Claude Code uses about 10–15 %; an idle one uses 0–1.5 %.
Once every agent has been idle for a grace period (default 3 min), the Mac sleeps.
- tmux panes, iTerm2 and Terminal.app windows. AgentAwake reads the screen:
**Questions in the menu bar.** When an agent waits for your answer (a permission prompt, a question, `y/n`), the menu bar shows `❓1`, a notification shows the question, and the agent list shows it. A waiting agent counts as idle, so the Mac may still sleep.
**Auto-resume after usage limits.** When Claude Code or Codex hits its 5-hour or session limit, AgentAwake reads the reset time from the screen (`resets 3pm`, `try again in 2 hours 13 minutes`, `try again at 3:45 PM`, …). It sleeps the Mac until then, wakes it and types `continue` into the agent's pane or window.
- Waking from sleep needs
pmset schedule wake, which needs root. *Settings → Allow waking from sleep… (admi
- Waking from sleep needs
Related Skills
macOS Sleep Switch
Free macOS menu-bar app that keeps Codex, Claude Code, OpenCode, and other long-running work awake.
Awake Mac
Mac menu bar app that keeps your laptop running and online away from your desk: Keep awake, Overnight and On t
Clawake
Keep your Mac awake, even with the lid closed. Tiny native menu-bar app for long-running tasks: Claude Code, b
Caff
macOS menu bar app that keeps the Mac awake during long-running agent tasks (Swift + IOKit)
Caffeine
Keep your Mac awake while you work, then let it sleep when your coding agent waits for you.
Relaycat
Run multiple Claude accounts on one Mac. Free, open-source macOS menu bar app to switch Claude Desktop profile
Related Agents
Apple UI Designer
Visual and theme redesigns in current Apple design language (macOS 27 / iOS 26+ Liquid Glass, vibrancy, system
macOS UI Dev
Implements SwiftUI/AppKit changes in the Hoply app target — the menu bar panel, the v2 Dashboard window, comma
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS