COMFYCLAW: Self-Evolving Skill Harnesses for Image Generation Workflows

Zongxia Li, Dawei Liu, Fuxiao Liu, Yuhang Zhou, Xiyang Wu +4 more
7/2/2026
cs.AIcs.LG

No confident code implementation found for this paper.

Abstract

Agents are increasingly used to construct workflows and assist humans in completing recurring tasks more efficiently. As these workflows become repeated and domain-specific, agent memory and reusable skills become increasingly important: agents should be able to recall workflow patterns, execution constraints, and user preferences from previous runs.

Show full abstract

We study this problem in workflow-based image generation and introduce COMFYCLAW, an agentic skill evolution harness for controlling ComfyUI workflows. COMFYCLAW formulates workflow construction as typed graph editing, exposes tools organized by construction stage, automatically reverts invalid edits, and uses a region-level vision-language model (VLM) verifier to translate visual failures into actionable repair suggestions. The framework further evolves a progressively disclosed skill library, where trajectories, execution errors, and verifier feedback from previous runs are distilled into reusable Agent Skills. Across four benchmark splits, three agent models, and two image backbones, COMFYCLAW achieves the best average image-generation evaluation score across all six agent configurations, outperforming a verifier-only baseline without skill evolution. Human annotations further show that annotators prefer COMFYCLAW over variants without skill evolution. Our results suggest that skill evolution is an effective mechanism for improving agent reliability and performance in recurring visual workflow construction.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026comfyclaw,
  title  = {COMFYCLAW: Self-Evolving Skill Harnesses for Image Generation Workflows},
  author = {Zongxia Li and Dawei Liu and Fuxiao Liu and Yuhang Zhou and Xiyang Wu and Jingxi Chen and Jing Xie and Xiaomin Wu and Lichao Sun},
  year   = {2026},
  eprint = {2607.01709},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.01709v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.01709.svg)](https://codeofpaper.com/paper/2607.01709)

Discussion