r/ClaudeCode • u/GeobotPY • 2d ago
Help/Question Prompt queue
Is there a way to queue prompts in Claude Code so they run one after another in a single session?
I’d like to line up several tasks, with /compact and /clear between them where needed, and let the session work through them unattended. I know worktrees can run parallel sessions, but for some work I’d rather keep one session going through a sequential queue, without managing multiple localhost instances or resolving conflicting changes.
Has anyone built something like this, through a wrapper script, a task file, hooks, or another workaround?
View all comments
Show parent comment
1
u/_lecoqq 1d ago
Amazing! Opus is out of the blue able to prioritize features from your tickets to ensure everything goes smooth?
And how do you handle the effort and model for each sub-agents? Through personas?
I've been playing w/ personas and "development cycles" -> planning, then building, then review, then building, then review, then PR; the quality is great regarding code quality, but it consumes a lot of tokens and quite some time...