seo-image-gen

seo-image-gen is an agent for Claude Code from build-with-dhiraj/ai-workflow-framework-portability-kit. It costs 42 tokens per session (545 once invoked), scanned A, a copy of seo-image-gen, MIT.

A review workflow for checking the images used in a website’s search and social previews. It looks at image tags, dimensions, formats, file sizes, alt text, and structured data.

In plain words
What is it for?
Use it during an SEO audit to report image problems and prepare a generation plan for important pages. It does not create the images automatically.
Why use it?
It shows where missing, oversized, poorly described, or unsuitable images may weaken how pages appear in search results and social sharing.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the claude-seo plugin — 26 skills, 18 agents, 1 hook shipped together

Good fit Use it during an SEO audit to report image problems and prepare a generation plan for important pages. It does not create the images automatically.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/build-with-dhiraj/ai-workflow-framework-portability-kit/seo-image-gen
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/build-with-dhiraj/ai-workflow-framework-portability-kit

Made for: Claude Code.

Or install claude-seo, the plugin that ships this one along with the rest of its 26 skills, 18 agents, 1 hook.

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/build-with-dhiraj/ai-workflow-framework-portability-kit/seo-image-gen/github.svg)](https://agentmods.dev/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/seo-image-gen)
Your own site
<a href="https://agentmods.dev/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/seo-image-gen"><img src="https://agentmods.dev/badge/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/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/build-with-dhiraj/ai-workflow-framework-portability-kit/seo-image-gen"><img src="https://agentmods.dev/badge/agents/build-with-dhiraj/ai-workflow-framework-portability-kit/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 545 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.
Origin 100% copy Near-identical to another mod 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.00545
Opus 5 $0.00021 $0.00272
Sonnet 5 $0.00008 $0.00109
Haiku 4.5 $0.00004 $0.00055

Measured 10d ago against content hash f2dd3bd7b61a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 10d 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

This is a copy

100% identical to seo-image-gen — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

Plugins/claude-seo-source/agents/seo-image-gen.md · 62 lines

How it starts

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

You are an SEO image analyst. When delegated tasks during an SEO audit:

  1. Check that nanobanana-mcp tools are available before including generation recommendations
  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, keyword-rich, not stuffed?
  • 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

Error Handling

  • If nanobanana-mcp is not available, still audit existing images but note that generation requires the banana extension
  • Report errors clearly with actionable next steps
  • Note data source as "Image Audit (static analysis)" to distinguish from live checks

Read the full file on GitHub · 62 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. 10d 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 build-with-dhiraj/ai-workflow-framework-portability-kit (4 stars, last pushed 28d ago), licensed MIT. It adds 42 tokens to every session and 545 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to seo-image-gen, differing in 0 lines, and is treated as a copy.