ComfyUI > Nodes > Claude Code ComfyUI Nodes > Claude Output Reader

ComfyUI Node: Claude Output Reader

Class Name

ClaudeCodeReader

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 Output Reader Description

ClaudeCodeReader inspects and analyzes Claude Code outputs, listing and reading files for review.

Claude Output Reader:

ClaudeCodeReader is a utility node designed to facilitate the inspection and analysis of outputs generated by Claude Code processes. Its primary function is to read and display contents from specified output folders, allowing you to easily access and review the results of Claude Code executions. This node is particularly beneficial for users who need to verify the outputs of their code generation tasks, as it provides a straightforward way to list files, read all contents, or focus on specific files within the output directories. By offering flexible reading modes and customizable parameters, ClaudeCodeReader enhances your ability to manage and understand the outputs of your AI-driven projects, making it an essential tool for efficient workflow management in AI art and code generation environments.

Claude Output Reader Input Parameters:

output_folder

This parameter specifies the name of the output folder from which the node will read files. It is crucial for directing the node to the correct location where Claude Code outputs are stored. The default value is an empty string, and it is required to provide the correct folder name to ensure accurate file reading.

file_pattern

The file_pattern parameter allows you to define a pattern for the files you wish to read, such as *.py for Python files or README.md for a specific file. This parameter helps filter the files in the output folder, making it easier to focus on relevant files. The default pattern is *, which means all files will be considered.

read_mode

This parameter determines the mode in which files are read from the output folder. It offers three options: list_files, read_all, and read_specific. The default mode is list_files, which lists all files matching the pattern. read_all reads the contents of all matching files, while read_specific focuses on a particular file specified by the specific_file parameter.

specific_file

When using the read_specific mode, this optional parameter allows you to specify the exact file you want to read. It is useful for targeting a single file within the output folder. The default value is an empty string, and it should be set to the desired file name when needed.

max_files

This optional parameter sets the maximum number of files to read when using modes that involve reading multiple files. It helps manage the volume of data processed, ensuring that the node does not attempt to read an overwhelming number of files at once. The default value is 10, with a minimum of 1 and a maximum of 100.

Claude Output Reader Output Parameters:

file_contents

This output provides the contents of the files read from the output folder. It is particularly useful when you need to review or analyze the data generated by Claude Code processes. The content is returned as a string, allowing for easy display and inspection.

file_list

The file_list output returns a JSON object containing a list of files that match the specified pattern in the output folder. This list is valuable for quickly identifying which files are available for further inspection or processing.

metadata

This output provides additional information about the files read, such as their names and sizes. It helps you understand the context and characteristics of the files processed, offering insights into the nature of the outputs generated by Claude Code.

Claude Output Reader Usage Tips:

  • Use the file_pattern parameter to narrow down the files you want to inspect, which can save time and resources by focusing only on relevant outputs.
  • When dealing with large output folders, adjust the max_files parameter to limit the number of files read, ensuring that the node operates efficiently without overwhelming your system.
  • Utilize the read_mode options to tailor the node's behavior to your specific needs, whether you want a simple file list or detailed content analysis.

Claude Output Reader Common Errors and Solutions:

"Output folder not found"

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

"No files match the pattern"

  • Explanation: This error indicates that no files in the output folder match the specified file_pattern.
  • Solution: Verify the file pattern for accuracy and ensure that the output folder contains files that meet the criteria.

"Specific file not found"

  • Explanation: This error arises when the read_specific mode is used, but the specified file does not exist in the output folder.
  • Solution: Confirm that the specific_file parameter is set to the correct file name and that the file is present in the output folder.

Claude Output Reader 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.