/claude-seo-ai:compare
SkillCloud & infraCompare a site against its own baseline, against a staging deployment, against up to four competitors, or against the pages that already answer a query (content gap). Produces score, category, finding and structure deltas from persisted audit runs. Read-only. Use when the user asks what changed after a deploy, whether staging is worse than production, how they stack up against competitors, or what rivals cover that they do not.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the /claude-seo-ai:compare skill
What this skill tells your AI
The instructions your AI receives, as published by hainrixz/claude-seo-ai in skills/compare/SKILL.md and read by ahel’s review.
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.
Flow A — baseline, staging, competitor
- Get a run for every side. A ref that is already a run (
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.mjsaudits the URL itself with exactly those settings.) - Compare:
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(keepwww.and the raw host) ·--format md(also writescompare.md) ·--data(print the whole document) ·--fail-on-regression(exit 3) ·--set-baseline(mark the newer run as the baseline). - Read
compare.json(the stdout summary names its path) and present, in this order:- Verdict —
improved/regressed/mixed/unchanged, with the two score deltas and their bands. Never blend the axes. - Categories that moved, biggest first. A category that was inactive on one side has
delta: null— say "not measured on ", never "0". - Findings:
regressedandnewfirst (these are what broke), thenfixedandimproved, then theunchangedcount. Quote thefrom → tostatus and the location of each. - Coverage changes as their own list, with the sentence that they are not results: a
needs_api/manual_reviewtransition and a location the other run never visited say the two runs measured different things. - Structural gaps (
gaps): schema types, agentic/discovery endpoints, AI-crawler posture, heading-topic overlap, answer blocks, entity links, word count, render mode, hreflang. Whengaps.availableis false, say which side had no page snapshots instead of showing zeros. - Pages that moved, by normalized path, and the
only_a/only_bpaths. A page whose row carriescoverage_change: truemoved coverage, not score — one of the two runs did not score it (a 429 or 404 the second time round, for instance). Read those frompage_coverage.changesas their own list. - Page coverage (
page_coverage): whensame_pagesis 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. - In competitor mode there is no findings diff (
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.
- Verdict —
- Offer next steps:
--set-baselineto make this run the reference for later comparisons,/claude-seo-ai:fix <target>for what regressed, and--fail-on-regressionin CI.
Flow B — content gap
- Find the comparison set.
WebSearchthe 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. - Snapshot each one (no audit needed; the gap matrix is structural):
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>). - Build the matrix:
node "${CLAUDE_PLUGIN_ROOT}/scripts/compare.mjs" --mode gap --subject <ref> --set <ref,ref,ref> --query "<the query>" --out "${CLAUDE_PLUGIN_DATA}/runs" - Present the matrix, then the narrative. The deterministic rows are: heading topics present on at least two comparison pages and absent from the subject; schema types; capitalized terms (a proper-noun proxy, not extracted entities); agentic/discovery endpoints; word count; substantive numbers per 100 words; question headings and how many carry a direct answer. Give each row the page count that supports it. Then write the qualitative reading — what the set treats as table stakes, what the subject could add — and mark every item directional.
- Offer to turn the gap list into an outline or a
/claude-seo-ai:fixplan. Never write to the user's project from here.
Honesty
- A comparison is two measurements, not a ranking. Scores describe the structure of the pages that were crawled. A higher score is not a prediction that one site outranks another.
WebSearchis 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?".- Not measured is never a pass.
needs_apiandmanual_reviewtransitions live incoverage_changesand are excluded fromfixed/regressedby 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 inpage_coverage, and is never reported as a score improvement. - Label the coverage. When
coverageisdeterministicon either side, say the model-judged modules were not evaluated; whencoverage_warningis set, read it out. A provisional band (state: "partial") is reported with its coverage percentage in the same sentence. - Directional stays directional. Every gap row is a structural difference between pages, so it carries
directionalconfidence — never promote one to "this will improve rankings". - Reply in the user's language (EN/ES). Nothing here writes to the user's project: run artifacts and comparisons live under
${CLAUDE_PLUGIN_DATA}.
Signals
- GitHub stars
- 59
- Forks
- 5
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
compare-hainrixz- Source
- github.com/hainrixz/claude-seo-ai