image-generation · zc277584121 — Claude Code skill: what it does, install
This skill creates illustrations, diagrams, and other visuals for articles and docs. It chooses between Codex, OpenAI API, and Gemini paths.
npx skills add zc277584121/marketing-skills --skill image-generation -a claude-codeWhat image-generation does
The skill creates raster visuals for blog posts, technical writing, and documentation. Ask for a concept illustration, an architecture diagram, or a visual explanation of a workflow. In Codex, the built-in route is the best first option because it does not need OPENAI_API_KEY when image_gen is available.
Outside Codex, the skill runs scripts/generate_image.py. With auto, the script tries OpenAI through OPENAI_API_KEY, then switches to Gemini with GEMINI_API_KEY if the first route cannot generate the image. You can set the provider, model, aspect ratio, image size, and style prefix. The script defaults to English prompts, a 16:9 ratio, 1K output, and a clean minimalist style.
API generation requires the matching provider key. The Codex route depends on access to the built-in image_gen; when that tool is unavailable, the workflow falls back to the script and checks the provider credentials.
What it helps with
- create an illustration for an article
- draw an architecture diagram
- prepare a visual for documentation
- switch generation from OpenAI to Gemini
- set an image ratio and size
Example prompts for the agent
- Create an illustration for the article about vector search and save it as
images/vector-search.png. - Draw a system architecture diagram with arrows showing data flow and use a
16:9canvas. - Generate the image through an API at
2Ksize, using a clean technical illustration style.
How to install image-generation
1Skills CLI (Vercel)
npx skills add zc277584121/marketing-skills --skill image-generation -a claude-code2Manually: put the files in place
~/.claude/skills/image-generation/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/image-generation/
1Skills CLI (Vercel)
npx skills add zc277584121/marketing-skills --skill image-generation -a codex2Manually: put the files in place
.agents/skills/image-generation/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add zc277584121/marketing-skills --skill image-generation -a cursor2Manually: put the files in place
.cursor/skills/image-generation/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install zc277584121/marketing-skills image-generation2Manually: put the files in place
.github/skills/image-generation/SKILL.md1Skills CLI (Vercel)
npx skills add zc277584121/marketing-skills --skill image-generation -a gemini-cli2Platform CLI
gemini skills install https://github.com/zc277584121/marketing-skills --path skills/image-generationManually: put the files in place
.devin/skills/image-generation/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add zc277584121/marketing-skills --skill image-generation -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about image-generation
How do I install image-generation in Claude Code?
Run npx skills add zc277584121/marketing-skills --skill image-generation -a claude-code. The skill file will be placed at ~/.claude/skills/image-generation/SKILL.md.
What does image-generation do?
It creates illustrations, diagrams, and other raster visuals for articles and documentation. The workflow can use Codex’s built-in route, OpenAI API, or Gemini.
Which API keys does image-generation use?
The script tries OPENAI_API_KEY first and uses GEMINI_API_KEY if the OpenAI route fails or is unavailable. Codex’s built-in route does not require OPENAI_API_KEY.
Similar skills
Everything for Design →image-generation by other authors comes first.