Agent skill · AI & Agents

image-generation

AI-powered image generation and editing using Gemini. Use when Claude needs to: (1) Generate images from text descriptions, (2) Edit existing images with instructions, (3) Create infographics or charts, (4) Generate visual assets for reports/presentations, (5) Work with .png, .jpg, .jpeg, .webp files for editing.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill image-generation-kjdragan-universal-agent-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/ai-llm/image-generation-kjdragan-universal-agent-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Image Generation & Editing ## Overview Generate and edit images using Gemini 2.5 Flash Image model via MCP tools. ## Quick Start ### Text-to-Image Generation ```python result = generate_image( prompt="A modern infographic showing renewable energy statistics", output_dir="/path/to/work_products/media" ) ``` ### Image Editing ```python result = generate_image( prompt="Change the background to a sunset over mountains", input_image_path="/path/to/original.png", output_dir="/path/to/work_products/media" ) ``` ### Preview Generated Image ```python # Auto-launch viewer after generation result = generate_image( prompt="Blue square with rounded corners", preview=True # Opens Gradio viewer ) # Or preview any existing image preview_image("/path/to/image.png") ``` ## Available Tools ### `generate_image` Primary tool for image generation and editing. **Parameters**: - `prompt` (required): Text description or edit instruction - `input_image_path` (optional): Path to source image for editing - `output_dir` (optional): Output directory (defaults to `work_products/media/`) - `output_filename` (optional): Custom filename (auto-generated if not provided) - `preview` (optional): Launch Gradio viewer

What's inside
Steps it walks through
  1. Overview
  2. Quick Start
  3. Text-to-Image Generation
  4. Image Editing
  5. Preview Generated Image
  6. Available Tools
  7. generateimage
  8. describeimage
  9. previewimage
  10. Best Practices
  11. Prompt Crafting
  12. Examples
  13. Integration with Other Skills
  14. Reports (report-creation-expert)
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the image-generation skill do?

AI-powered image generation and editing using Gemini. Use when Claude needs to: (1) Generate images from text descriptions, (2) Edit existing images with instructions, (3) Create infographics or charts, (4) Generate visual assets for reports/presentations, (5) Work with .png, .jpg, .jpeg, .webp files for editing.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill image-generation-kjdragan-universal-agent-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going