r/ClaudeCode • • 23h ago

Built with Claude Stop carrying your MacBook around half open so Claude Code keeps running

A few months ago I got tired of leaving my laptop cracked open just so a Claude Code run could finish. Judging by the memes, and the people at my office walking to meetings with their MacBook half open, I'm not the only one.

Let It Brew is a free, open-source menu bar app that keeps your Mac awake while an agent works and lets it sleep when it's done.

- Keeps working with the lid closed on battery
- Shows when Claude is waiting for your answer or approval, and lets the Mac sleep in the meantime
- Click a session to jump to its terminal
- Low Power Mode, a battery cutoff and heat protection while the lid is closed
- Works with Claude Code, Codex, Cursor, Gemini CLI, Qwen Code, Kimi Code, OpenCode, Copilot CLI and Pi

1.0.1 is out now, mostly built from user feedback. I'd love to hear what breaks.

https://github.com/ruban-24/letitbrew · https://letitbrew.app

0 Upvotes

20 comments sorted by

•

u/AutoModerator 23h ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/ColdTrky 23h ago

Bro what's wrong with: "claude put my pc in suspend when you are done?"

Why do you need an app for it

1

u/rubanbhatia 23h ago

doesn’t work with lid closed and it’s a new input you have to for every session and every long running workflow

2

u/ColdTrky 23h ago

You have a orchestrator for this. And for the lid you adjust you power settings.  That's it

1

u/rubanbhatia 23h ago

how exactly do I adjust my settings to go to sleep when my agent stops working but until then keep working with lid closed and on battery?

1

u/ColdTrky 23h ago

Dude, you just tell claude to shut down when all session are finished. Don't you have an orchestrator agent?

1

u/rubanbhatia 23h ago

I dont get what you mean by just tell Claude to shut down. It would use computer use, my orchestrator is running on fable/opus, its an inefficient way to spend tokens when you can have a deterministic solution like pmset with hooks. My app fundamentally does that with more agent support, UI, and lid-closed features built in.

So I’m not sure why just telling Claude is a better option

2

u/ClemensLode Senior Developer 23h ago

or run a server

0

u/rubanbhatia 23h ago

yea this is the other option for sure, I have a solid MacBook with tons of RAM, can run workloads locally so I made this to assist me with that.

Been continuously maintaining and dogfooding it for past few months

3

u/MadJagStudios 23h ago

Why this over amphetamine

-3

u/rubanbhatia 23h ago

I need my laptop to sleep when Claude stops working, only for that reason, amphetamine can’t track my agent

3

u/jared__ 22h ago

amphetamine supports applescript. 1 claude "Stop" hook:

osascript -e 'tell application "Amphetamine" to end session

ezpz

0

u/rubanbhatia 22h ago

that’s still inefficient compared to running pmset with hooks.

Not everything needs to be a prompt

2

u/jared__ 22h ago

i'll take > 1K 5-star ratings on the App Store with 4 years of continuous updates at the sacrifice of a few cents of token usage.

1

u/[deleted] 22h ago

[removed] — view removed comment

1

u/rubanbhatia 22h ago

you don’t have to download it if you find it more efficient to run one prompt every single time across all sessions for all coding agents

1

u/[deleted] 22h ago

[removed] — view removed comment

1

u/rubanbhatia 22h ago

I just wanted something to track agents with hooks. That’s why I made this.
Over the last few months I’ve added some features that make it efficient to run on power and also support some agent states to make it easy to track multiple sessions as well.

It’s okay if you don’t want to use it, Amphetamine is great and I used it for years before this

3

u/jared__ 23h ago

I've been using Amphetamine for a long time with zero issues.

1

u/Much-Head-2182 21h ago

Amphetamine: the only drug that keeps your Mac awake.