edit
Skill2 starsChanged 4 days agoMITView on GitHub
Edit an image with ComfyUI — img2img, inpaint, or upscale
21 other projects use a version of this.
Adopted by
Most recently taken up by
- Mohcen56/ytb-edit-kittheir own version, first seen Nov 29, 2026
- cemtpc/claude-skillstheir own version, first seen Nov 22, 2026
- vincentventalon/claude-code-video-editing-skilltheir own version, first seen Nov 15, 2026
- vincentventalon/my-claude-skillstheir own version, first seen Nov 15, 2026
- Nbill27/academic-writing-skillstheir own version, first seen Nov 15, 2026
- EdwardAF-IT/claude-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use daily-arxiv, exp-eval and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
skyllwtSkillexp-pilot-eval
Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.
Also in 4 projects that use this
skyllwtSkillexp-pilot-run
Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.
Also in 4 projects that use this
Yusong-EnceladusSkillpaper-compile
Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"编译论文\", \"compile paper\", \"build PDF\", \"生成PDF\", or wants to compile LaTeX into a submission-ready PDF.
Also in 5 projects that use this
- +6 more from Lambenthan
- +1 more from skyllwt
Other versions21 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 21
- PrimeIntellect-ai/prime-agent★ 23ksame name
- skyllwt/OmegaWiki★ 1.7ksame name
- DAIR-AutoResearch/AutoSci★ 1.7ksame name
- PKU-DAIR/AutoSci★ 1.7ksame name
- skyllwt/AutoSci★ 1.7ksame name
- Mohcen56/ytb-edit-kit★ 136same name
- Lambenthan/empiricalwiki★ 85same name
- KingGyuSuh/codex-image-in-cc★ 35same name
- Nbill27/academic-writing-skills★ 27same name
- howells/fiction★ 23same name
11 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- customize-harnessSkill
- ship-prSkill
- test-hygiene-scannerSkill
- batchSkill
- connectSkill
- genSkill
- historySkill
- modelsSkill
- progressSkill
- security-reviewSkill
- statusSkill
- troubleshootingSkill
- workflowSkill
- workflowsSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 18 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
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.
- Very specific: line 21
If the client gave you a readable local path, base64-encode the file and call comfyui_upload_image with filename, image_data, and …
- Very specific: line 22
If you cannot read the file, ask the user to upload it and tell you the filename.
- Very specific: line 40
Never guess model filenames.
- Distinctive: line 41
Do not upscale a mask, and do not use upscale as a substitute for inpainting.
“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

