ComfyUI > Nodes > Claude Code ComfyUI Nodes > Claude Context Builder

ComfyUI Node: Claude Context Builder

Class Name

ClaudeCodeContext

Category
claude_code
Author
christian-byrne (Account age: 2006days)
Extension
Claude Code ComfyUI Nodes
Latest Updated
2025-06-17
Github Stars
0.03K

How to Install Claude Code ComfyUI Nodes

Install this extension via the ComfyUI Manager by searching for Claude Code ComfyUI Nodes
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter Claude Code ComfyUI Nodes in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

Claude Context Builder Description

Facilitates seamless integration of Claude Code commands by converting outputs into context.

Claude Context Builder:

The ClaudeCodeContext node is designed to facilitate the seamless integration and chaining of multiple Claude Code commands by converting the outputs from previous commands into a usable context or memory for subsequent commands. This node is particularly beneficial for users who need to build complex workflows where the output of one process serves as the input for the next. By transforming output folders into a structured context, it ensures that the data flow between different stages of your workflow is smooth and efficient. This capability is crucial for maintaining continuity and coherence in processes that require multiple steps, making it an essential tool for AI artists looking to automate and streamline their creative processes.

Claude Context Builder Input Parameters:

output_folder

The output_folder parameter is a string that specifies the directory path of the output from a previous Claude Code command. This parameter is crucial as it determines the source of the data that will be converted into context or memory. The default value is an empty string, indicating that no specific folder is set initially. This parameter allows you to define where the node should look for the output data, and its correct configuration is essential for the node to function properly.

context_mode

The context_mode parameter allows you to choose how the context is built from the specified output folder. It offers four options: full_content, file_list, summary, and custom. The default setting is summary, which provides a concise overview of the folder's contents. Each mode serves a different purpose: full_content includes all data, file_list provides a list of files, summary gives a brief overview, and custom allows for a tailored context creation. Selecting the appropriate mode impacts the node's execution by determining the level of detail and type of information included in the context.

Claude Context Builder Output Parameters:

memory

The memory output is a string that represents the compiled context or memory derived from the specified output folder. This output is essential as it serves as the bridge between different Claude Code commands, allowing the results of one command to inform and influence the next. The memory output ensures that the workflow remains coherent and that all necessary information is carried forward to subsequent stages, thus enhancing the efficiency and effectiveness of your creative processes.

Claude Context Builder Usage Tips:

  • Ensure that the output_folder parameter is correctly set to the directory containing the desired output data. This is crucial for the node to access and convert the data into context.
  • Choose the context_mode that best suits your needs. For detailed analysis, use full_content; for a quick overview, summary is ideal. Adjusting this setting can optimize the node's performance for specific tasks.

Claude Context Builder Common Errors and Solutions:

"Output folder not found"

  • Explanation: This error occurs when the specified output_folder path does not exist or is incorrect.
  • Solution: Double-check the path provided in the output_folder parameter to ensure it is correct and that the folder exists.

"Invalid context mode"

  • Explanation: This error arises when an unsupported value is set for the context_mode parameter.
  • Solution: Verify that the context_mode is set to one of the supported options: full_content, file_list, summary, or custom. Adjust the parameter to a valid option.

Claude Context Builder Related Nodes

Go back to the extension to check out more related nodes.
Claude Code ComfyUI Nodes
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.