openai-image-gen
Generate images using OpenAI's DALL-E 3 API via command line.
Works with
1
total installs
1
this week
43
GitHub stars
0
upvotes
Install Skill
Run in your terminal
1
installs
1
this week
43
stars
Installation Guide
How to use openai-image-gen on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your machine
- ›Node.js 16+ with npm — verify with
node --version - ›Active project directory where you want to add
openai-image-gen
Run the install command
Execute the skills CLI command in your project's root directory to begin installation:
Fetches openai-image-gen from 0xbigboss/claude-code and configures it for Cursor.
Select Cursor when prompted
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate openai-image-gen. Access via /openai-image-gen in your agent's command palette.
Security Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Documentation
OpenAI Image Generation (DALL-E 3)
Generate images using OpenAI's DALL-E 3 API via command line.
Quick Usage
# Generate an image with a prompt
~/.claude/skills/openai-image-gen/generate.sh "your prompt here" output.png
# Generate with specific size
~/.claude/skills/openai-image-gen/generate.sh "your prompt here" output.png 1792x1024
# Generate with quality setting
~/.claude/skills/openai-image-gen/generate.sh "your prompt here" output.png 1024x1024 hd
Parameters
| Parameter | Options | Default | Description |
|---|---|---|---|
| prompt | any text | required | The image description |
| output | filepath | required | Where to save the image |
| size | 1024x1024, 1792x1024, 1024x1792 | 1024x1024 | Image dimensions |
| quality | standard, hd | standard | Image quality (hd = more detail) |
Size Guide
- 1024x1024 - Square, good for icons, avatars, general use
- 1792x1024 - Landscape/wide, good for headers, banners, hero images
- 1024x1792 - Portrait/tall, good for mobile backgrounds, vertical banners
Gothic Cathedral Presets
Pre-made prompts for the 0xbigboss.github.io site:
Backgrounds
# Dark stone texture
~/.claude/skills/openai-image-gen/generate.sh "Dark cathedral stone wall texture, seamless tileable pattern, deep charcoal gray with subtle purple undertones, weathered medieval masonry, dramatic shadows, gothic architecture, 4k texture, dark moody atmosphere" stone-bg.png 1024x1024
# Vaulted ceiling
~/.claude/skills/openai-image-gen/generate.sh "Gothic cathedral ribbed vault ceiling view from below, deep blue-black with gold leaf accent lines on ribs, dramatic perspective, medieval architecture, dim candlelit glow, ornate stone carvings fading into darkness, atmospheric fog, 4k" vault-ceiling.png 1792x1024
Hero Images
# Homepage - Light rays
~/.claude/skills/openai-image-gen/generate.sh "Divine light rays streaming through gothic cathedral rose window, deep purple and blue stained glass, golden light beams cutting through darkness, dust particles floating in light, medieval stone interior, dramatic chiaroscuro, cinematic lighting, 4k" hero-home.png 1792x1024 hd
# Projects - Craftsman workshop
~/.claude/skills/openai-image-gen/generate.sh "Medieval craftsman's workshop, golden tools on dark wood workbench, gothic arched window in background, warm candlelight, scrolls and blueprints, brass instruments, artisan craftsmanship aesthetic, dramatic shadows, cinematic still life" hero-projects.png 1792x1024 hd
# Posts - Scriptorium
~/.claude/skills/openai-image-gen/generate.sh "Ancient scriptorium desk with illuminated manuscript, quill pen and gold ink pot, gothic window with blue light, leather-bound journals stacked, medieval monastery aesthetic, dramatic rim lighting, warm golden candlelight against cool window light" hero-posts.png 1792x1024 hd
# Contact - Cathedral door
~/.claude/skills/openai-image-gen/generate.sh "Gothic cathedral door slightly ajar with divine light streaming through crack, ornate iron hinges and handles, carved stone archway frame, welcoming yet mysterious, invitation to enter, dramatic lighting, medieval aesthetic" hero-contact.png 1792x1024 hd
Stained Glass Windows
# Projects window
~/.claude/skills/openai-image-gen/generate.sh "Gothic stained glass window design, geometric pattern, deep purple and blue glass with gold leading, hammer and gear symbols, craftsman iconography, backlit with divine rays, ornate pointed arch frame, dark background, digital art" window-projects.png 1024x1024 hd
# Posts window
~/.claude/skills/openai-image-gen/generate.sh "Gothic stained glass window design, open book and quill symbols, deep blue and purple glass with gold leading, medieval manuscript aesthetic, backlit glow, pointed arch frame, ornate tracery pattern, dark background, digital art" window-posts.png 1024x1024 hd
# Contact window
~/.claude/skills/openai-image-gen/generate.sh "Gothic stained glass window design, dove and reaching hand symbols, deep purple and gold glass, connection iconography, divine light streaming through, pointed arch frame, ornate leading pattern, dark background, digital art" window-contact.png 1024x1024 hd
Decorative Elements
# Logo monogram
~/.claude/skills/openai-image-gen/generate.sh "Medieval illuminated manuscript style monogram letters AE, gold leaf with deep blue and purple accents, ornate flourishes and Celtic knotwork, gothic calligraphy style, intricate detail, dark background, luxury heraldic aesthetic" logo-ae.png 1024x1024 hd
# Divider
~/.claude/skills/openai-image-gen/generate.sh "Medieval ornate horizontal divider, gold filigree on dark background, gothic scrollwork pattern, symmetrical design, thin elegant line with central medallion, Celtic knotwork accents, digital art, isolated element" divider.png 1792x1024
# Light ray overlay
~/.claude/skills/openai-image-gen/generate.sh "Divine light rays streaming from top, volumetric god rays, dust particles floating, golden warm light on pure black background, cathedral lighting effect, subtle and ethereal, digital art" light-overlay.png 1792x1024
Batch Generation
Generate all Gothic presets at once:
cd ~/path/to/your/project/public/images
~/.claude/skills/openai-image-gen/batch-gothic.sh
Tips for Better Results
- Be specific - More detail = better results
- Include style keywords - "4k", "cinematic", "digital art", "photorealistic"
- Specify lighting - "dramatic shadows", "rim lighting", "candlelit"
- Mention perspective - "from below", "bird's eye view", "close-up"
- Use quality=hd for hero images and important assets
Troubleshooting
"Invalid API key" - Check echo $OPENAI_API_KEY is set
"Content policy violation" - Rephrase prompt to avoid flagged content
Image looks wrong - DALL-E interprets prompts creatively; try multiple generations or refine prompt
Cost Reference
DALL-E 3 pricing (as of 2024):
- Standard 1024x1024: ~$0.04/image
- Standard 1792x1024 or 1024x1792: ~$0.08/image
- HD 1024x1024: ~$0.08/image
- HD 1792x1024 or 1024x1792: ~$0.12/image
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases
Task Automation & Efficiency
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Knowledge Enhancement
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Quality Improvement
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
Implementation Guide
Prerequisites
- ›Claude Desktop or compatible AI client with skill support
- ›Clear understanding of task or problem to solve
- ›Willingness to iterate and refine outputs
Time Estimate
15-45 minutes depending on use case complexity
Steps
- 1Install skill using provided installation command
- 2Test with simple use case relevant to your work
- 3Evaluate output quality and relevance
- 4Iterate on prompts to improve results
- 5Integrate into regular workflow if valuable
Common Pitfalls
- ⚠Expecting perfect results without iteration
- ⚠Not providing enough context in prompts
- ⚠Using skill for tasks outside its intended scope
- ⚠Accepting outputs without review and validation
Best Practices
✓ Do
- +Start with clear, specific prompts
- +Provide relevant context and constraints
- +Review and refine all outputs before using
- +Iterate to improve output quality
- +Document successful prompt patterns
✗ Don't
- −Don't use without understanding skill limitations
- −Don't skip validation of outputs
- −Don't share sensitive information in prompts
- −Don't expect skill to replace human judgment
💡 Pro Tips
- ★Be specific about desired format and style
- ★Ask for multiple options to choose from
- ★Request explanations to understand reasoning
- ★Combine AI efficiency with human expertise
When to Use This
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
Learning Path
- 1Familiarize yourself with skill capabilities and limitations
- 2Start with low-risk, non-critical tasks
- 3Progress to more complex and valuable use cases
- 4Build expertise through regular use and experimentation
Related Skills
react-best-practices
50xbigboss/claude-code
modly-image-to-3d
26aradotso/trending-skills
image-to-code
5Leonxlnx/taste-skill
ml-paper-writing
65davila7/claude-code-templates
beautiful-mermaid
19intellectronica/agent-skills
llm-council
18am-will/codex-skills
Reviews
- PPratham Ware★★★★★Dec 12, 2024
openai-image-gen reduced setup friction for our internal harness; good balance of opinion and flexibility.
- AAanya Jackson★★★★★Dec 4, 2024
We added openai-image-gen from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- DDaniel Jain★★★★★Dec 4, 2024
openai-image-gen reduced setup friction for our internal harness; good balance of opinion and flexibility.
- AAmelia Huang★★★★★Nov 23, 2024
I recommend openai-image-gen for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- YYash Thakker★★★★★Nov 3, 2024
I recommend openai-image-gen for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- DDhruvi Jain★★★★★Oct 22, 2024
Useful defaults in openai-image-gen — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- AAmelia Rahman★★★★★Oct 14, 2024
Useful defaults in openai-image-gen — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- OOshnikdeep★★★★★Sep 13, 2024
openai-image-gen is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- HHana Okafor★★★★★Sep 1, 2024
openai-image-gen reduced setup friction for our internal harness; good balance of opinion and flexibility.
- DDaniel Zhang★★★★★Aug 24, 2024
Keeps context tight: openai-image-gen is the kind of skill you can hand to a new teammate without a long onboarding doc.
showing 1-10 of 25
Discussion
Comments — not star reviews- No comments yet — start the thread.