
chengyansen-ai/rea-comfyui-bridge

一个 REA 配套项目:一个 agent 技能,将获准的 REA 调查整理成 ComfyUI 集成简报,外加一个只读 CLI,根据 /object_info 快照审计 ComfyUI 工作流 JSON。

chengyansen-ai/rea-comfyui-bridge

rea-comfyui-bridge 是 REA(Reverse Engineer Anything)的一个独立配套项目。它包含两部分:(1) 一个 agent 技能,用于指导对不透明的创意桌面应用进行获准的 REA 调查,将证据与解读分开,并生成 ComfyUI 集成简报,其中包含节点输入/输出、依赖与路径契约、错误行为和验收标准;(2) rea-comfyui-audit,一个只读 Python CLI(无运行时依赖,Python 3.10+),用于汇总 ComfyUI API 格式或 UI 格式的工作流 JSON,并在给定 /object_info 快照时报告未解析的节点类和可能的文件引用。README 声明该技能从不要求 agent 绕过认证、许可、DRM 或访问控制,也不提取凭证、私钥或用户数据。
安装方法请查看原始来源。
中文说明:README_zh.md
Use REA (Reverse Engineer Anything) to investigate a creative application you are allowed to inspect, then turn the observed behavior into an evidence-backed ComfyUI integration brief. A small read-only CLI audits ComfyUI workflow JSON against an exported /object_info snapshot.
中文简介: 面向 ComfyUI 创作者的 REA 配套项目:先记录闭源创作软件中可观察、可复现的行为,再整理成 ComfyUI 节点接入规格;同时静态盘点工作流节点和可能的文件依赖。
This is an independent companion project. It does not modify REA or claim that REA can analyze ordinary Python source code better than reading that source directly.
Creative workflows often cross several boundaries: a desktop application, model and media files, an API or local service, and a ComfyUI workflow. When an application is opaque, its visible behavior can be investigated with REA. The resulting notes can then guide a reproducible ComfyUI integration. When the workflow is already source-visible, inspect its source directly.
The project has two small parts:
rea-comfyui-audit, a read-only Python CLI that summarizes ComfyUI API-format or UI-format workflow JSON and, when provided, compares its node classes with an /object_info snapshot.Install REA separately using its official instructions. Then install this skill from the public repository:
npx skills add chengyansen-ai/rea-comfyui-bridge --skill rea-comfyui-bridge
The skill uses whichever REA tools are actually available in the agent environment. It does not assume tool names or silently treat an inference as observed fact.
Python 3.10 or later; no runtime dependencies.
python -m pip install .
rea-comfyui-audit path/to/workflow.json --object-info path/to/object_info.json
To export a ComfyUI node catalog, save the JSON response from your own ComfyUI instance's /object_info endpoint. You can also omit --object-info; in that case the CLI reports node classes without judging whether they are installed.
Examples:
rea-comfyui-audit workflow.json
rea-comfyui-audit workflow_api.json --object-info object_info.json --format json --output audit.json
The auditor does not contact ComfyUI, execute nodes, resolve model files on disk, or change the workflow. File references are reported as candidates based on their names and values; confirm them against the node schema and your local model folders.
The skill guides an agent to:
The skill never asks an agent to bypass authentication, licensing, DRM, or access controls, or to extract credentials, private keys, or user data.
python -m pip install -e .
rea-comfyui-audit --help
MIT. See LICENSE. REA and third-party applications remain under their own licenses.