/romeo-seo:seo-change-monitorfrom romeo-seo
Snapshots SEO signals (status, redirects, canonical, robots, titles, schema, hreflang, sitemaps) across key URLs and diffs against a saved baseline to catch regressions after deploys.
Ships in romeo-seo. 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.
Takes a snapshot of the SEO signals on a site's most important URLs, keeps it with the project as a baseline, and compares a fresh snapshot after every release. Hands back a prioritised list of what changed, a Search Console watch list for the weeks after the release, a pre-release checklist, and a small script that can fail a CI job when a release would hurt search.
Romeo's rule: Most traffic drops after a release come from one boring line (a noindex, a canonical, a robots.txt rule), so check the boring lines every time and catch them before Google does.
Disallow: /) might come along.technical-seo-auditsite-migration-checkseo-performance-auditxml-sitemap-checkseo/baseline.json committed to the repo.Make the snapshot by hand in a spreadsheet: one row per URL, one column per field from step 2. Read status codes, redirects and the X-Robots-Tag header in the browser's DevTools Network tab, and everything else in view-source. Save /robots.txt as text and note the sitemap URL count. After the release, fill a second sheet the same way and compare the two side by side. Search Console's URL Inspection shows what Google itself sees for any single URL.
Fix now; a rewritten article is not./cart or /search) and one that should redirect. If either starts behaving like a normal page, the diff reports a noindex or final_url change.seo/urls.txt, one URL per line, # for comments. The script reads robots.txt and sitemaps from the first URL's host, so keep one file per host.robots and googlebot), X-Robots-Tag header, title, H1s, meta description, visible word count, internal link count, structured-data types (every @type in JSON-LD, nested ones included), hreflang map./sitemap.xml).snap against production before the release and commit the JSON next to the URL list, with the deployed commit or version in the commit message.Fix now: indexable page now noindex (meta tag or header, none included); canonical now pointing to a different URL; status 200 now 4xx, 5xx or unreachable; robots.txt gains a Disallow rule for all crawlers (*), Googlebot or Bingbot; robots.txt now returns 5xx or can't be fetched (Google treats that as "don't crawl" for a while; check current Google documentation for the timings); sitemaps now list zero URLs.Fix next: title or H1 changed; structured-data types removed (a JSON-LD block that stops parsing loses its types too); final URL changed (a new redirect, treat as Fix now when it lands on the homepage or an unrelated page); canonical removed; hreflang changed; internal links down more than 30% (a lost menu or footer); sitemap URL count down more than 10%; word count changed more than 30%; a page that lost its noindex (a cart, search or staging page about to be indexed); a key URL missing from the new snapshot; a new robots.txt Disallow for any other crawler; an Allow rule removed.Worth doing: meta description changed. Check it's intended and not a template default.Leave it: word count drift of 10 to 30%, which is normal for dates, prices and rotating blocks.User-agent group, so a Disallow: / that moves from one AI crawler's group into User-agent: * is caught. A new rule for another crawler (an AI bot, say) is Fix next: confirm it was intended, then re-take the baseline.seo/seo_snapshot.py (standard library only, Python 3.8+). It sits outside the list on purpose, so it copies without stray indentation."""Usage: seo_snapshot.py snap urls.txt > new.json | seo_snapshot.py diff old.json new.json (exit 1 on Fix now)"""
import gzip, json, re, sys, urllib.error, urllib.parse as up, urllib.request; from html import unescape
def get(url):
try: r = urllib.request.urlopen(urllib.request.Request(url, headers={"User-Agent": "seo-change-monitor/3"}), timeout=20)
except urllib.error.HTTPError as e: r = e
except OSError as e: return 0, url, "", str(e)
b = r.read(); b = gzip.decompress(b) if b[:2] == b"\x1f\x8b" else b
return r.getcode(), r.geturl(), ", ".join(r.headers.get_all("X-Robots-Tag") or []).lower(), b.decode("utf-8", "replace")
def text(html): return " ".join(unescape(re.sub(r"<[^>]+>", " ", html)).split())
def jsonld(blob): # every @type in the blob, nested ones included (Offer, PostalAddress, ...)
found = []; grab = lambda d: found.extend(d["@type"] if isinstance(d.get("@type"), list) else [d.get("@type")]) or d
try: json.loads(blob, object_hook=grab)
except ValueError: return ["INVALID_JSON-LD"]
return [str(t) for t in found if t]
def page(url):
code, final, x_robots, html = get(url); attr = r"""([\w:-]+)\s*=\s*("[^"]*"|'[^']*'|[^\s>]+)"""
tags = [(t.lower(), {k.lower(): unescape(v.strip("\"'")).strip() for k, v in re.findall(attr, raw)})
for t, raw in re.findall(r"(?is)<(meta|link|a)\s([^>]*)>", re.sub(r"(?is)<script\b.*?</script>", " ", html))]
full, host = lambda a: up.urljoin(final, a.get("href", "")), up.urlsplit(final).netloc
meta = {a.get("name", "").lower(): a.get("content", "") for t, a in tags if t == "meta"}
links = [(a.get("rel", "").lower().split(), a) for t, a in tags if t == "link"]
robots = " ".join(a.get("content", "") for t, a in tags if t == "meta" and a.get("name", "").lower() in ("robots", "googlebot")).lower()
body = re.sub(r"(?is)<(head|script|style|noscript|template)\b.*?</\1>", " ", html)
return dict(status=code, final_url=final, robots=robots, x_robots=x_robots, description=meta.get("description"),
noindex=bool(re.search(r"(?<![\w:-])(noindex|none)\b", robots + " " + x_robots)),
title=text("".join(re.findall(r"(?is)<title[^>]*>(.*?)</title>", html)[:1])),
h1=[text(h) for h in re.findall(r"(?is)<h1\b[^>]*>(.*?)</h1>", html)], words=len(re.findall(r"\w+", text(body))),
canonical=next((full(a) for rel, a in links if "canonical" in rel), None),
hreflang={a["hreflang"].lower(): full(a) for rel, a in links if "alternate" in rel and "hreflang" in a},
internal_links=sum(up.urlsplit(full(a)).netloc == host for t, a in tags if t == "a" and a.get("href", "")[:1] not in "#"),
schema=sorted({t for s in re.findall(r"(?is)<script[^>]*ld\+json[^>]*>(.*?)</script>", html) for t in jsonld(s)}))
def sitemap_count(url, depth=0): # follows one level of sitemap index; reads .xml.gz too
xml = get(url)[3]; locs = [unescape(l) for l in re.findall(r"<loc>\s*(.*?)\s*</loc>", xml)]
return sum(sitemap_count(l, 1) for l in locs) if "<sitemapindex" in xml and depth == 0 else len(locs)
def snap(urls):
origin = "{0.scheme}://{0.netloc}".format(up.urlsplit(urls[0])); code, _, _, txt = get(origin + "/robots.txt")
txt = txt if code == 200 else ""; maps = re.findall(r"(?im)^\s*sitemap:\s*(\S+)", txt) or [origin + "/sitemap.xml"]
return dict(robots_status=code, robots_txt=txt, sitemap_urls=sum(map(sitemap_count, maps)), pages={u: page(u) for u in urls})
def rules(t): # {"googlebot|disallow:/x", ...}: every rule keyed by each user-agent in its group
out, agents, in_rules = set(), [], False
for l in t.splitlines():
k, _, v = re.sub(r"\s+", "", l.split("#")[0]).lower().partition(":")
if k == "user-agent": agents, in_rules = ([] if in_rules else agents) + [v], False
elif k in ("allow", "disallow"): in_rules = True; out |= {f"{ua}|{k}:{v}" for ua in agents}
return out
def diff(a, b):
out, bad, site = [], lambda c: c == 0 or c >= 500, lambda lvl, k, old, new: out.append((lvl, "site", k, old, new))
for r in sorted(rules(b["robots_txt"]) - rules(a["robots_txt"])): # a Disallow for *, Googlebot or Bingbot can hide the site
ua, rule = r.split("|", 1); rule != "disallow:" and rule.startswith("dis") and site("Fix now" if ua in ("*", "googlebot", "bingbot") else "Fix next", "robots.txt new rule", "", r)
for r in sorted(r for r in rules(a["robots_txt"]) - rules(b["robots_txt"]) if "|allow:" in r): site("Fix next", "robots.txt allow removed", r, "")
if bad(b["robots_status"]) > bad(a["robots_status"]): site("Fix now", "robots.txt status", a["robots_status"], b["robots_status"])
if (sm := (a["sitemap_urls"], b["sitemap_urls"]))[1] < 0.9 * sm[0]: site("Fix next" if sm[1] else "Fix now", "sitemap URLs", *sm)
for u, o in a["pages"].items():
if not (n := b["pages"].get(u)): out.append(("Fix next", u, "page", "in baseline", "missing")); continue
f = lambda lvl, k, old=None, new=None: out.append((lvl, u, k, o[k] if old is None else old, n[k] if new is None else new))
if o["status"] == 200 != n["status"]: f("Fix now", "status")
if n["noindex"] != o["noindex"]: f("Fix now" if n["noindex"] else "Fix next", "noindex")
if n["canonical"] != o["canonical"]: f("Fix now" if n["canonical"] not in (None, n["final_url"]) else "Fix next", "canonical")
for k in ("final_url", "title", "h1", "hreflang"): o[k] != n[k] and f("Fix next", k)
if gone := sorted(set(o["schema"]) - set(n["schema"])): f("Fix next", "schema removed", gone, "")
if n["internal_links"] < 0.7 * o["internal_links"]: f("Fix next", "internal_links")
if n["description"] != o["description"]: f("Worth doing", "description")
if (drift := abs(n["words"] - o["words"]) / max(o["words"], 1)) > 0.1: f("Fix next" if drift > 0.3 else "Leave it", "words")
for row in sorted(out, key=lambda r: ["Fix now", "Fix next", "Worth doing", "Leave it"].index(r[0])): print(" | ".join(map(str, row)))
return int(any(r[0] == "Fix now" for r in out))
cmd, args = (sys.argv[1:] or ["help"])[0], sys.argv[2:]
if cmd == "snap": print(json.dumps(snap([l.strip() for l in open(args[0]) if l.strip()[:1] not in "#"]), indent=1))
else: sys.exit(diff(*(json.load(open(f)) for f in args)) if cmd == "diff" else __doc__)
python3 seo/seo_snapshot.py snap seo/urls.txt > seo/baseline.jsonpython3 seo/seo_snapshot.py snap seo/urls.txt > after.json && python3 seo/seo_snapshot.py diff seo/baseline.json after.jsonpriority | URL | field | before | after, sorted Fix now first. Exit code 1 means at least one Fix now.X-Robots-Tag aimed at another crawler (otherbot: noindex) as a plain noindex, which errs on the side of a false alarm.seo/urls-staging.txt) and its own baseline. Run it again right after the production deploy, compared with the production baseline, to alert.run: python3 seo/seo_snapshot.py snap seo/urls.txt > after.json && python3 seo/seo_snapshot.py diff seo/baseline.json after.json. The non-zero exit fails the job; post the output to the PR or team channel.Fix now; report Fix next without blocking. Retry once before failing on status 0 (network errors) so a flaky connection doesn't block a deploy.Fix now by hand first: curl -sI <url>, view-source, or a URL Inspection live test. Rule out bot protection, a CDN error page or a timeout.Disallow: / heading to production.noindex meta tag or X-Robots-Tag on production templates. Staging is protected with authentication, and any noindex switch is tied to an environment variable that is set correctly in production.Fix now, and a rollback plan exists.Fill this in after each comparison.
## Summary
What I found: <one sentence>
What matters most: <one sentence>
What to do first: <one sentence>
## Release
- What shipped: <version or commit>, <environment>, <date and time>
- Baseline: <file>, taken <date>, <environment>
## Changes
1. [Fix now] <plain-English problem> (<term>): <URL or "site">
Before: <value>. After: <value>.
Evidence: <seen | tool | inferred>, <high | medium | low> confidence. Confirmed by hand: <yes / no>
Likely cause and fix: <commit, setting or template; rollback or hotfix>
2. ...
- Intended changes to re-baseline: <list, with who confirmed them>
## Search Console watch list
- <report and filter to check>, <date to check it>, <what would count as a problem>
## What I could not check
- <item>: <why>, and what would verify it
Fix now change is live on production. Report it immediately with the evidence and recommend rollback or a hotfix; don't touch code, robots.txt or the CMS without explicit permission.technical-seo-audit on any template that produced a Fix now, to find related damage.seo-performance-audit 4 weeks after the release, with Search Console exports for the 28 days before and after.xml-sitemap-check if the sitemap URL count changed.Part of the free RomeoSEO skill library: https://romeoseo.com/skills
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
seo-monitoring, seo-regression, ci-cd-seo, seo-audit, release-check
npx claudepluginhub sigistry/marketplace --plugin romeo-seo50 skills in this plugin
/ai-agent-readinessMake a site readable and usable by AI crawlers and browsing agents. Use for "should we block GPTBot", "set up robots.txt for AI bots", "do we need llms.txt", "is Cloudflare blocking ChatGPT" or "can AI agents use our pricing and signup". Covers per-bot robots rules, firewall blocks, llms.txt, Markdown pages and the accessibility tree./ai-brand-factsFind what ChatGPT, Gemini, Perplexity, Copilot, Claude and Google AI Overviews get wrong about your business, trace each claim to its source and fix it there. Use for "ChatGPT has our pricing wrong", "AI confuses us with another company", a brand fact sheet or an AEO / LLM SEO / GEO entity check./ai-citable-pages2 plugins ship this exact skill · first indexed Nov 11, 2026
Other plugins' skills for the same job