← ClaudeAtlas

generate-imagelisted

Generate project-bound raster assets with this repository's local ComfyUI and FLUX setup. Use when asked to create game icons, character portraits, card art, map thumbnails, or other PNG assets that should be saved in the Unity project rather than merely previewed in chat.
KonH/GlobalStrategy · ★ 2 · AI & Automation · score 68
Install: claude install-skill KonH/GlobalStrategy
# Generate Game Image Use the local ComfyUI server and the repository's reusable scripts. This skill is the canonical Codex workflow for the embedded image-generation setup. ## Environment rules - Do not use this skill from a Ralph `code-only` or `full-env-headless` run. Those environments must leave Unity and image work untouched. - Keep generated project assets under their intended `Assets/` path and do not overwrite an existing asset unless the request explicitly calls for it. - Never substitute a hosted generator, placeholder service, stock-image URL, or emoji glyph for a required game asset. ## Ensure ComfyUI is ready 1. Check `http://127.0.0.1:8188/system_stats`. 2. If it is unavailable and `ComfyUI/run_nvidia_gpu.bat` exists, start it in a hidden detached process, then poll the endpoint for up to two minutes. 3. If it is unavailable and ComfyUI is not installed, run the bundled resumable installer in the background: ```powershell Start-Process -FilePath ".venv\Scripts\python.exe" ` -ArgumentList ".codex\skills\generate-image\scripts\setup_comfyui.py --project-root ." ` -WorkingDirectory (Get-Location) -WindowStyle Hidden ` -RedirectStandardOutput ".tmp\comfyui_setup.log" ` -RedirectStandardError ".tmp\comfyui_setup.err" ``` Read the log periodically. The installer downloads the portable NVIDIA build and the non-gated FLUX.1-schnell checkpoint, VAE, and text encoders; it resumes partial downloads. When it reports `=== All done ===`