edit

edit is a skill for Claude Code from hybridindie/comfyui_mcp. It costs 19 tokens per session (584 once invoked), scanned A, original, MIT.

An image-editing workflow for ComfyUI, a tool for building and running image-generation workflows. It supports changing an existing image, repairing a selected area, or enlarging it.

In plain words
What is it for?
It is for changing an image's style, lighting, or details; replacing or repairing part of it; and enlarging it without intentionally changing its content.
Why use it?
It gives the agent a defined way to choose between whole-image changes, local repairs, and upscaling, while handling the required image and mask uploads.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit It is for changing an image's style, lighting, or details; replacing or repairing part of it; and enlarging it without intentionally changing its content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hybridindie/comfyui_mcp/edit
Install

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.

Any agent
npx skills add hybridindie/comfyui_mcp --skill edit
Clone the repo
git clone --depth 1 https://github.com/hybridindie/comfyui_mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for edit

README.md
[![agentmods](https://agentmods.dev/badge/skills/hybridindie/comfyui_mcp/edit/github.svg)](https://agentmods.dev/skills/hybridindie/comfyui_mcp/edit)
Your own site
<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.

agentmods 80×15 button for edit

Your own site · 80×15
<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>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2d ago against content hash cda909410037, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/edit/SKILL.md · 42 lines

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

  1. 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_image with filename, image_data, and destination="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.
  2. 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.
    • steps 20–30, cfg 6–8; keep the source dimensions.
    • model: leave empty for the server default, or pass an exact filename from comfyui_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).
  3. Run it with wait=True. In enforce mode, relay any warnings and wait for confirmation before submitting.

  4. Fetch the result from outputs[0] with comfyui_get_image(filename=..., subfolder=..., preview_format="webp", preview_quality=80) — the thumbnail is far cheaper context than the full PNG.

  5. 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_models shows what the server actually has.
  • Do not upscale a mask, and do not use upscale as a substitute for inpainting.

Read the full file on GitHub · 42 lines

Changes

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.

  1. 2d ago First seen · 42 lines · 19 tokens per session scan A cda909410037

Subscribe to this mod's changes

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.

Related

edit compared with skills from other repositories

edit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
edithybridindie/comfyui_mcpSkill22d agoMITA19Claude Code
local-gpu-imagegenChevalGrand520/local-gpu-imagegenSkill11mo agoMITA35Claude Code, Codex
b123d-modelingpzfreo/build123d-mcpSkill1719d agoApache-2.0A0Claude Code, Codex
b123d-editpzfreo/build123d-mcpSkill1719d agoApache-2.0A0Claude Code, Codex
mlflow-tracesGalbaz1/video-research-mcpSkill239d agoMITA37Claude Code
gemini-visualizeGalbaz1/video-research-mcpSkill239d agoMITA46Claude Code
video-explainerGalbaz1/video-research-mcpSkill239d agoMITA46Claude Code