Prompt Stash Manager
Where your saved prompts go to get organized (and un-stuck)
The Prompt Stash Manager is the boring half of the Prompt Stash pack, and that's a compliment. The Saver node is the one that actually stashes prompts; this node is where you organize them, back them up, share them, and - most importantly - un-break the workflow when it gets stuck. If you've only got one Prompt Stash node installed, this is the one you'll touch occasionally rather than every session. You'll still want it.
The whole point of the pack is that you never lose a good prompt again. Hook a text-outputting node - an LLM node, which is the author's own use case - into the Saver's input and capture the result without copy-pasting. That's the fun half. The Manager is the bookkeeping: make new lists so "random good stuff" doesn't become one giant pile, merge in a friend's exported stash, and reset the pause state when things go sideways.
How it works: one JSON file to rule them all
All three Prompt Stash nodes read and write the same data file: ComfyUI/user/prompt_stash/prompt_stash_data.json. A "list" is just a JSON object mapping prompt names to prompt text. The Manager doesn't hold any data itself - it edits that file through small API routes on ComfyUI's server (/prompt_stash_saver/add_list, /delete_list, /prompt_stash_manager/export and /import) and then broadcasts a prompt-stash-update-all websocket event so every open Stash node refreshes its dropdowns instantly.
That's the whole architecture. No database, no model, no Python dependencies beyond the standard library - just JSON on disk and a little frontend glue. The file is the source of truth; every node is just an editor for it. That's also why "delete the file to start over" works as a factory reset, more on that below.
The one input (and the zero outputs)
The graph API is almost nothing, which tells you how this node is meant to be used:
new_list_name(STRING, optional) - type a name here and hit Add to create a list. That's the only graph input.
It has no outputs, so don't look for a wire to connect. Every other control lives on the node body as buttons and dropdowns: the Existing Lists dropdown, Add/Delete, Export/Import, and a (Clear All Paused) button. This is a control panel, not a data pipe. Drop one anywhere in the graph; it works whether or not it's connected to anything.
Install
Zero friction, which is a relief in an ecosystem where half the install pain is dependency hell. Through ComfyUI Manager, search for Prompt Stash and install, or manually:
cd ComfyUI/custom_nodes
git clone https://github.com/phazei/ConfyUI-node-prompt-stash-saver
Then restart ComfyUI. No requirements.txt, no model downloads, no torch version conflicts - it's JS plus a few stdlib-backed routes. Note the repo name has the ConfyUI typo baked in; that's the real URL, don't get thrown.
The gotchas that will actually bite you
- Stuck queue after a pause. The Passthrough node's "Pause to Edit" feature stops the run so you can tweak text mid-execution. If you close that workflow while paused, the state can stick and the Continue button vanishes, leaving your queue frozen. That's exactly what (Clear All Paused) is for - it hits the server's
clear_allroute and nukes every stuck pause state. This is the number one reason people end up on this node's page. - You can't delete the last list. The backend refuses when only one list remains, so you can't orphan yourself into a broken state.
- Import merges, it never overwrites. Same-named prompts get
(2),(3)appended rather than clobbering your work. The node even shows you a summary of what was added and renamed. - The file lives in your user directory now, not the node folder. If you have an older install, the code migrates the old file automatically. To wipe everything, delete
ComfyUI/user/prompt_stash/prompt_stash_data.jsonand refresh - it regenerates with a fresh default.
One more thing: there's a row of ! buttons on the node that do literally nothing useful. That's the author having fun; ignore them and get back to organizing your prompts. Small, maintained, Apache-2.0, and it solves a real "I lost a great prompt" pain - for the few minutes a week you spend sorting your library, it's worth having.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| new_list_nameopt | STRING | — |
Outputs (0)
No outputs