[FEATURE REQUEST] Queue Command to queue multiple prompts at a type (Similar to v0 feature)
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
Problem Statement
I often need to give Claude Code multiple follow-up tasks while it is still working on the current one. Right now, I have to wait for each task to finish before typing the next prompt. This breaks my flow when I already know the next several steps I want Claude to take, such as fixing errors, adding tests, updating docs, or refactoring related files.
The current workflow requires me to manually monitor Claude Code and enter the next prompt only after the previous task completes. This is inefficient for longer coding sessions and makes it harder to batch related work.
Proposed Solution
run claude
provide a task to claude
promptHere
_then_ /queue promptHere
Alternative Solutions
Proposed Solution\
Add a /queue command that lets users queue multiple prompts to run sequentially after the current task finishes.
Example usage:
claude
Then inside Claude Code:
Fix the failing TypeScript errors
/queue Add tests for the files you changed
/queue Update the README with the new usage
/queue Run the test suite and fix any remaining issues
Claude Code would complete the current prompt first, then automatically execute each queued prompt in order. Ideally, users could also view, remove, or reorder queued prompts.
Possible commands:
/queue <prompt>
/queue list
/queue remove <id>
/queue clear
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
Use Case Example
I am working on a Next.js app with a Node.js backend.
I ask Claude Code to fix a bug in the API route.
While Claude is working, I realize I also want it to add tests, update the README, and refactor a related helper function.
Instead of waiting for each task to finish, I queue the follow-up prompts immediately.
Claude Code completes each task in order using the same session context.
This would save time because I would not need to babysit the terminal between prompts.
<img width="283" height="164" alt="Image" src="https://github.com/user-attachments/assets/8850af3b-ab32-492b-9e63-6aaeda4058e5" />
<img width="283" height="321" alt="Image" src="https://github.com/user-attachments/assets/25cf35e6-9b08-4fcf-b35b-9ca933810ede" />
Additional Context
Additional Context
This would be similar to the prompt queue behavior in v0, where additional prompts can be submitted while the current task is still running. A queue command would make Claude Code much better for longer, multi-step coding sessions while still keeping each task separate and sequential.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗