cd .claude/skills/image-gen/image_gen_cli/
uv run img --help # Discover all commands
uv run img generate --help # Image generation options
uv run img emojify --help # Discord emoji conversion
Naming Convention
Images and emojis follow a strict naming convention:
Type
Format
Example
Source images
word_word.png (underscores)
town_guard.png
Discord emojis
word-word.png (hyphens)
town-guard.png
Rules:
Names must have at least 2 words
Source images use underscores (_)
Emoji versions use hyphens (-)
The emojify command auto-converts naming
Rules
Requires OPENAI_API_KEY - must be set in environment or .env
Cost aware - high quality + large size = more tokens = higher cost
Discord emoji limits - 128x128px recommended, 256KB max file size
Troubleshooting
"OPENAI_API_KEY not found": Add OPENAI_API_KEY=sk-... to .env
"Rate limit exceeded": Wait and retry, or upgrade API tier
Emoji too large: Use --max-size to target smaller file size
1---2name: image-generation-33description: "Generate images using OpenAI's GPT Image model. Use for creating images from text prompts. Keywords: image, generate, openai, gpt-image, dalle, picture, art, create."4metadata:5 source: https://skillmd.com/skills/diegosouzapw/image-generation-36---78# Image Generation910AI image generation powered by OpenAI's GPT Image model (chatgpt-image-latest).1112## Variables1314- **IMAGE_GEN_CLI_PATH**: `.claude/skills/image-gen/image_gen_cli/`1516## Instructions1718Run from IMAGE_GEN_CLI_PATH:19```bash20cd .claude/skills/image-gen/image_gen_cli/21uv run img --help # Discover all commands22uv run img generate --help # Image generation options23uv run img emojify --help # Discord emoji conversion24```2526## Naming Convention2728Images and emojis follow a strict naming convention:2930| Type | Format | Example |31|------|--------|---------|32| Source images | `word_word.png` (underscores) | `town_guard.png` |33| Discord emojis | `word-word.png` (hyphens) | `town-guard.png` |3435**Rules:**36- Names must have **at least 2 words**37- Source images use **underscores** (`_`)38- Emoji versions use **hyphens** (`-`)39- The `emojify` command auto-converts naming4041## Rules4243- **Requires OPENAI_API_KEY** - must be set in environment or .env44- **Cost aware** - high quality + large size = more tokens = higher cost45- **Discord emoji limits** - 128x128px recommended, 256KB max file size4647## Troubleshooting4849- **"OPENAI_API_KEY not found"**: Add `OPENAI_API_KEY=sk-...` to .env50- **"Rate limit exceeded"**: Wait and retry, or upgrade API tier51- **Emoji too large**: Use `--max-size` to target smaller file size
Run npx get-skill add diegosouzapw/image-generation-3 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Image Generation It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: CAUTION, Skill Scanner: PASS. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
diegosouzapw (@diegosouzapw) published this skill. Their other Agent Skills are listed on their SkillMD profile.