Comfy-agent configure_optimizations

install
source · Clone the upstream repo
git clone https://github.com/steliosot/comfy-agent
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/steliosot/comfy-agent "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/infra/configure_optimizations" ~/.claude/skills/steliosot-comfy-agent-configure-optimizations && rm -rf "$T"
manifest: skills/infra/configure_optimizations/SKILL.md
source content

configure_optimizations

Build an optimization profile for:

  • no optimization
  • deterministic node cache
  • graph memoization
  • model LRU
  • CPU offload
  • lazy loading
  • attention reuse
  • full stack

Returns:

  • workflow
    flags (
    cache_enabled
    ,
    memoization_enabled
    , policy/size)
  • model_manager
    flags (
    max_models_in_vram
    ,
    enable_cpu_offload
    ,
    lazy_loading
    )
  • attention_reuse
    flags (
    threshold
    ,
    cache_device
    ,
    store_frequency
    ,
    reuse_layers
    )
  • python_snippet
    you can paste in scripts.