Extra 2
Extra 2 is the slot you'll actually rename in your head
- text
- id
By the time you've used this pack for a week, you will have decided what Extra 2 means to you - "the lighting one," "the prop one," "the animal companion one" - because the pack itself doesn't decide. Extra 2 is the second of five unassigned slots in the Prompt String Selector family, and in practice people use them for whatever recurring prompt fragment the named categories miss.
Honestly, Extra 2 through Extra 5 are the same node with different folder names, so the only reason to have a favorite is organizational. If Extra 1 is your lighting slot and Extra 2 is your prop slot, you've got a working filing system for a couple of minutes of setup. That's the real value of this pack in miniature: it turns prompt fragments into maintained data instead of paste-history.
How it works
Lists .txt files in ComfyUI/custom_nodes/ComfyUI-Prompt-String-Selector/data/extra2/. Filename minus extension = dropdown label; the leading number = id output; // and /* */ comments stripped. Sorted by the numeric prefix. Ships with 01_none.txt as a no-op option.
Inputs and outputs
- extra2 - dropdown of your blocks.
- extra2_custom - multiline override;
custom_inputuses this box,idis 0.
Outputs: text (STRING, comma-terminated) and id (INT). Wire text into your CLIP encode or the pack's Aggregator.
Install
ComfyUI Manager → search "Prompt String Selector", or:
cd ComfyUI/custom_nodes
git clone https://github.com/itom0717/ComfyUI-Prompt-String-Selector.git
Restart. No dependencies - standard library only, no models, nothing to pip install.
Gotchas
Same restart-for-new-files rule as every node here. The subtler trap with the Extra slots is that they're not discoverable - nothing in the UI tells you what data/extra2/ is for, unlike the named categories. If you share workflows, the recipient has no idea your Extra 2 is "props," and they won't have your files at all. For personal use it's fine; for sharing, keep the naming obvious and expect to re-create files on another machine.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| extra2 | COMBO | 2 options: 01_none, custom_input | |
| extra2_custom | STRING | — |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| text | STRING | — |
| id | INT | — |