Nodes/SP-Nodes/PromptChecker
ComfyUI Node

PromptChecker

Click-and-drag prompt editing, wildcards included

By bananasss00·Created 2 years ago·Updated 6 days ago· 20
PromptChecker
    • prompt
    promptur prompt
    seed0
    Select to add Wildcard

    If you ever used the A1111 extension sd-webui-prompt-all-in-one, you already know the interaction model this node ports into ComfyUI: instead of retyping a long comma-separated prompt every time you want to tweak one tag, you click around. Left-click a token to disable it without deleting it, drag to reorder, right-click to remove it outright, and scroll the mouse wheel over a token to bump its weight up or down. The pack credits Impact Pack for the idea, which tracks - Impact Pack is also where the __wildcard__ dynamic-prompt syntax this node works with actually comes from.

    How it works

    Type or paste your prompt into the prompt field (multiline, and yes, the default placeholder text is literally "ur prompt" - swap that out before you queue for real). The token-management interactions above happen directly on the widget once there's text in it. Separately, the seed input and the "Select to add Wildcard" dropdown work together to resolve __wildcard__ tokens: pick a wildcard category from the dropdown to insert it into your text, and the node uses seed to deterministically pick one line from that wildcard's file - same seed, same pick, every time, which matters if you're trying to reproduce a result later.

    Where it finds those wildcard files follows a specific fallback order, straight from the README: first it looks for a wildcards folder next to wherever your ComfyUI launch .bat file lives, and if that doesn't exist, it falls back to a wildcards folder inside the node's own installation folder. You can also skip both of those and point it at an explicit path via the pack's config.ini.

    The inputs and outputs that matter

    • prompt - your working text, editable via the click/drag/scroll interactions above.
    • seed - drives deterministic wildcard resolution.
    • Select to add Wildcard - a dropdown populated from whatever wildcard files the node found.
    • Output: prompt (STRING) - the cleaned, resolved text, ready for a CLIP Text Encode node.

    How to install it

    Through ComfyUI Manager: search "SP-Nodes," install, restart. Or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/bananasss00/ComfyUI-SP-Nodes
    

    Restart ComfyUI. You don't need Impact Pack installed for the click/drag/weight editing to work, but the wildcard files this node reads from are the same .txt-file format Impact Pack's own wildcard system uses - if you're coming from a workflow that already relies on Impact Pack's wildcards, this node should find and use the same files without any extra setup.

    Common issues

    The most common early confusion is the wildcard dropdown showing up empty - that means the node didn't find a wildcards folder in either of its two default search locations. Check next to your launch script first, then the node's own folder, or just set an explicit path in config.ini and skip the guesswork. And it's worth a second glance at your actual prompt text before queuing a real run - it's easy to forget the default field starts as the placeholder "ur prompt" rather than empty, and that's not a string you want baked into your generation.

    CategorySP-Nodes

    Inputs (3)

    NameTypeDefaultDescription
    promptSTRINGur prompt
    seedINT00–18446744073709550000
    Select to add WildcardCOMBO1 options: Select the Wildcard to add to the text

    Outputs (1)

    NameTypeDescription
    promptSTRING