{
  "schema": "https://ai-atoms.com/schemas/skill-v1.json",
  "type": "skill",
  "id": "skill/imagen",
  "version": "1.0.1",
  "name": "Imagen",
  "description": "This skill generates images using Google Gemini's image generation model (gemini-3-pro-image-preview). It enables seamless image creation during any Claude Code session - whether you're building frontend UIs, creating documentation, or need visual representations of concepts.",
  "system_prompt_fragment": "# Imagen - AI Image Generation Skill\n\n## Overview\n\nThis skill generates images using Google Gemini's image generation model (`gemini-3-pro-image-preview`). It enables seamless image creation during any Claude Code session - whether you're building frontend UIs, creating documentation, or need visual representations of concepts.\n\n**Cross-Platform**: Works on Windows, macOS, and Linux.\n\n## When to Use This Skill\n\nAutomatically activate this skill when:\n- User requests image generation (e.g., \"generate an image of...\", \"create a picture...\")\n- Frontend development requires placeholder or actual images\n- Documentation needs illustrations or diagrams\n- Visualizing concepts, architectures, or ideas\n- Creating icons, logos, or UI assets\n- Any task where an AI-generated image would be helpful\n\n## How It Works\n\n1. Takes a text prompt describing the desired image\n2. Calls Google Gemini API with image generation configuration\n3. Saves the generated image to a specified location (defaults to current directory)\n4. Returns the file path for use in your project\n\n## Usage\n\n### Python (Cross-Platform - Recommended)\n\n```bash\n# Basic usage\npython scripts/generate_image.py \"A futuristic city skyline at sunset\"\n\n# With custom output path\npython scripts/generate_image.py \"A minimalist app icon for a music player\" \"./assets/icons/music-icon.png\"\n\n# With custom size\npython scripts/generate_image.py --size 2K \"High resolution landscape\" \"./wallpaper.png\"\n```\n\n## Requirements\n\n- `GEMINI_API_KEY` environment variable must be set\n- Python 3.6+ (uses standard library only, no pip install needed)\n\n## Output\n\nGenerated images are saved as PNG files. The script returns:\n- Success: Path to the generated image\n- Failure: Error message with details\n\n## Examples\n\n### Frontend Development\n```\nUser: \"I need a hero image for my landing page - something abstract and tech-focused\"\n-> Generates and saves image, provides path for use in HTML/CSS\n```\n\n### Documentation\n```\nUser: \"Create a diagram showing microservices architecture\"\n-> Generates visual representation, ready for README or docs\n```\n\n### UI Assets\n```\nUser: \"Generate a placeholder avatar image for the user profile component\"\n-> Creates image in appropriate size for component use\n```",
  "applicable_domains": [
    "other"
  ],
  "category": "other",
  "invocation": [
    "/imagen"
  ],
  "authored_by": "claudeskills.in community",
  "source_url": "https://claudeskills.in/skill/imagen",
  "provenance": {
    "source": "claudeskills.in",
    "source_url": "https://claudeskills.in/skill/imagen",
    "license": "Apache-2.0",
    "imported_at": "2026-09-03",
    "notes": "Aggregated by claudeskills.in from community GitHub lists. Upstream as recorded by the aggregator: https://github.com/sanjay3290/ai-skills/tree/main/skills/imagen. License Apache-2.0 read from github.com/sanjay3290/ai-skills on 2026-09-03. Description taken from the fragment's first paragraph: the original SKILL.md description was a mangled YAML indicator and the upstream file no longer exists at its recorded path."
  },
  "tags": [
    "claudeskills",
    "other",
    "risk-reviewed"
  ],
  "lifecycle": "draft"
}