seo-image-gen

seo-image-gen is an agent for Claude Code from AgriciDaniel/claude-seo. It costs 42 tokens per session (683 once invoked), scanned A, original, MIT.

An SEO image reviewer that checks images used in search and social sharing. It audits preview images, image descriptions, formats, dimensions, file sizes, and image data in structured markup.

In plain words
What is it for?
Use it to audit OG images, schema images, alt text, image formats, and file sizes, then create a plan and prompts for images that may need to be made.
Why use it?
Missing, oversized, or poorly described images can lead to weak social previews, slower pages, and less useful information for search engines and assistive technology.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-seo plugin — 35 skills, 21 agents, 2 hooks shipped together

Good fit Use it to audit OG images, schema images, alt text, image formats, and file sizes, then create a plan and prompts for images that may need to be made.

Compare 6 agents from other repositories ↓
About the project

Claude SEO is an open-source Claude Code plugin that runs specialized agents and skills to audit websites across technical SEO, content quality, structured data, AI-search optimization, local and e-commerce SEO, and international SEO. SEO practitioners use it to produce prioritized recommendations based on primary-source guidance, with optional extensions for external data and crawling.

AgriciDaniel/claude-seo · 34,268 stars · on GitHub

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add AgriciDaniel/claude-seo
Claude Code
/plugin install claude-seo

Made for: Claude Code.

Or install claude-seo, the plugin that ships this one along with the rest of its 35 skills, 21 agents, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for seo-image-gen

README.md
[![agentmods](https://agentmods.dev/badge/agents/agricidaniel/claude-seo/seo-image-gen/github.svg)](https://agentmods.dev/agents/agricidaniel/claude-seo/seo-image-gen)
Your own site
<a href="https://agentmods.dev/agents/agricidaniel/claude-seo/seo-image-gen"><img src="https://agentmods.dev/badge/agents/agricidaniel/claude-seo/seo-image-gen/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for seo-image-gen

Your own site · 80×15
<a href="https://agentmods.dev/agents/agricidaniel/claude-seo/seo-image-gen"><img src="https://agentmods.dev/badge/agents/agricidaniel/claude-seo/seo-image-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 683 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Fable 5.1 · 6 Sept 2026 📄 Read the review
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.00683
Opus 5.5 $0.00017 $0.00273
Sonnet 5.5 $0.00008 $0.00137
Haiku 4.5 $0.00004 $0.00068

Measured 2d ago against content hash ecbf829662b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

seo-image-gen scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

agents/seo-image-gen.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are an SEO image analyst. /seo audit does not spawn you automatically; you run when a skill or the user delegates an image audit to you. When delegated:

  1. Fetch each audited page with "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py <url> --json and read its og:image, structured data, and image tags. Image generation is not available to this agent; the parent skill decides whether to generate
  2. Analyze the site's existing image strategy for SEO impact
  3. Output a structured generation plan. Never auto-generate (cost control)

Analysis Scope

For each audited page, evaluate:

  • OG image presence: Does og:image meta tag exist? Is it valid?
  • OG image quality: Correct dimensions (1200x630 minimum), professional appearance?
  • Schema images: Are ImageObject properties populated in structured data?
  • Alt text quality: Descriptive alt text that names the subject, not stuffed with keywords?
  • Image format: Using modern formats (WebP, AVIF) vs legacy (PNG, JPEG)?
  • Image file size: Under 200KB for hero, under 100KB for thumbnails?

Output Format

Match existing claude-seo patterns:

Image Audit Summary

Metric Value Status
Pages with OG images X/Y Pass/Fail
OG images correct size X/Y Pass/Fail
Schema ImageObject usage X/Y Pass/Fail
WebP/AVIF adoption X% Pass/Fail
Average image file size XKB Pass/Fail

Image Generation Plan

For each page missing or having low-quality images:

Page Issue Suggested Use Case Prompt Idea Priority
/homepage Missing OG image og Professional SaaS dashboard overview Critical
/blog/post-1 Low-res hero hero [contextual suggestion] High

Priority levels: Critical > High > Medium > Low

Recommendations

  • Prioritize pages by traffic volume (highest traffic = fix first)
  • Note estimated cost for full generation plan
  • Suggest batch generation for efficiency
  • Recommend WebP conversion pipeline for all generated assets

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed ecbf829662b0
  2. 1mo ago Changed · +9 lines 01d0941b0e39
  3. 3mo ago First seen · 62 lines · 42 tokens per session scan A f2dd3bd7b61a

Subscribe to this mod's changes

seo-image-gen is an agent published in the GitHub repository AgriciDaniel/claude-seo (34,268 stars, last pushed 2d ago), licensed MIT. It adds 42 tokens to every session and 683 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

seo-image-gen compared with agents from other repositories

seo-image-gen next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
seo-image-genAgriciDaniel/claude-seoAgent34k2d agoMITA42Claude Code
blog-reviewerAgriciDaniel/claude-blogAgent3.0ktodayMITA59Claude Code
blog-writerAgriciDaniel/claude-blogAgent3.0ktodayMITA52Claude Code
audit-cross-platformAgriciDaniel/claude-adsAgent12kyesterdayMITA33Claude Code
audit-platformAgriciDaniel/claude-adsAgent12kyesterdayMITA29Claude Code
research-workerAgriciDaniel/claude-adsAgent12kyesterdayMITA36Claude Code
skill-reviewerAgriciDaniel/claude-adsAgent12kyesterdayMITA30Claude Code