REA MCP
☰
KO
● — 명 접속 중 · 조회 — 회
후원사례 제출
GitHub 저장소 · 작성자 chengyansen-ai

rea-comfyui-bridge

REA 컴패니언 프로젝트: 허가된 REA 조사를 ComfyUI 통합 브리프로 구조화하는 에이전트 스킬과 /object_info 스냅샷을 기준으로 ComfyUI 워크플로 JSON을 감사하는 읽기 전용 CLI.

번역 완료

이 사례에 대하여

rea-comfyui-bridge는 REA(Reverse Engineer Anything)를 위한 독립적인 컴패니언 프로젝트입니다. 두 부분으로 구성됩니다: (1) 불투명한 창작 데스크톱 애플리케이션에 대한 허가된 REA 조사를 안내하고, 증거와 해석을 분리하며, 노드 입력/출력, 의존성 및 경로 계약, 오류 동작, 승인 기준을 포함한 ComfyUI 통합 브리프를 생성하는 에이전트 스킬, 그리고 (2) rea-comfyui-audit. 이는 읽기 전용 Python CLI(런타임 의존성 없음, Python 3.10+)로, ComfyUI API 형식 또는 UI 형식 워크플로 JSON을 요약하고 /object_info 스냅샷이 주어지면 해결되지 않은 노드 클래스와 가능성 있는 파일 참조를 보고합니다. README에는 이 스킬이 에이전트에게 인증, 라이선싱, DRM 또는 접근 제어를 우회하도록 요구하거나 자격 증명, 개인 키 또는 사용자 데이터를 추출하도록 요구하지 않는다고 명시되어 있습니다.

설정

설치 방법은 원본 출처를 확인하세요.

원문 / README

REA ComfyUI Bridge

中文说明: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.

Why this project

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:

  1. An agent skill that structures a permitted REA investigation and records evidence, uncertainty, and an integration contract.
  2. 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 the skill

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.

Install the workflow auditor

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.

REA investigation flow

The skill guides an agent to:

  1. Define the application, version, permitted scope, and concrete integration question.
  2. Use available REA capabilities to gather repeatable observations from a user-visible flow or documented interface.
  3. Keep evidence separate from interpretation; attach an evidence ID and confidence to each meaningful claim.
  4. Map inputs, outputs, file handling, configuration, and observable service boundaries.
  5. Produce a ComfyUI integration brief with proposed node inputs/outputs, dependency and path contracts, error behavior, unresolved questions, and acceptance criteria.
  6. Audit a resulting ComfyUI workflow JSON with the CLI and report unresolved node classes and likely file references.

The skill never asks an agent to bypass authentication, licensing, DRM, or access controls, or to extract credentials, private keys, or user data.

Output boundaries

  • REA observations are evidence only for the application version and scenario actually inspected.
  • A workflow audit is a static JSON report, not proof that the workflow runs successfully.
  • A generated integration brief is a design artifact, not a finished or tested ComfyUI node.
  • Apps, models, and external services keep their own licenses and terms. Check them before publishing an integration.

Development

python -m pip install -e .
rea-comfyui-audit --help

License

MIT. See LICENSE. REA and third-party applications remain under their own licenses.

비슷한 프로젝트