For Claude Code · Codex · Aider

Close the lid.
The agent keeps going.

UnIdle keeps your Mac running while an AI coding agent works — through system sleep, a locked screen, even a shut lid on battery — and tells you the instant one actually needs you.

macOS 14+ · Apple Silicon & Intel · No account required

01

Knows, doesn't guess

An agent waiting on the model burns almost no CPU — so anything that infers "still working" from CPU usage is wrong exactly when it matters most. UnIdle hooks directly into Claude Code's own lifecycle events: it knows the moment a task finishes or needs your permission, because Claude Code told it so — not because of a guess.

02

Never reads your screen or your code

No Accessibility permission, no screen-scraping, no reading what's on your terminal. For Claude Code, UnIdle adds a few lines to your own ~/.claude/settings.json that tell it when a task starts, finishes, or needs you — inspectable, and removed the moment you turn hooks off. For agents without hook support, it falls back to checking whether the process still has a live connection to its model, the same information lsof would give you.

Everything it does, in plain terms

No dashboards to configure. Install it, and it starts working the moment it sees an agent running.

Stays running

Zero-config detection

Watches for Claude Code, Codex, Aider, Gemini, Cursor, and opencode automatically. Nothing to set up.

Lock & leave ⌥⌘L

One hotkey locks your screen and walks away. Locking never pauses a process — only system sleep does, and UnIdle is the thing stopping that.

Lid shut, still running NEW

A one-time, narrowly-scoped permission lets UnIdle keep the Mac fully awake with the lid closed on battery — the one case macOS never allows by default.

Tells you

Real task state

"Working" vs. "waiting for you" — a real signal from Claude Code's hooks, shown live in the menu bar.

Local alerts

Sound, badge, or a full screen flash the instant an agent needs your permission or finishes a task.

Phone push PRO

A notification on your phone when you're away from your desk, via ntfy — no companion app to install.

Respects the Mac you handed it

Locks itself, same as always

Closing the lid still locks your screen instantly, exactly like it would without UnIdle — the Mac just keeps working behind it.

Crash-safe by design

If UnIdle ever quits mid-session, the sleep override reverts itself automatically on next launch. Your Mac is never left stuck unable to sleep.

One-click undo

"Restore all sleep settings" reverts every change UnIdle has ever made to your Mac's power settings, in one step, anytime.

What actually leaves your Mac

Short answer: almost nothing, and only what you turn on.

The core of UnIdle — detecting your agent, deciding when to keep the Mac awake — runs entirely on-device. For Claude Code, that detection comes from hook commands UnIdle adds to your own ~/.claude/settings.json, calling a local server on your own Mac. For agents without hook support, it's a local system call checking whether the process is still talking to its model, the same one behind lsof. No server, no account, no telemetry, for any of that.

Does UnIdle edit my Claude Code config?
Only if you turn on "Task detail via hooks." It adds a handful of hook commands to ~/.claude/settings.json (and any .claude-account* variants) that call a tiny local server on your own Mac — nothing leaves your machine. Turning hooks off removes every line it added.
Does the phone push send my code anywhere?
It's off by default. When you turn it on, the payload is the agent's name and its state — nothing about your code or your prompts. It routes through a randomly generated private topic on ntfy.sh, which is open-source and self-hostable if you'd rather run your own relay.
What about update checks?
UnIdle checks GitHub for new versions, same as most distributed Mac apps. That's the only other network call in the entire app.

Free forever, or unlock Pro

One-time purchase. No subscription, no account required.

Free
$0
forever
  • Agent auto-detect, six tools out of the box
  • Manual keep-awake + lock & leave
  • Battery floor + launch at login
  • Local alerts on finish / needs-permission
Pro · one-time
$9.99
pay once, updates included
  • Lid shut, still running on battery
  • Phone push via ntfy
  • Scheduled deactivation
  • Mouse motion mode
  • Everything in Free

Your next long agent run doesn't have to end at the lid.

Free download. Two minutes to install. No account needed to try it.

Download for Mac — Free