Package the repo as a folder-installable Codex plugin (verified on
codex-cli 0.142.3):
- .agents/plugins/marketplace.json: marketplace 'comfyui-agents' listing
the repo root itself as the plugin (source.path '.'), policy
authentication ON_USE so the local no-auth HTTP server installs without
an OAuth prompt.
- .codex-plugin/plugin.json: plugin 'comfyui-agents', skills ./skills/,
mcpServers ./.codex-plugin/mcp.json (string-file form, matching the
real OpenAI connector plugins).
- .codex-plugin/mcp.json: declares the 'comfy' HTTP MCP server at
http://127.0.0.1:9188/mcp via {type: http}; Codex registers it as a
streamable_http transport.
- skills/comfyui-bridge/SKILL.md: concise skill teaching the named-channel
model, the five tools, and the core push/run/pull loop.
Verified: codex plugin marketplace add . -> codex plugin add
comfyui-agents@comfyui-agents -> codex mcp get comfy reports the URL.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>