Nodes/abracadabra-comfyui/Abracadabra Summary
ComfyUI Node

Abracadabra Summary

The cheat sheet the AI sees before it builds your graph

By guill·Created 2 years ago·Updated 2 years ago· 1
Abracadabra Summary
    • STRING

    Abracadabra Summary is the quieter half of this pack, and it exists to answer one question: what is the AI actually allowed to build? It has no inputs and a single STRING output, and running it dumps out the exact text summary of "available nodes" that the pack injects into its OpenAI prompt on every Abracadabra run.

    It's a peek behind the curtain. The main node doesn't know all of ComfyUI - it works from a hardcoded whitelist of roughly 90 node types, and this node prints that whitelist the way the model sees it: every node's name, its required and optional inputs with their types, and each output. The dump is produced by the same function the main node calls to build its system prompt, so what you read here is literally what the LLM gets, byte for byte.

    Why you'd reach for it:

    • Before spending an API call - check whether Abracadabra can even build what you're about to ask for.
    • To debug a missing node. "Why did it ignore my upscaler?" is usually answered by "because it's not in this list."
    • To audit what a run will be allowed to touch before it touches it.

    The mechanism is dead simple: it walks the whitelist, reads each node class's INPUT_TYPES and RETURN_TYPES, and formats them into text. No API calls, no key, fully offline - it's the one node in this pack that costs you nothing and sends nothing off-machine.

    To actually see the output, wire the STRING into a text display node (a Show Text / ShowText-style utility or a text preview node) - the summary node produces the string but doesn't render it. Keep one next to the main node while you're exploring; it's a free map of the territory.

    Two things worth knowing before you rely on it. The whitelist lives in nodes.py behind an ENABLE_ALL_NODES = False flag; flip it to True and both what the Summary prints and what the LLM may use change together, since they're the same list. And most of the non-core entries - Mask By Text, Cut By Mask, Combine Masks, Prune By Mask and friends - are Masquerade nodes. So when the main node throws "Node type X is not available in this environment" even though the Summary lists it, the fix is installing the Masquerade pack, not blaming the model.

    Install is the same as the rest of the pack: ComfyUI Manager, search "abracadabra", or clone into custom_nodes and restart. It's a thin utility - but for anyone poking at Abracadabra, it's the difference between guessing what the model knows and knowing.

    CategoryAbracadabra

    Inputs (0)

    No inputs

    Outputs (1)

    NameTypeDescription
    STRINGSTRING