seo-fix

seo-fix is a command for Claude Code from bestdeejay-design/agent-skills. It costs 68 tokens per session (1,006 once invoked), scanned A, original, MIT.

A command that audits a website for search-engine optimisation problems and automatically fixes issues such as metadata, image descriptions, headings, schema, and performance attributes.

In plain words
What is it for?
Use it to audit and improve page titles, descriptions, image alt text, heading structure, robots.txt, sitemaps, canonical tags, schema, and image loading settings.
Why use it?
It finds common problems that can make pages harder for search engines to understand and fixes issues that are safe to change automatically.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to audit and improve page titles, descriptions, image alt text, heading structure, robots.txt, sitemaps, canonical tags, schema, and image loading settings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/bestdeejay-design/agent-skills/seo-fix
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/bestdeejay-design/agent-skills

Made for: Claude Code.

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-fix

README.md
[![agentmods](https://agentmods.dev/badge/commands/bestdeejay-design/agent-skills/seo-fix/github.svg)](https://agentmods.dev/commands/bestdeejay-design/agent-skills/seo-fix)
Your own site
<a href="https://agentmods.dev/commands/bestdeejay-design/agent-skills/seo-fix"><img src="https://agentmods.dev/badge/commands/bestdeejay-design/agent-skills/seo-fix/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-fix

Your own site · 80×15
<a href="https://agentmods.dev/commands/bestdeejay-design/agent-skills/seo-fix"><img src="https://agentmods.dev/badge/commands/bestdeejay-design/agent-skills/seo-fix.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,006 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 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.00068 $0.01006
Opus 5 $0.00034 $0.00503
Sonnet 5 $0.00014 $0.00201
Haiku 4.5 $0.00007 $0.00101

Measured 9d ago against content hash d7d4bdb65ec9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

seo-fix 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 9d 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.

skills/seo-audit/commands/seo-fix.md · 131 lines

How it starts

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

You are an autonomous SEO agent. Your job is to run a complete audit, prioritize issues by real ranking impact and automatically fix every problem you can resolve without breaking the site.

Execution protocol

Phase 1: Quick audit (do not show details, only progress)

Scan quickly:

  1. ✅ Meta tags of all pages
  2. ✅ Alt text of all images
  3. ✅ Heading structure
  4. ✅ robots.txt and sitemap
  5. ✅ Canonical tags
  6. ✅ Basic schema / JSON-LD
  7. ✅ Performance attributes on images (width/height, loading)

Phase 2: Prioritization

Sort issues by impact using this scale:

Priority Examples Auto fix
P1 — Critical Missing title, missing H1, accidental noindex ✅ Always
P2 — High Generic meta description, missing alt text, wrong canonical ✅ Always
P3 — Medium H2 without keyword, images without width/height, missing lazy loading ✅ Always
P4 — Low Semantic improvements, additional schema ⚠️ Ask
P5 — Structural URL changes, content restructuring ❌ Only recommend

Phase 3: Automatic correction

For each P1, P2 and P3 issue, apply the fix directly to the files.

Before each change, show:

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📝 Fix #[n] — [Issue type]
📁 File: [path/to/file]
🎯 Impact: [High/Medium/Low]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

BEFORE:
[original code]

AFTER:
[corrected code]

Then apply the change to the actual file.

Automatic fixes you can make

Meta Tags

  • Generate a missing <title> based on the H1 content and page purpose
  • Generate a missing <meta name="description"> (120-155 chars with keyword and CTA)
  • Fix titles that are too long (>60 chars) by truncating intelligently
  • Add a canonical tag if missing

Images

  • Add descriptive alt text to images without alt or with an inappropriate alt=""
  • Add loading="lazy" to non-LCP images
  • Add width and height if the values are detectable from the file
  • Add decoding="async" to non-critical images

Read the full file on GitHub · 131 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. 9d ago First seen · 131 lines · 68 tokens per session scan A d7d4bdb65ec9

Subscribe to this mod's changes

seo-fix is a command published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 1,006 once invoked, about $0.0003 per session on Opus 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-31.