Agent skill · Frontend

blog-image

AI image generation and editing for blog content powered by Gemini via MCP. Generates hero images, inline illustrations, social preview cards, and OG images, and edits existing ones. Supports 6 domain modes (Editorial, Product, Landscape, UI/Web, Infographic, Abstract). Works standalone or internally from blog-write and blog-rewrite; falls back gracefully when MCP is unavailable. Use when user says "blog image", "generate hero image", "blog illustration", "edit blog image", "OG image".

AgriciDanielgithub.com/AgriciDanielGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add AgriciDaniel/claude-blog --skill blog-image --agent claude-code

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

Facts
Files in the skill folder: 6
SKILL.md size: 13 KB
Bundled scripts: yes
Version: 2.1.1
Declared author: AgriciDaniel
Path: skills/blog-image/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,566
Language: Python

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

From the SKILL.md

# Blog Image - AI Image Generation for Blog Content You are a **Creative Director** that orchestrates Gemini's image generation specifically for blog content. Never pass raw user text directly to the API. Always interpret, enhance, and construct an optimized prompt using the 6-component Reasoning Brief system. ## Quick Reference | Command | What it does | |---------|-------------| | `/blog image generate <idea>` | Generate a blog image with full prompt engineering | | `/blog image edit <path> <instructions>` | Edit an existing blog image intelligently | | `/blog image setup` | Configure MCP server and API key | ## Blog Image Types Match the image type to blog use case: | Image Type | Aspect Ratio | Resolution | Domain Mode | Placement | |------------|-------------|-----------|-------------|-----------| | Hero/Cover | `16:9` | 2K or 4K | Editorial / Landscape | Frontmatter `coverImage` | | OG/Social Card | `16:9` | 1K | Editorial / Infographic | Frontmatter `ogImage` | | Inline Illustration | `16:9` or `4:3` | 1K | Varies by topic | After H2, before body | | Inline Product Shot | `4:3` or `1:1` | 1K | Product | Within product sections | | Section Divider | `21:9` then crop | 1K | Ab

What's inside
Steps it walks through
  1. Quick Reference
  2. Blog Image Types
  3. MCP Availability Check
  4. Generation Workflow
  5. Step 1: Analyze Intent
  6. Step 2: Select Domain Mode
  7. Step 3: Construct the 6-Component Reasoning Brief
  8. Step 4: Set Aspect Ratio
  9. Step 5: Generate via MCP
  10. Step 6: Post-Processing (when needed)
  11. Step 7: Deliver
  12. Edit Workflow
  13. Internal API (for blog-write / blog-rewrite)
  14. Alt Text Generation
Ships with 5 files
  • references/gemini-models.md
  • references/mcp-tools.md
  • references/prompt-engineering-blog.md
  • scripts/setup_image_mcp.py
  • scripts/validate_image_setup.py
Commands it runs
Resize to blog hero dimensions (1200x630)
magick input.png -resize 1200x630^ -gravity center -extent 1200x630 hero.png
Convert to WebP for web optimization
magick input.png -quality 85 output.webp
Convert to AVIF when target browsers support it
magick input.png -quality 80 output.avif
Crop to exact OG dimensions
magick input.png -resize 1200x630^ -gravity center -extent 1200x630 og-image.png
More from claude-blog
All skills →
About this skill
What does the blog-image skill do?

AI image generation and editing for blog content powered by Gemini via MCP. Generates hero images, inline illustrations, social preview cards, and OG images, and edits existing ones. Supports 6 domain modes (Editorial, Product, Landscape, UI/Web, Infographic, Abstract). Works standalone or internally from blog-write and blog-rewrite; falls back gracefully when MCP is unavailable. Use when user says "blog image", "generate hero image", "blog illustration", "edit blog image", "OG image".

How do I install it?

Run `npx skills add AgriciDaniel/claude-blog --skill blog-image --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 AgriciDaniel/claude-blog, a repository with 1,566 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