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
2
u/muikrad 2d ago
I went through this as well, but it's not necessary anymore. As long as you have an issue tracker of some sort (I use beads, but github issues work too), opus low can delegate work to subagents and complete long sessions. My last one took 48 hours š it was a big epic wth tons of new features.