Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By galElmalahv0.4.4MITIn 2 marketplaces
A prompt typed while Claude is working is held in a stack above the prompt instead of landing in the running turn, and sent once the turn ends. Reorder the stack, edit a row in place, send one first, remove one, flush the lot. Needs function hooks (early access) and an interactive terminal.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Send the queue as one promptjoined
When the turn ends, send every held prompt as a single message, entries separated by a blank line, instead of one turn per entry.
booleandefault false
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs commands; reads or rewrites your prompts; sends prompts on its own.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
2 marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
/q <text> while Claude is working: the text does not land in the running
turn. It waits in a stack drawn above the prompt box and goes out once the
turn has ended, one after the other, in the order you queued them — or the
order you put them in, the stack being a thing you can reorder, edit and
prune while the turn runs. Enter alone is untouched: a line typed without
/q goes into the turn the way it always did.
⏺ Reading hooks/register.ts …
╭──────────────────────────────────────────────────────────────────────────╮
│queued · 2 · sent when the turn ends │
│1 also update the README [ ↓ ] [ ▶ ] [ edit ] [ ✕ ] │
│2 then run the e2e suite [ ↑ ] [ ▶ ] [ edit ] [ ✕ ] │
│[ clear ] │
╰──────────────────────────────────────────────────────────────────────────╯
❯
Stock Claude Code delivers a mid-turn message into the turn, beside the
next tool result, so the model reads it halfway through work it has not
finished. A /q line is held instead: the turn ends on the thing it was
asked, and your next thought starts a turn of its own. A turn that ends with
work still running in the background (subagents, a backgrounded shell) is a
pause, not an end: the stack waits for the notification that wakes the
session, and goes out once that turn ends with nothing left running.
[ ▶ ] (and /q now <n>) is the way back in for the one that will not wait:
the entry leaves the stack and rides the running turn's next tool result as
context, the way a mid-turn message arrives. It waits in the band, marked
▶ … waiting for the next tool call, until a tool call carries it, with a
line in the transcript at the press and another when it goes in; a turn
that calls no tool sends it first of all when it ends. A turn that is only
streaming text has no tool call coming: Esc ends it, and the entry goes out
as the next prompt. With nothing running
[ ▶ ] is what it always was: to the front, and out at once.
A mod: a plugin built on Claude Code function hooks, TypeScript that runs inside Claude Code's own process. Early access, so it needs the environment variable below and the API can change between releases.
CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.claude -p.Turn function hooks on, in ~/.claude/settings.json:
{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }
Load the plugin from a clone:
git clone https://github.com/galElmalah/claude-mods
cd claude-mods
claude --plugin-dir claude-queue
Or install it from the repository's marketplace, gal-mods:
claude plugin marketplace add galElmalah/claude-mods
claude plugin install prompt-queue@gal-mods
Ask Claude for something slow, then type /q and your next message and
press Enter. It appears in the band instead of in the turn.
Upgrading from claude-queue@claude-mods? Follow the
migration instructions.
| command | what it does |
|---|---|
/q | lists what is held, and ends with the status line |
/q <text> | holds text until the turn ends; sent at once when nothing runs |
/q /<command> | holds a slash command the same way, and runs it when its turn comes |
/q up <n> | down <n> | moves entry n one place |
/q mv <n> <m> | moves entry n to position m |
/q now <n> | pushes it into the running turn at its next tool call, or sends it at once when nothing is running |
/q rm <n> | takes entry n out |
/q edit <n> | takes it out and puts its text back in the prompt box |
/q clear | drops the lot |
/q send | sends now, when the session is idle |
/q status | turn idle · 2 held · waiting, with · 3 in the background while the drain waits on those |
/q runs while a turn is in flight, which is the only time the stack fills.
The band does the same things under the mouse:
[ ↑ ] and [ ↓ ] reorder (the row at either end keeps the column and drops
the button it cannot use), [ ▶ ] pushes that one into the turn, [ edit ], [ ✕ ],
and [ send ] and [ clear ] under the stack. No hotkeys: a digit or a
letter would fire while you were typing the next message.
Only the fullscreen renderer sends the band the mouse: /tui fullscreen, or
CLAUDE_CODE_NO_FLICKER=1. On the classic renderer (the default in most
terminals) a click on a button lands nowhere, and the entry goes out when the
turn ends as if nothing had been pressed; the band says so under its buttons.
The keyboard reaches them on either renderer: ctrl+x tab moves the focus
into the band, Tab walks the buttons, Enter presses one — or type /q rm <n>.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub galelmalah/claude-mods --plugin prompt-queue