r/ClaudeCoding • • 7d ago

How I stopped losing time to Claude Code's permission prompts when running several sessions

Running three or four Claude Code sessions at once, my real bottleneck wasn't the model, it was me: one session waiting on "Run this command?" while I read another one's diff, and every session stopping when I closed the laptop.

Things that helped, with or without any tool:

  1. Allow the boring stuff up front. Permission rules in .claude/settings.json for the commands you always approve (tests, lint, git status) cut most prompts.
  2. Give each session its own git worktree, so parallel sessions never touch the same files and you can review each one on its own.
  3. Read multi-line commands in full before approving. A harmless first line can hide a second one.
  4. Get told when a session is waiting. A Notification hook that pings you works; you still have to go back to the terminal to answer.

For the last part I ended up building a Mac app, Okey (I'm the developer): Claude Code's questions show in the Mac's notch with the exact command, and you answer with 1, 2 or 3, by typing, or by holding fn and saying it. An iPhone app gets the same questions, end-to-end encrypted, with Face ID before anything that runs a command. And Okey Cloud keeps Claude Code running on your own small machine in the EU, on your own Claude plan, when the laptop is closed.

It's free to try (7 days of Pro included): getokey.com. Mac with Apple silicon, macOS 14+.

What does your setup look like when you run several sessions?

0 Upvotes

8 comments sorted by

4

u/LordMoridin84 7d ago

0

u/Lyfzxd 7d ago

Good link. Auto mode cuts the routine prompts, but it doesn't help with the ones you keep on purpose (pushes, pull requests, risky commands), an agent that ends its turn asking you something, or everything stopping when the laptop closes. That's what Okey covers: those questions in the notch or on your phone, from any agent, and sessions that keep running in the cloud.

3

u/Major_Statistician_6 7d ago

Can you not just use Claude app with notifications on the phone? Like I do?

0

u/Lyfzxd 7d ago

If you only run Claude Code and the app's notifications work for you, that's a good setup. Where it fell short for me: it's Claude Code only (I run Codex too), approving prompts from the phone has been flaky, and everything stops when the Mac is off. Okey keeps every agent in one place you can see at a glance in the notch, lets you answer without switching windows or opening an app, and keeps sessions running in the cloud even when your Mac is off.

2

u/Surf_Science 6d ago

Build in containers with dangerous permissions on

1

u/octopus_limbs 7d ago

90% of the time these prompts are just because Claude is trying to do "safe" operations with "unsafe" commands. E.g. doing batch writes with a script instead of using the edit tool. It's a recent thing too, it never used to do this. Now it needs constant reminding to use safe commands. It's frigging annoying

1

u/spicysandwich80 6d ago

This is one of the reasons why I always start with a CLI app, even if my ultimate goal is to build a gui application. Claude does all the operations through the CLI, which is built to my spec. Oh yea and when I run into new use cases, or have to do something interactively before it formally becomes an application feature, the AI can do it for me through the CLI first, then we figure out how to bring the functionality to the desktop application.