# generate-image

generate-image — a Claude Code skill that creates and edits images through generate.py — logos, stickers, product mockups, t2i, i2i and multi-reference composites. It kicks in when you need a finished visual, not markup.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 276 repo stars
- Author: Samarth Gupta
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/gupsammy/Claudest/tree/HEAD/plugins/claude-content/skills/generate-image/SKILL.md
- Updated: 2026-10-29
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/samarth-gupta-generate-image

## What it does

The skill runs in Claude Code and handles image work end to end: text-to-image, edits driven by a reference, and frames built from several sources. It calls a Python script, `generate.py`, through `uv`, and has read access plus the ability to ask you questions. HTML/CSS mockups, diagrams and coded UI are outside its scope, so those requests pass it by.

Two things have to be in place: the `GEMINI_API_KEY` environment variable and the `uv` package manager. The flow is staged. The skill first pins down the mode and parameters — model, aspect ratio, resolution, output path — then writes the prompt, shows it to you for approval, and only then runs the script. For shots where pose or exact cropping matters, it suggests `--batch 3` or `--batch 4`; image generation is stochastic, and a precise directive lands roughly half the time. Anything you want kept out of the frame gets described as a positive alternative, since naming it under a negation pulls the model toward it.

With no path given, output lands in `~/Documents/generated images/`, and each image is paired with a `.md` file recording the prompt and model. Prompts are prose, not tag lists — the model reads a scene with spatial and mood context that comma-separated keywords drop. On hard geometry, adding every available constraint backfires: the skill locks only the attribute that is drifting.

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add gupsammy/Claudest
```
In the agent chat (not a shell):
```text
/plugin install claude-content@Claudest
```
This installs the whole claude-content plugin with all its skills

2. **Skills CLI (Vercel)**
```bash
npx skills add gupsammy/Claudest --skill generate-image -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/generate-image/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/generate-image/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add gupsammy/Claudest --skill generate-image -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/generate-image/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add gupsammy/Claudest --skill generate-image -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/generate-image/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install gupsammy/Claudest plugins/claude-content/skills/generate-image
```

2. **Manually: put the files in place**
- File: `.github/skills/generate-image/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add gupsammy/Claudest --skill generate-image -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/gupsammy/Claudest --path plugins/claude-content/skills/generate-image
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/generate-image/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/gupsammy/Claudest/tree/HEAD/plugins/claude-content/skills/generate-image/SKILL.md

## When to use it
- generate a logo or sticker from a written description
- edit a photo while changing a single element
- compose a shot from several reference images
- produce a product mockup for a listing
- land a precise frame by batching several variants

## Example prompts
- Generate a minimalist logo for a coffee shop
- Replace the background with a cool-neutral gray, leave the person untouched
- Compose a shot: the shirt from Image 2, the pose from Image 3, studio lighting

## Similar
- [linkfox-multimodal-generate-image](https://affpapa.org/en/nevibecode/skills/linkfox-multimodal-generate-image.md) — skill · 405 installs
- [nano-banana-image](https://affpapa.org/en/nevibecode/skills/nano-banana-image.md) — skill · 232 installs
- [nano-banana-pro](https://affpapa.org/en/nevibecode/skills/nano-banana-pro.md) — skill · 3200 installs
- [gpt-image-skill](https://affpapa.org/en/nevibecode/skills/gpt-image-skill.md) — skill · 156 installs
- [nano-banana-pro-openrouter](https://affpapa.org/en/nevibecode/skills/nano-banana-pro-openrouter.md) — skill · 9910 installs
- [image-gen](https://affpapa.org/en/nevibecode/skills/krishagel-image-gen.md) — skill · 4 installs

## Other versions with the same name
- [generate-image · k-dense-ai](https://affpapa.org/en/nevibecode/skills/k-dense-ai-generate-image.md) — 2200 installs
- [generate-image · github](https://affpapa.org/en/nevibecode/skills/generate-image.md) — 93 installs
- [generate-image · openclaudia](https://affpapa.org/en/nevibecode/skills/openclaudia-generate-image.md) — 360 installs
- [generate-image · laurigates](https://affpapa.org/en/nevibecode/skills/laurigates-generate-image.md) — 177 installs
- [generate-image · sateezg](https://affpapa.org/en/nevibecode/skills/sateezg-generate-image.md) — ★ 195 repo stars

From the same set: [gupsammy/claudest](https://affpapa.org/en/nevibecode/by/gupsammy/claudest.md) — 47 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
