Nodes/ComfyCollectorNodes/Compound Prompt (CCN)
ComfyUI Node

Compound Prompt (CCN)

A one-click switch between prompt strategies

By valkymaera·Created 4 months ago·Updated 10 days ago· 1
Compound Prompt (CCN)
    • temporal
    • split
    • neutral
    modeOff

    This is the rare node where what you see is genuinely all there is. Compound Prompt (CCN) is a mode selector with one widget - mode - and three boolean outputs. Pick a mode and it turns exactly one of those booleans on. That's the entire job, and it's a useful job: it's the switch that lets one workflow host several prompt strategies and let you flip between them without rewiring anything.

    What the modes mean

    The four choices are Off, Temporal, Split, and Neutral, and they map to three outputs: temporal, split, and neutral. When you set mode, the corresponding output goes true and the others stay false. Wire those booleans into whatever downstream logic branches on strategy - a conditional, a GateAny, a switch that picks between prompt stores - and you've got a single dropdown controlling which compounding approach runs.

    The names map onto the pack's prompt-tinkering vocabulary: "temporal" is the run-by-run batch framing, "split" is the chunked/BREAK-style structure, and "neutral" points at the Neutral Prompt family (the pack's port of ljleb's A1111 perpendicular/salient/top-K merging, which keeps auxiliary prompts from fighting the main one). Compound Prompt doesn't implement any of that - it's a routing primitive that sits in front of it.

    Inputs and outputs

    mode is the only input (a dropdown, default Off). Outputs are the three booleans above. It's deliberately dumb, which is the point: no hidden state, no caching weirdness, nothing to debug. This is the kind of node the ComfyUI plumbing layer calls a "value as a switch" - it exists to make a graph readable, not to add behavior.

    Install

    Identical to the rest of the pack. ComfyUI Manager → search ComfyCollectorNodes → Install → restart, or:

    cd ComfyUI/custom_nodes
    git clone https://github.com/valkymaera/ComfyCollectorNodes
    

    Restart ComfyUI. No pip step - the pack has zero extra Python dependencies. Look for it under the (CCN) suffix.

    Is it worth installing the pack for?

    On its own, no - it's a three-boolean dropdown. But if you're already in this pack and building a workflow that can run several prompt strategies, it's the cleanest way to switch. The honest framing: don't grab ComfyCollectorNodes for this node; appreciate it once you're using the pack's prompt stores and neutral-prompt guiders, where a single mode dropdown genuinely tidies the graph. If you never use those, you'll never miss it.

    CategoryCCN

    Inputs (1)

    NameTypeDefaultDescription
    modeCOMBOOff4 options: Off, Temporal, Split, Neutral

    Outputs (3)

    NameTypeDescription
    temporalBOOLEAN
    splitBOOLEAN
    neutralBOOLEAN