Output Integer (ShellAgent Plugin)
Hand a whole number back to the caller
Output Integer (ShellAgent Plugin) is the whole-number return path for ShellAgent workflows: it takes an INT in, tags it with an output_name, and ships it back to the app as a named field in the workflow's result. Counts, indices, seeds, frame numbers - the kind of value your pipeline computes and the caller needs to see.
Like its siblings Output Text and Output Float, this is a true terminal node: no output sockets, nothing rendered locally, the result exists only in what the parent application reads back.
How it works
Same family pattern: wire an integer into the integer input, set output_name (default output_integer), and on completion the node emits the value through ComfyUI's UI result channel ({"ui": {"output": [value]}}). validate() tells ShellAgent the output is an integer with your chosen name, so the app renders it as a number. That's all there is - it's a named return value, not a display.
The inputs
- integer - the value to return. Wire from any
INToutput. - output_name - the key the app reads. Default
output_integer; unique names matter if you return several values.
Installing it
Same one-pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/myshell-ai/ComfyUI-ShellAgent-Plugin
restart, or grab ComfyUI-ShellAgent-Plugin from ComfyUI Manager. No models to download; the pack's shared pip requirements install with it.
Common issues
- Nothing shows up locally. Normal - output nodes here don't render on screen.
- FLOAT won't connect. The input is strictly
INT. Convert first if your source is a decimal. - Duplicate keys in the result. Another output node shares your
output_name. Rename.
It's the smallest of the output nodes and does exactly one thing. If your workflow's interesting result is a whole number, this is the clean way to surface it to the app.
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| integer | INT | The integer to output. | |
| output_name | STRING | output_integer | — |
Outputs (0)
No outputs