2🐕Custom template
Save, read, and delete your own reusable prompt snippets
- Text
The README describes this pack's "prompt word template manager" as something that "can quickly delete, save, and modify prompt word templates," and Custom template is exactly that node. If you've got a block of prompt text you reuse constantly - your standard negative boilerplate, a character description you paste into every generation of the same OC, a quality-tag stack you've settled on - this lets you save it once inside ComfyUI itself and pull it back out by name, instead of keeping it in a separate text file you copy-paste from.
How it works
One dropdown drives the whole thing: Function, set to Read, New, or Delete. In Read mode, the Read dropdown lists your saved templates by name (the schema shows XLNegative as a sample entry - a saved negative-prompt template - but whatever you've saved will populate this list), and the node outputs that template's content. In New mode, you type a name into New_Name and the content into New_Content, and running the node saves it as a new template you can select from the Read dropdown afterward. Delete removes whichever template is currently selected in Read. The single output, in every mode, is Text - a STRING you feed into the rest of your prompt chain, typically through one of this pack's splicing nodes if you're combining it with other text.
What to actually set
For day-to-day use it's just Function: Read plus picking a name from the Read dropdown. You only switch to New or Delete when you're actually managing your saved template library, not on every generation.
Installing it
ComfyUI Manager: search "Comfyui-ergouzi-Nodes" and install. Manually:
cd ComfyUI/custom_nodes
git clone https://github.com/11dogzi/Comfyui-ergouzi-Nodes.git
Restart ComfyUI. No models needed - templates are just saved text, stored locally by the node itself. Worth setting expectations here too: this is a small pack with very little presence in English-language ComfyUI discussion, so if you hit something unexpected, don't expect a tutorial thread to exist - the README and the node itself are most of what documentation there is. And as with the rest of the pack, this English repo is the frozen branch; the author's active development continues in a separate, Chinese-first sibling repo.
Common issues & troubleshooting
A saved template isn't showing up in the Read dropdown. ComfyUI caches node definitions and their dropdown option lists at the point the graph loads - if you saved a new template with a New run and don't see it in Read yet, refresh the page or reload the workflow so the node re-reads whatever it just wrote.
You deleted the wrong template. Delete acts on whatever's currently selected in the Read dropdown, not on something you type - double-check the selection before running it in Delete mode, since there's no separate confirmation step visible in the node itself.
You want to combine a template with other text. This node only outputs the raw template content - pair it with the pack's "Text arbitrary splicing" or "Text random splicing" node if you need to join it with a subject description or other prompt pieces.
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| Readopt | COMBO | XLNegative | 1 options: XLNegative |
| New_Nameopt | STRING | Please enter a name | — |
| New_Contentopt | STRING | Please enter the content | — |
| Functionopt | COMBO | Read | 3 options: Read, New, Delete |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| Text | STRING | — |