Skill evolution beats verifier-only refinement by 4 points, no refinement by 10
Notes on COMFYCLAW: Self-Evolving Skill Harnesses for Image Generation Workflows (arXiv:2607.01709) — Zongxia Li, Dawei Liu, Fuxiao Liu, Yuhang Zhou, Xiyang Wu, Jingxi Chen, Jingjing Xie, Xiao-Ming Wu, Lichao Sun · July 2026
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Skill evolutionComfyClaw treats ComfyUI workflow construction as typed graph editing, not prompt rewriting. An agent inserts and connects nodes, tunes samplers, attaches LoRAs, and applies regional conditioning; invalid edits get reverted automatically. A region-level VLM verifier decomposes each prompt into a checklist of binary requirements, scores the image against them plus a holistic 1-10 detail score, and turns any failures into localized repair instructions — regional prompting to isolate a specific limb, for instance — that drive the next edit pass. Successes and failures get clustered across batches of prompts and distilled through a skill evolution loop that creates, revises, reinforces, merges, or deletes entries in a library of versioned Agent Skills, with each candidate mutation tested on synthesized held-out prompts and committed only if it doesn't degrade held-out performance.
Across four benchmarks (GenEval2, DPG-Bench, OneIG-EN, OneIG-ZH), three agent backbones (Claude Sonnet 4.5, Qwen-3.6-35B-A3B, Gemma-4-E4B-it), and two diffusion backbones, the full system beat a single-pass no-refinement baseline by roughly 10 points of average score, and a verifier-only variant without skill evolution by roughly 4 points. Human raters scored 2,400 generated images and preferred ComfyClaw's output across benchmarks — 4.49 vs. 3.65 on a 5-point scale for one backbone. The gains don't come mainly from better wording: only 39% of the agent's edits touched prompt text. Evolved skills accounted for 70% of skill lookups on DPG-Bench and 56% on GenEval2, but dropped to 7.5-16% on the more style-driven OneIG splits, where the agent leaned on predefined skills instead.
Key numbers
| vs. no-refinement baseline | +10 pts avg score |
| vs. verifier-only (no skill evolution) | +4 pts avg score |
| human preference, Likert 1-5 (LongCat) | 4.49 vs 3.65 |
| workflow edits that are not prompt-text | 60.7% |
| evolved-skill reliance, best vs. weakest benchmark | 70% → 7.5% |
Skills related to this research
Related notes
- A skill improves every time anyone uses it, not just its author →
- Decomposing agent traces into workflow, semantics, and attachments beats prompted summaries by 10.5% →
- Rubric-filtered training lifts a 9B model to 32% accuracy — outcome-only filtering caps out at 18% →
- Splitting skill-writing into create, merge, and improve lifts a 27B agent up to 4.5 points -- merge drives generalization, improve drives specification, and neither alone gets you there →
- Self-repairing skills add 8.4 points — raw context alone scores worse than no skills at all →
- Auto-evolved skill specs beat hand-written ones by 7 points, at twice the constraint density →
- Stack five skills, multiply hidden-intent risk 14x →
- Nearly 1 in 5 Skill Forks Add Security-Sensitive Instructions →
References
- Z. Li, D. Liu, F. Liu, Y. Zhou, X. Wu, J. Chen, J. Xie, X. Wu, and L. Sun, "ComfyClaw: Self-Evolving Skill Harnesses for Image Generation Workflows," arXiv:2607.01709, 2026.
- Agent Skills (2026), "Agent Skills Specification," agentskills.io/specification.
- G. Wang, Y. Xie, Y. Jiang, A. Mandlekar, C. Xiao, Y. Zhu, L. Fan, and A. Anandkumar, "Voyager: An Open-Ended Embodied Agent with Large Language Models," arXiv:2305.16291, 2023.
- Z. He, S. Huang, X. Qu, Y. Li, T. Zhu, Y. Cheng, and Y. Yang, "GEMS: Agent-Native Multimodal Generation with Memory and Skills," arXiv:2603.28088, 2026.
- P. Xia, J. Chen, H. Wang, J. Liu, K. Zeng, Y. Wang, S. Han, Y. Zhou, X. Zhao, and H. Chen, "SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning," arXiv:2602.08234, 2026.