A prompt queue for Claude Code. Type /queue … while Claude is busy and the message waits — it runs after the current turn, instead of interrupting it.
Install
$ curl -fsSL https://jinhuang712.github.io/claude-code-queue/install.sh | bash
# restart Claude Code — you now have a bare /queue
Why
A plain message sent while Claude Code is mid-turn is injected at the next tool-call boundary — it interrupts and redirects the running task. But Claude Code holds a recognized slash command until the whole turn ends. claude-code-queue simply registers /queue as one: the native scheduler does the queueing, and the command body tells Claude to run the deferred request unattended.
Multiple at once
Every /queue sent while Claude is busy joins a first-in-first-out line for that session. Each one drains as its own turn, right after the one ahead of it finishes.
No hooks, no daemon, no storage — just a command definition. Press ↑ to edit what's queued (native). See the repo for how it works.