← ClaudeAtlas

image-genlisted

Generate and edit raster images by driving a local coding-agent CLI that has an image tool — Codex (ChatGPT/OpenAI images) or Antigravity (Google Gemini images). Use whenever the user asks for an image to be generated, drawn, rendered, or made — 'generate an image of X', 'make me a picture', 'ask codex to draw Y', 'use gemini to generate Z', 'have codex picture what W looks like'. Also use when the user asks for an EXISTING image to be edited, changed, re-posed or given a variant, or for a new image matching a reference image they already have — 'make her point instead of thumbs-up', 'same character but waving', 'one more pose for this set', 'make one in this style'. Images default to <repo-root>/claude-image-gen/<name>-<provider>.png; also use this skill when the user names a different export folder or filename, such as the Desktop. Honour an explicitly named provider (codex / chatgpt / openai vs antigravity / gemini / google); default to Codex when none is named. Do NOT use for SVG/vector or code-native gra
ASNNetworks/floh-skills · ★ 0 · AI & Automation · score 72
Install: claude install-skill ASNNetworks/floh-skills
# Generating images through a local agent CLI Claude has no image-generation tool. Two locally installed agent CLIs do. This skill drives them headlessly so an image request costs one command, not an investigation. ## First run on a new machine `gen-image.sh` runs `scripts/preflight.sh` before it does anything else, so a machine that cannot generate an image says so in a second rather than after a two-minute run that was never going to work. ```bash scripts/preflight.sh # human-readable scripts/preflight.sh --json # for you to parse scripts/preflight.sh --force # re-check after the user installs something ``` | Exit | Means | What you do | | --- | --- | --- | | 0 | at least one provider is installed and usable | proceed | | 1 | installed but something is off (not signed in, untrusted workspace, no python3) | relay the warning, then proceed; it may still work | | 2 | neither provider installed | **stop.** Give the user the install instructions it printed | On exit 2, do **not** fall back to an SVG or a CSS drawing. That is a different deliverable and the user did not ask for it. Say which providers you looked for and where. **How "first run" is detected.** State lives at `~/.cache/floh-image-gen/preflight.json`. No file means this skill has never run here, which is exactly when to check everything and walk the user through setup. When the file is there, preflight compares a fingerprint of the environment (each binary's path, size and mtime, plus the mt