From prompt-queue
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.
9 events · 9 calls
Ships in prompt-queue. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callcommand.runprompt.submitprompt.submitEach event it registers a hook on, with the matcher when it sets one
session.startturn.startturn.completeclassic.Stoptool.callprompt.submitui.focus{component=AbovePrompt}command.run{command=q}ui.render{component=AbovePrompt}Every mods API method its source calls, by namespace
afterregisterrunfillsubmitfocusinvalidatelogresolveWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.ts (written ./register.ts)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub galelmalah/claude-mods --plugin prompt-queue