r/ClaudeCode • • 4h ago

Built with Claude I kept jumping between 5 Claude Code sessions to approve stuff, so I built one queue for it

I made this, so take it with that in mind. I usually have 4 or 5 Claude Code sessions going and I was the one slowing everything down, one wants permission for a command, one asks a question, one is done and wants a review, and I'm cycling through tabs. Running with permissions skipped wasn't an option for me because I still want to read what goes in.

Pogon runs each task in its own worktree with your normal claude CLI on your own plan, and every permission ask, question and finished diff goes to one queue where you allow it once, allow it for the rest of the task or decline, with one key. Tasks can also come straight from GitHub or Linear issues and end as pull requests, and if you work with others everyone sees the same queue.

As for how it works with Claude Code: the runner just starts your own claude in headless mode (claude -p with stream-json), one git worktree per task. Permission asks go through --permission-prompt-tool to a small MCP tool the runner serves, so instead of a prompt sitting in some tab I'm not looking at, it shows up in the queue and the session waits for me. It's the same CLI you're already logged into, it never touches your credentials.

Pretty much all of it was written with Claude Code from issues I wrote, and once the queue worked I started running Pogon's own issues through Pogon. I still read every diff before it merges.

Stuff I learned along the way: the model was never the slow part, I was. Most of the time a session was just stuck on a permission prompt I hadn't seen yet. Most asks also repeat within a task (same test command, same package manager), so being able to allow something for the rest of the task got rid of most of the noise without going full skip permissions. And one worktree per task is the only way I got several sessions working on the same repo without them stepping on each other.

The runner is open source (github.com/pogonbuild/runner), it's free on one machine and you can try the demo without signing up: app.pogon.build/demo

How do you all handle this today, do you skip permissions and hope or babysit every session?

1 Upvotes

2 comments sorted by

•

u/AutoModerator 4h 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.

1

u/Fearless_Silver477 2h ago

Nice, the multi-session approval hop is real. Are you catching the prompts via the Notification hook or a PermissionRequest hook? PermissionRequest is handy because you can auto-allow the boring safe stuff right there and only send the risky ones to the queue, which cuts the noise a lot.

One thing we learned building something similar: keep a record of who approved what and when, per session. Once more than one person can approve, "why did this run" comes up fast.

(Founder of SecGuardRail here, we do approvals for Claude Code, Cursor and Codex, so happy to compare notes.)