imagegen · nexu-io — Claude Code skill: image generation via OpenAI
Skill for generating and editing images through OpenAI's Image API. Creates UI mockups, icons, illustrations, and social cards directly from prompts.
npx skills add nexu-io/open-design --skill imagegen -a claude-codeWhat imagegen does
imagegen connects your agent to OpenAI Image API for visual asset creation. It recognizes triggers like "generate image", "create image", "icon design", or "mockup" and invokes the skill automatically.
The skill runs on Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. You'll need an active OpenAI account with API access—imagegen calls the Image API directly.
What it helps with
- Generate a UI mockup from a text description
- Create a set of icons for a project
- Draw an illustration or visual reference
- Design a social media card
Example prompts for the agent
- Generate a mockup of a login button for a dashboard
- Create an icon for the search feature in my app
- Draw an illustration for an article about machine learning
How to install imagegen
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill imagegen -a claude-code2Manually: put the files in place
~/.claude/skills/imagegen/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/imagegen/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill imagegen -a codex2Manually: put the files in place
.agents/skills/imagegen/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill imagegen -a cursor2Manually: put the files in place
.cursor/skills/imagegen/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install nexu-io/open-design imagegen2Manually: put the files in place
.github/skills/imagegen/SKILL.md1Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill imagegen -a gemini-cli2Platform CLI
gemini skills install https://github.com/nexu-io/open-design --path skills/imagegenManually: put the files in place
.devin/skills/imagegen/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add nexu-io/open-design --skill imagegen -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
From the same set39
The whole set →Other versions of imagegen
Similar
Questions about imagegen
How do I install imagegen in Claude Code?
Run npx skills add nexu-io/open-design --skill imagegen -a claude-code, then verify the install at ~/.claude/skills/imagegen/SKILL.md.
What do I need to use imagegen?
An OpenAI API key with access to the Image API. imagegen calls OpenAI directly, so the key is required.
Which platforms support imagegen?
Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Installation command varies by platform.
Source text
SKILL.md · Apache-2.0
--- name: imagegen description: | Generate and edit images using OpenAI's Image API for project assets — UI mockups, icons, illustrations, social cards, and visual references. triggers: - "generate image" - "create image" - "image gen" - "openai image" - "icon design" - "mockup" od: mode: image category: image-generation upstream: "https://github.com/openai/skills" --- # imagegen > Curated from OpenAI's skills repository. ## What it does Generate and edit images using OpenAI's Image API for project assets — UI mockups, icons, illustrations, social cards, and visual references. ## Source - Upstream: https://github.com/openai/skills - Category: `image-generation` ## How to use This catalogue entry advertises the skill in OpenDesign so the agent discovers it during planning. To run the full upstream workflow with its original assets, scripts, and references, install the upstream bundle into your active agent's skills directory: ```bash # Inspect the upstream README for exact paths open https://github.com/openai/skills ``` Then ask the agent to invoke this skill by name (`imagegen`) or with one of the trigger phrases listed in this skill's frontmatter.
© nexu-io · Apache-2.0 · nexu-io/open-design