Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hybridindie/comfyui_mcp --skill editgit clone --depth 1 https://github.com/hybridindie/comfyui_mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/hybridindie/comfyui_mcp/edit)<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/edit"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/edit/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/hybridindie/comfyui_mcp/edit"><img src="https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/edit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00019 | $0.00584 |
| Opus 5.5 | $0.00008 | $0.00234 |
| Sonnet 5.5 | $0.00004 | $0.00117 |
| Haiku 4.5 | $0.00002 | $0.00058 |
Grade A, and why
edit scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Edit an image
The user wants to edit an existing image. Request: "$ARGUMENTS".
Pick one mode first; do not run several unless asked:
| Goal | Tool |
|---|---|
| Change style, lighting, or detail across the whole image | comfyui_transform_image (img2img) |
| Replace or repair a selected region | comfyui_inpaint_image |
| Enlarge without changing content | comfyui_upscale_image |
Steps
-
Find the input. If the image is already in ComfyUI's input folder (the user named the file, or it was uploaded earlier), use that filename. Otherwise:
- If the client gave you a readable local path, base64-encode the file and call
comfyui_upload_imagewithfilename,image_data, anddestination="input". - If you cannot read the file, ask the user to upload it and tell you the filename. MCP has no attachment path of its own.
For inpaint, also upload the mask with
comfyui_upload_mask; the mask must match the image dimensions, white = regenerate, black = keep.
- If the client gave you a readable local path, base64-encode the file and call
-
Choose parameters.
strength(img2img/inpaint): 0.30–0.45 subtle, 0.45–0.65 balanced (the default 0.75 is strong), 0.65–0.85 a large change.steps20–30,cfg6–8; keep the source dimensions.model: leave empty for the server default, or pass an exact filename fromcomfyui_list_models(folder="checkpoints").- Upscale: pick a model from
comfyui_list_models(folder="upscale_models"); the scale factor belongs to the model (RealESRGAN_x4plus = 4x).
-
Run it with
wait=True. In enforce mode, relay anywarningsand wait for confirmation before submitting. -
Fetch the result from
outputs[0]withcomfyui_get_image(filename=..., subfolder=..., preview_format="webp", preview_quality=80)— the thumbnail is far cheaper context than the full PNG. -
Report the mode, strength/model used, and the output filename.
Notes
- For a new scene rather than an edit, use
/comfy:gen. - Never guess model filenames;
comfyui_list_modelsshows what the server actually has. - Do not upscale a mask, and do not use upscale as a substitute for inpainting.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 42 lines · 19 tokens per session scan A cda909410037
edit is a skill published in the GitHub repository hybridindie/comfyui_mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 584 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-27.
edit compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| edithybridindie/comfyui_mcp | Skill | 2 | 2d ago | MIT | A | 19 | Claude Code |
| local-gpu-imagegenChevalGrand520/local-gpu-imagegen | Skill | 1 | 1mo ago | MIT | A | 35 | Claude Code, Codex |
| b123d-modelingpzfreo/build123d-mcp | Skill | 171 | 9d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| b123d-editpzfreo/build123d-mcp | Skill | 171 | 9d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| mlflow-tracesGalbaz1/video-research-mcp | Skill | 23 | 9d ago | MIT | A | 37 | Claude Code |
| gemini-visualizeGalbaz1/video-research-mcp | Skill | 23 | 9d ago | MIT | A | 46 | Claude Code |
| video-explainerGalbaz1/video-research-mcp | Skill | 23 | 9d ago | MIT | A | 46 | Claude Code |