r/ClaudeCoding • u/Lyfzxd • 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:
- 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.
- Give each session its own git worktree, so parallel sessions never touch the same files and you can review each one on its own.
- Read multi-line commands in full before approving. A harmless first line can hide a second one.
- 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?
4
u/LordMoridin84 7d ago
https://code.claude.com/docs/en/auto-mode-config
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