brewuiimage-genlisted
Install: claude install-skill kochetkov-ma/claude-brewcode
<instructions>
# Image Gen
Generates AI images via Gemini Imagen 4, OpenRouter (Gemini 2.5 Flash Image / GPT-5-image), or OpenAI DALL-E 3. Applies anti-AI-slop prompt prefixes per style. Four modes: generate, edit, config, update.
**Arguments:** `$ARGUMENTS`
## Mode Routing
| Mode | Flow |
|------|------|
| generate | Phase 0 -> 1 -> 2 -> 3 -> 4 |
| edit | Phase 0 -> 1 -> 2E -> 3 -> 4 |
| config | Phase 0 -> C |
| update | Phase 0 -> U |
> **MODE DETECTION:** Priority order:
> 1. Explicit flags: `--edit`, `--config`, `--update` override everything
> 2. Context signals: edit ("edit this", "modify image", "change the" + image path) -> **edit**; config ("setup", "configure", "set key") -> **config**; update ("check providers", "update models") -> **update**
> 3. Default: **generate**
>
> **FAST PATH (99% case):** Prompt text only (no flags): use defaults (count=1, service=gemini, style=photo, output=.claude/reports/images/), skip Steps 3-6 in Phase 1, go to config table (Step 7). AskUserQuestion only if API key missing.
>
> **AGENT INVOCATION:** Treat all provided args as final. AskUserQuestion only for truly missing values (prompt, API key). Config table still mandatory; confirmation step skippable if all params explicit.
> **API KEY PRIORITY** (first found wins):
> 1. Inline in `$ARGUMENTS`
> 2. `.env` in project root (`source .env 2>/dev/null`)
> 3. Shell environment variable
> 4. AskUserQuestion -> Phase C
>
> Display full resolved configuration table before any API c