/claude-seo-ai:compare <urlA> <urlB> [<urlC>…] | --baseline [latest] --against <url|run> | --staging <url> --prod <url> | <url> --gap "<query>"from Claude SEO AI
Compares SEO audit results between sites, baselines, staging deployments, or content gaps. Produces score, category, finding, and structure deltas from persisted runs.
Ships in Claude SEO AI. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Four comparisons, one script. Read-only: everything is written under ${CLAUDE_PLUGIN_DATA}/runs (comparisons land in <root>/compare/<a>__<b>/compare.json), never in the user's project.
$ARGUMENTS decides the shape:
| The user gave you | Run |
|---|---|
| two URLs / run refs | compare.mjs <refA> <refB> — same host is a baseline, a staging-looking host is staging, two sites are competitor |
| three to five refs | compare.mjs <refA> <refB> <refC> … — competitor matrix (max 5) |
| "since my last audit" | compare.mjs --baseline latest --against <url|run> |
| staging vs production | compare.mjs --prod <ref> --staging <ref> (add --map staging.example.com=example.com when the hosts do not look related) |
| "what do the pages ranking for X have that I don't" | the content-gap flow below |
A <ref> is a run directory, a report.json, latest[:<host>], baseline[:<host>], or a URL.
latest, latest:example.com, a path) needs nothing. For a URL with no run, audit it first so the user sees the acquisition and can ask for more pages:
node "${CLAUDE_PLUGIN_ROOT}/scripts/audit.mjs" <url> --pages 3 --checks deterministic --render static --out "${CLAUDE_PLUGIN_DATA}/runs"
(If you skip this, compare.mjs audits the URL itself with exactly those settings.)node "${CLAUDE_PLUGIN_ROOT}/scripts/compare.mjs" --baseline <refA> --against <refB> --out "${CLAUDE_PLUGIN_DATA}/runs"
Useful flags: --mode auto|baseline|staging|competitor|gap · --map <from-host>=<to-host> (repeatable) · --no-host-normalize (keep www. and the raw host) · --format md (also writes compare.md) · --data (print the whole document) · --fail-on-regression (exit 3) · --set-baseline (mark the newer run as the baseline).compare.json (the stdout summary names its path) and present, in this order:
improved / regressed / mixed / unchanged, with the two score deltas and their bands. Never blend the axes.delta: null — say "not measured on ", never "0".regressed and new first (these are what broke), then fixed and improved, then the unchanged count. Quote the from → to status and the location of each.needs_api / manual_review transition and a location the other run never visited say the two runs measured different things.gaps): schema types, agentic/discovery endpoints, AI-crawler posture, heading-topic overlap, answer blocks, entity links, word count, render mode, hreflang. When gaps.available is false, say which side had no page snapshots instead of showing zeros.only_a / only_b paths. A page whose row carries coverage_change: true moved coverage, not score — one of the two runs did not score it (a 429 or 404 the second time round, for instance). Read those from page_coverage.changes as their own list.page_coverage): when same_pages is false the two rollups averaged different page sets, the axis deltas do not count towards the verdict, and the warning says so. Say it out loud instead of presenting the axis movement as a change in the site.findings: null): show the score/category table, the presence matrix and the "subject vs best in set" gaps, and say why a finding on one site is not the same fact on another.--set-baseline to make this run the reference for later comparisons, /claude-seo-ai:fix <target> for what regressed, and --fail-on-regression in CI.WebSearch the query, keep the top 3–5 organic result URLs that are not on the subject's host. Skip aggregators, marketplaces and listicles that are not the kind of page the user is trying to be, and tell the user which URLs you skipped and why — the set is the whole method, so it has to be visible.node "${CLAUDE_PLUGIN_ROOT}/scripts/snapshot.mjs" <url> --run gap-<slug> --render static --out "${CLAUDE_PLUGIN_DATA}/runs"
Do the same for the subject page unless it already has a run (latest:<host>).node "${CLAUDE_PLUGIN_ROOT}/scripts/compare.mjs" --mode gap --subject <ref> --set <ref,ref,ref> --query "<the query>" --out "${CLAUDE_PLUGIN_DATA}/runs"/claude-seo-ai:fix plan. Never write to the user's project from here.WebSearch is one engine at one moment. The comparison set is a snapshot of one result page, not rank tracking, and not a sample of anything. Say so whenever you present a gap matrix, and repeat it if the user asks "so will this rank?".needs_api and manual_review transitions live in coverage_changes and are excluded from fixed/regressed by construction — present them that way, and never describe a page the other run did not visit as fixed. A page that stopped answering 2xx is the same class of event: it leaves the rollup, lands in page_coverage, and is never reported as a score improvement.coverage is deterministic on either side, say the model-judged modules were not evaluated; when coverage_warning is set, read it out. A provisional band (state: "partial") is reported with its coverage percentage in the same sentence.directional confidence — never promote one to "this will improve rankings".${CLAUDE_PLUGIN_DATA}.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub hainrixz/claude-seo-ai --plugin claude-seo-ai34 skills in this plugin
/auditAudit a website or web codebase for SEO and AI-search (GEO/AEO) — produces two independent 0-100 scores (Search SEO + AI Visibility) plus a prioritized, evidence-backed report persisted on disk. Read-only; never writes to the project. Use when the user asks to audit, analyze, check, or score a site's SEO, structured data/schema, meta tags, Core Web Vitals, robots.txt, sitemaps, or AI discovery files, or how it ranks in Google and is cited by AI engines (ChatGPT, Perplexity, Google AI Overviews, Gemini, Claude)./fixOpt-in fixer (the /claude-seo-ai:fix command). Applies the safe, deterministic SEO/AI-search fixes from a persisted audit to the user's site — meta viewport/charset/lang, JSON-LD, robots.txt AI directives, hreflang, sitemaps, OG/Twitter cards, image dimensions, canonical, AI discovery files — through the adapter that matches the platform (local files, Shopify theme/Admin, WordPress REST/WP-CLI, page APIs, or step-by-step instructions). Dry-run preview by default; writes only after explicit per-change confirmation. Runs only when the user invokes it — never auto-triggered./geoAnalyze and score only a page's AI-search visibility (GEO/AEO) — answer extractability, fact density, AI-crawler access and Google AI-feature snippet eligibility, entity linking, AI discovery files, and agent-readiness — and report an AI Visibility score with a citability breakdown, plus optional unscored probes (web-search presence, Search Console generative-AI impressions). Read-only. Use for "will AI engines cite this?", GEO/AEO, or ChatGPT/Perplexity/Google AI Overviews/Gemini optimization./scoreRecompute and display the two scores (Search SEO + AI Visibility) from a persisted audit run, without re-crawling. Use to re-show or refresh the scores after an audit, to score a specific run directory or host, or to score a saved findings JSON file./seo-agent-readinessAudit how well a page can be operated by AI agents and agentic browsers — semantic interactive controls (<button>/<a href> instead of div/span click handlers), named buttons and links, labeled form controls, no javascript: hrefs, primary content outside iframes, and WebMCP detection — following Google's generative-AI guidance and the web.dev agent-friendly websites guide. Module M22 "Agent-readiness". Feeds the AI Visibility score (weight 4, all directional)./seo-ai-crawlersAudit AI crawler access and Google AI-feature eligibility for a page — check the snippet controls that actually gate AI Overviews and AI Mode (noindex, nosnippet, max-snippet, data-nosnippet), resolve per-bot effective access from robots.txt for the audited path (training vs retrieval vs user-fetch tokens), read Content-Signal posture, diff what different user-agents are served, confirm non-JS crawlers can read the page, and generate a choice-gated robots.txt preset. Module M14. Feeds the AI Visibility score.Other plugins' skills for the same job