🛡️ Set Main Channel
The Simplest Node in the Pack
- channel output
Set Main Channel is the pack's on-ramp, and it's almost embarrassingly simple: one text input, one text output. Type CH_0001 (the default) into channel, get CH_0001 back out of channel output. The source code is literally a function that returns what you gave it. There's no mechanism to get wrong, no settings that matter, no failure mode beyond "is the pack installed."
So why does it exist? Because the pack's "channel drive" concept needs a starting point. ComfyUI Universal Styler is built around the idea that a story - especially for video prompting, which is clearly the author's focus - has branches, and each branch deserves a name. The Load Scripts from Database node takes a channel_input that's marked forceInput, meaning you must connect something into it. Set Main Channel is the natural source: you name the branch once, here, and let that string thread through the rest of the graph.
Concretely, a small setup looks like:
Set Main Channel ("CH_0001")
│ channel output
▼
Load Scripts from Database → script output → CLIP Text Encode
Type your channel name once, wire channel output into the Load node's channel_input, and from there you can track which narrative branch your rendered prompt belongs to. It's the same job a Primitive text node would do - the value-add is a clear name and a fixed spot in the graph so you don't have five unlabeled string nodes floating around. If you're running multiple prompt chains and need to tell them apart, this is the node that labels them.
One honest caveat: if you're not using the rest of the pack, this node has nothing for you. It's a constant with a name. That's fine - the pack's other two nodes assume it exists, and it costs you nothing to drop in.
Installing it
It ships inside the ComfyUI Universal Styler pack, so:
cd ComfyUI/custom_nodes
git clone https://github.com/KoreTeknology/ComfyUI-Universal-Styler
Restart ComfyUI, then look for it under the "🛡️ NAI Scripting Pipeline" category. No requirements, no model downloads - this pack has none, and this node needs none.
Gotchas
The main one is finding the thing. The node names in this pack all carry a shield emoji (🛡️), which makes them easy to skim past in the node menu - search "Universal Styler" or "channel" to pull it up. And because the pack was fully rebuilt after v0.5, old workflows that reference pre-rebuild nodes will show them as missing; the README says to just replace old nodes with the current ones. Beyond that, there isn't a lot to trip on - which, for once, is the point. It's the node you stop thinking about.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| channel | STRING | CH_0001 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| channel output | STRING | — |