AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

Blog Images & Image SEO

A six-step workflow that picks the right visual per slot, generates or captures it, compresses it, proofreads the text, and wires in SEO-complete image tags.

Marketing & SEOIntermediate★ 2,116⑂ 224AI score 9/10Last updated: Nov 20, 2026

What it does

It replaces the default AI blog visual (dark background, glowing wireframe icons, misspelled infographic labels, a 2.4 MB image-1.png with no dimensions) with a disciplined pipeline:

  • Step 0 – detect the framework (Next, Astro, Vite, Hugo, Jekyll) and use the repo's existing image directory
  • Step 1 – decision tree per slot: real Playwright screenshot for product UI, deterministic SVG chart for numbers, short-prompt generation for covers and concepts
  • Step 2 – prompt rules: 1–2 plain sentences, no neon/robot-arm clickbait, no mutable prices or rankings baked into static art
  • Step 3 – scaffold scripts/seo-image.mjs that both generates (OpenRouter) and compresses (sharp) into budgeted WebP/JPEG
  • Step 4 – open every output and read it letter by letter; after two garbled attempts switch the slot to zero-text
  • Step 5 – keyword kebab-case filenames, 80–160 char alt text, explicit width/height, eager hero vs lazy body images, 350 KB cover / 220 KB inline budgets
  • Step 6 – a shell audit that flags oversized files, generic filenames, and bad alt lengths, plus a done checklist

Who it's for

  • Technical bloggers on MDX, Astro, Next.js, Hugo, or Jekyll who want consistent, fast, searchable images
  • Teams losing Core Web Vitals points to CLS or heavy hero images
  • Reviewers and benchmark writers who need real screenshots and honest charts instead of hallucinated dashboards

Examples

  1. "Make a cover image for this post" → 16:9 short prompt, WebP compression, frontmatter/OG field wired up
  2. "Add a chart for these benchmark numbers" → self-contained 1536x864 SVG whose bar lengths come from the real values
  3. "Audit the images in this article" → prints FAIL lines for hero.webp, a 43-character alt, and a 480 KB inline image

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/Illyism/seo-skills/HEAD/content/seo-blog-images/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the content/seo-blog-images folder from the GitHub repo Illyism/seo-skills into my ~/.claude/skills/seo-blog-images/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/Illyism/seo-skills.git /tmp/seo-skills && mkdir -p ~/.claude/skills && cp -r /tmp/seo-skills/content/seo-blog-images ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the repo: git clone https://github.com/Illyism/seo-skills.git /tmp/seo-skills
  3. Create the skills folder: mkdir -p ~/.claude/skills
  4. Copy just this skill: cp -r /tmp/seo-skills/content/seo-blog-images ~/.claude/skills/
  5. (Optional, for generation) export a key: export OPENROUTER_API_KEY=sk-or-.... Without it, create the PNG with the agent's built-in image tool and use the script's --input compression mode.
  6. Install the compressor in your project: pnpm add -D sharp (or npm/bun/yarn). For screenshots, also run npx playwright install chromium.
  7. Restart Claude Code and ask something like "generate a cover image and audit image SEO for this blog post" to trigger the skill.