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: Image Generation4---56# Image Generation78AI image generation powered by OpenAI's GPT Image model (chatgpt-image-latest).910## Variables1112- **IMAGE_GEN_CLI_PATH**: `.claude/skills/image-gen/image_gen_cli/`1314## Instructions1516Run from IMAGE_GEN_CLI_PATH:17```bash18cd .claude/skills/image-gen/image_gen_cli/19uv run img --help # Discover all commands20uv run img generate --help # Image generation options21uv run img emojify --help # Discord emoji conversion22```2324## Naming Convention2526Images and emojis follow a strict naming convention:2728| Type | Format | Example |29|------|--------|---------|30| Source images | `word_word.png` (underscores) | `town_guard.png` |31| Discord emojis | `word-word.png` (hyphens) | `town-guard.png` |3233**Rules:**34- Names must have **at least 2 words**35- Source images use **underscores** (`_`)36- Emoji versions use **hyphens** (`-`)37- The `emojify` command auto-converts naming3839## Rules4041- **Requires OPENAI_API_KEY** - must be set in environment or .env42- **Cost aware** - high quality + large size = more tokens = higher cost43- **Discord emoji limits** - 128x128px recommended, 256KB max file size4445## Troubleshooting4647- **"OPENAI_API_KEY not found"**: Add `OPENAI_API_KEY=sk-...` to .env48- **"Rate limit exceeded"**: Wait and retry, or upgrade API tier49- **Emoji too large**: Use `--max-size` to target smaller file size
Run npx skillmds@latest 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.