New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Capture baselines of SEO-critical elements, detect changes

SEO Drift Monitor (April 2026)

by AgriciDaniel · MIT license · ★ 17,394 on GitHub · updated Sep 11

SEO Drift Monitor (April 2026) cover

SEO drift monitoring: capture baselines of SEO-critical elements, detect changes, and track regressions over time. Git for SEO: baseline, diff, and track changes to your on-page SEO.

---
name: seo-drift
description: >
  SEO drift monitoring: capture baselines of SEO-critical elements, detect changes,
  and track regressions over time. Git for SEO: baseline, diff, and track changes
  to your on-page SEO. Use when user says "SEO drift", "baseline", "track changes",
  "did anything break", "SEO regression", "compare SEO", "before and after",
  "monitor SEO changes", or "deployment check".
user-invocable: true
argument-hint: "baseline|compare|history <url>"
license: MIT
metadata:
  author: AgriciDaniel
  original_author: "Dan Colta (Pro Hub Challenge)"
  version: "2.3.1"
  category: seo
---

Overview

Git for your SEO. Capture baselines, detect regressions, track changes over time.

The SKILL.md below is the copy AgentAlley read and checked. The repo has changed it since; the other files are from commit e77e783.

Manual install (npx, ZIP)
Claude Codenpx skills add AgriciDaniel/claude-seo --skill seo-drift -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/AgriciDaniel/claude-seo/tar.gz/e77e783e38ee \ | tar -xz -C ~/.claude/skills --strip-components=2 claude-seo-e77e783e38ee/skills/seo-drift
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/2e438c273da9f2cedeb9/seo-drift.zip" -OutFile "$env:TEMP\seo-drift.zip"; Expand-Archive "$env:TEMP\seo-drift.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md7.2 KB
  • references/1 file · 5.6 KB
Read the files here
AgriciDaniel/e77e7832 files
Shared references3SKILL.md reads these from elsewhere in the repo. Not in the ZIP.Get them on GitHub ↗
SKILL.md
Show the full text220 lines

SEO Drift Monitor (April 2026)

Git for your SEO. Capture baselines, detect regressions, track changes over time.


Commands

Command Purpose
/seo drift baseline <url> Capture current SEO state as a "known good" snapshot
/seo drift compare <url> Compare current page state to stored baseline
/seo drift history <url> Show change history and past comparisons

What It Captures

Every baseline records these SEO-critical elements:

Element Field Source
Title tag title parse_html.py
Meta description meta_description parse_html.py
Canonical URL canonical parse_html.py
Robots directives meta_robots parse_html.py
H1 headings h1 (array) parse_html.py
H2 headings h2 (array) parse_html.py
H3 headings h3 (array) parse_html.py
JSON-LD schema schema (array) parse_html.py
Open Graph tags open_graph (dict) parse_html.py
Core Web Vitals cwv (dict) pagespeed_check.py
HTTP status code status_code fetch_page.py
HTML content hash html_hash (SHA-256) Computed
Schema content hash schema_hash (SHA-256) Computed

How Comparison Works

The comparison engine applies 17 rules across 3 severity levels. Load references/comparison-rules.md for the full rule set with thresholds, recommended actions, and cross-skill references.

Severity Levels
Level Meaning Response Time
CRITICAL SEO-breaking change, likely traffic loss Immediate
WARNING Potential impact, needs investigation Within 1 week
INFO Awareness only, may be intentional Review at convenience

Storage

All data is stored locally in SQLite:

~/.cache/claude-seo/drift/baselines.db
Tables
  • baselines: Captured snapshots with all SEO elements
  • comparisons: Diff results with triggered rules and severities

URL normalization ensures consistent matching: lowercase scheme/host, strip default ports (80/443), sort query parameters, remove UTM parameters, strip trailing slashes.


Command: baseline

Captures the current state of a page and stores it.

Steps:

  1. Validate URL (SSRF protection via google_auth.validate_url())
  2. Fetch page via "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py <URL>
  3. Parse HTML via "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py <URL>
  4. Optionally fetch CWV via "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run pagespeed_check.py <URL> (use --skip-cwv to skip)
  5. Hash HTML body and schema content (SHA-256)
  6. Store snapshot in SQLite

Execution:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_baseline.py <url>
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_baseline.py <url> --skip-cwv

Output: JSON with baseline ID, timestamp, URL, and summary of captured elements.


Command: compare

Fetches the current page state and diffs it against the most recent baseline.

Steps:

  1. Validate URL
  2. Load most recent baseline from SQLite (or specific --baseline-id)
  3. Fetch and parse current page state
  4. Run all 17 comparison rules
  5. Classify findings by severity
  6. Store comparison result
  7. Output JSON diff report

Execution:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_compare.py <url>
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_compare.py <url> --baseline-id 5
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_compare.py <url> --skip-cwv

Output: JSON with all triggered rules, old/new values, severity, and actions.

After comparison, offer to generate an HTML report:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_report.py <comparison_json_file> --output drift-report.html

Command: history

Shows all baselines and comparisons for a URL.

Execution:

"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_history.py <url>
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_history.py <url> --limit 10

Output: JSON array of baselines (newest first) with timestamps and comparison summaries.


Cross-Skill Integration

When drift is detected, recommend the appropriate specialized skill:

Finding Recommendation
Schema removed or modified Run /seo schema <url> for full validation
CWV regression Run /seo technical <url> for performance audit
Title or meta description changed Run /seo page <url> for content analysis
Canonical changed or removed Run /seo technical <url> for indexability check
Noindex added Run /seo technical <url> for crawlability audit
H1/heading structure changed Run /seo content <url> for E-E-A-T review
OG tags removed Run /seo page <url> for social sharing analysis
Status code changed to error Run /seo technical <url> for full diagnostics

Error Handling

Scenario Action
URL unreachable Report error from fetch_page.py. Do not guess state. Suggest user verify URL.
No baseline exists for URL Inform user and suggest running baseline first.
SSRF blocked (private IP) Report validate_url() rejection. Never bypass.
SQLite database missing Auto-create on first use. No error.
CWV fetch fails (no API key) Store null for CWV fields. Skip CWV rules during comparison.
Page returns 4xx/5xx Still capture as baseline (status code IS a tracked field).
Multiple baselines exist Use most recent unless --baseline-id specified.

Security

  • All URL fetching goes through "${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py, which enforces SSRF protection (blocks private IPs, loopback, reserved ranges, GCP metadata endpoints)
  • No curl, no subprocess HTTP calls -- only the project's validated fetch pipeline
  • All SQLite queries use parameterized placeholders (?), never string interpolation
  • TLS always verified -- no verify=False anywhere in the pipeline

Typical Workflows

Pre/Post Deployment Check
/seo drift baseline https://example.com     # Before deploy
# ... deploy happens ...
/seo drift compare https://example.com      # After deploy
Ongoing Monitoring
/seo drift baseline https://example.com     # Initial capture
# ... weeks later ...
/seo drift compare https://example.com      # Check for drift
/seo drift history https://example.com      # Review all changes
Investigating a Traffic Drop
/seo drift compare https://example.com      # What changed?
/seo drift history https://example.com      # When did it change?
1---
2name: seo-drift
3description: >
4 SEO drift monitoring: capture baselines of SEO-critical elements, detect changes,
5 and track regressions over time. Git for SEO: baseline, diff, and track changes
6 to your on-page SEO. Use when user says "SEO drift", "baseline", "track changes",
7 "did anything break", "SEO regression", "compare SEO", "before and after",
8 "monitor SEO changes", or "deployment check".
9user-invocable: true
10argument-hint: "baseline|compare|history <url>"
11license: MIT
12metadata:
13 author: AgriciDaniel
14 original_author: "Dan Colta (Pro Hub Challenge)"
15 version: "2.3.1"
16 category: seo
17---
18 
19# SEO Drift Monitor (April 2026)
20 
21Git for your SEO. Capture baselines, detect regressions, track changes over time.
22 
23---
24 
25## Commands
26 
27| Command | Purpose |
28|---------|---------|
29| `/seo drift baseline <url>` | Capture current SEO state as a "known good" snapshot |
30| `/seo drift compare <url>` | Compare current page state to stored baseline |
31| `/seo drift history <url>` | Show change history and past comparisons |
32 
33---
34 
35## What It Captures
36 
37Every baseline records these SEO-critical elements:
38 
39| Element | Field | Source |
40|---------|-------|--------|
41| Title tag | `title` | `parse_html.py` |
42| Meta description | `meta_description` | `parse_html.py` |
43| Canonical URL | `canonical` | `parse_html.py` |
44| Robots directives | `meta_robots` | `parse_html.py` |
45| H1 headings | `h1` (array) | `parse_html.py` |
46| H2 headings | `h2` (array) | `parse_html.py` |
47| H3 headings | `h3` (array) | `parse_html.py` |
48| JSON-LD schema | `schema` (array) | `parse_html.py` |
49| Open Graph tags | `open_graph` (dict) | `parse_html.py` |
50| Core Web Vitals | `cwv` (dict) | `pagespeed_check.py` |
51| HTTP status code | `status_code` | `fetch_page.py` |
52| HTML content hash | `html_hash` (SHA-256) | Computed |
53| Schema content hash | `schema_hash` (SHA-256) | Computed |
54 
55---
56 
57## How Comparison Works
58 
59The comparison engine applies **17 rules across 3 severity levels**. Load
60`references/comparison-rules.md` for the full rule set with thresholds,
61recommended actions, and cross-skill references.
62 
63### Severity Levels
64 
65| Level | Meaning | Response Time |
66|-------|---------|---------------|
67| **CRITICAL** | SEO-breaking change, likely traffic loss | Immediate |
68| **WARNING** | Potential impact, needs investigation | Within 1 week |
69| **INFO** | Awareness only, may be intentional | Review at convenience |
70 
71---
72 
73## Storage
74 
75All data is stored locally in SQLite:
76 
77```
78~/.cache/claude-seo/drift/baselines.db
79```
80 
81### Tables
82 
83- **baselines**: Captured snapshots with all SEO elements
84- **comparisons**: Diff results with triggered rules and severities
85 
86URL normalization ensures consistent matching: lowercase scheme/host, strip
87default ports (80/443), sort query parameters, remove UTM parameters, strip
88trailing slashes.
89 
90---
91 
92## Command: `baseline`
93 
94Captures the current state of a page and stores it.
95 
96**Steps:**
971. Validate URL (SSRF protection via `google_auth.validate_url()`)
982. Fetch page via `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py <URL>`
993. Parse HTML via `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py <URL>`
1004. Optionally fetch CWV via `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run pagespeed_check.py <URL>` (use `--skip-cwv` to skip)
1015. Hash HTML body and schema content (SHA-256)
1026. Store snapshot in SQLite
103 
104**Execution:**
105```bash
106"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_baseline.py <url>
107"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_baseline.py <url> --skip-cwv
108```
109 
110**Output:** JSON with baseline ID, timestamp, URL, and summary of captured elements.
111 
112---
113 
114## Command: `compare`
115 
116Fetches the current page state and diffs it against the most recent baseline.
117 
118**Steps:**
1191. Validate URL
1202. Load most recent baseline from SQLite (or specific `--baseline-id`)
1213. Fetch and parse current page state
1224. Run all 17 comparison rules
1235. Classify findings by severity
1246. Store comparison result
1257. Output JSON diff report
126 
127**Execution:**
128```bash
129"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_compare.py <url>
130"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_compare.py <url> --baseline-id 5
131"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_compare.py <url> --skip-cwv
132```
133 
134**Output:** JSON with all triggered rules, old/new values, severity, and actions.
135 
136After comparison, offer to generate an HTML report:
137```bash
138"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_report.py <comparison_json_file> --output drift-report.html
139```
140 
141---
142 
143## Command: `history`
144 
145Shows all baselines and comparisons for a URL.
146 
147**Execution:**
148```bash
149"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_history.py <url>
150"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run drift_history.py <url> --limit 10
151```
152 
153**Output:** JSON array of baselines (newest first) with timestamps and comparison summaries.
154 
155---
156 
157## Cross-Skill Integration
158 
159When drift is detected, recommend the appropriate specialized skill:
160 
161| Finding | Recommendation |
162|---------|----------------|
163| Schema removed or modified | Run `/seo schema <url>` for full validation |
164| CWV regression | Run `/seo technical <url>` for performance audit |
165| Title or meta description changed | Run `/seo page <url>` for content analysis |
166| Canonical changed or removed | Run `/seo technical <url>` for indexability check |
167| Noindex added | Run `/seo technical <url>` for crawlability audit |
168| H1/heading structure changed | Run `/seo content <url>` for E-E-A-T review |
169| OG tags removed | Run `/seo page <url>` for social sharing analysis |
170| Status code changed to error | Run `/seo technical <url>` for full diagnostics |
171 
172---
173 
174## Error Handling
175 
176| Scenario | Action |
177|----------|--------|
178| URL unreachable | Report error from `fetch_page.py`. Do not guess state. Suggest user verify URL. |
179| No baseline exists for URL | Inform user and suggest running `baseline` first. |
180| SSRF blocked (private IP) | Report `validate_url()` rejection. Never bypass. |
181| SQLite database missing | Auto-create on first use. No error. |
182| CWV fetch fails (no API key) | Store `null` for CWV fields. Skip CWV rules during comparison. |
183| Page returns 4xx/5xx | Still capture as baseline (status code IS a tracked field). |
184| Multiple baselines exist | Use most recent unless `--baseline-id` specified. |
185 
186---
187 
188## Security
189 
190- **All URL fetching** goes through `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py`, which enforces SSRF protection
191 (blocks private IPs, loopback, reserved ranges, GCP metadata endpoints)
192- **No curl, no subprocess HTTP calls** -- only the project's validated fetch pipeline
193- **All SQLite queries** use parameterized placeholders (`?`), never string interpolation
194- **TLS always verified** -- no `verify=False` anywhere in the pipeline
195 
196---
197 
198## Typical Workflows
199 
200### Pre/Post Deployment Check
201```
202/seo drift baseline https://example.com # Before deploy
203# ... deploy happens ...
204/seo drift compare https://example.com # After deploy
205```
206 
207### Ongoing Monitoring
208```
209/seo drift baseline https://example.com # Initial capture
210# ... weeks later ...
211/seo drift compare https://example.com # Check for drift
212/seo drift history https://example.com # Review all changes
213```
214 
215### Investigating a Traffic Drop
216```
217/seo drift compare https://example.com # What changed?
218/seo drift history https://example.com # When did it change?
219```
220 
View all files on GitHub →

Details

Updated
Sep 11, 2026
License
MIT
Stars on the repo
★ 17,394
Checked
Source
AgriciDaniel/claude-seo ↗
Creator
AgriciDaniel · 130 listings
View creator

Made with seo-drift

SEO Drift Monitor (April 2026) — Claude SEO /seo command demo in Claude Code terminal (from the AgriciDaniel/claude-seo README)
SEO Drift Monitor (April 2026) — Claude SEO /seo command demo in Claude Code terminal (from the AgriciDaniel/claude-seo README)

by AgriciDaniel

SEO Drift Monitor (April 2026) — Claude SEO /seo audit demo: parallel subagents producing a prioritized action plan (from the AgriciDaniel/claude-seo README)
SEO Drift Monitor (April 2026) — Claude SEO /seo audit demo: parallel subagents producing a prioritized action plan (from the AgriciDaniel/claude-seo README)

by AgriciDaniel

Similar skills

See all →
SkillThe Lighthouse Agentic Browsing fractionAgentic Browsing ReadinessAgriciDaniel/claude-seo · by AgriciDanielAudit and fix agent readiness: the Lighthouse Agentic Browsing fraction, accessibility tree for agents, robots.txt and Content-Signal for AI agents, WAF treatment of agent traffic, llms.txt, Markdown delivery, ai-catalog.json, /.well-known discovery files, and WebMCP tools. Exclude AI citability and brand signals (seo-geo) and commerce protocol depth (seo-ecommerce).★ 17.4k GitHub starsSkillReferring domains, anchor text distributionBacklink Profile AnalysisAgriciDaniel/claude-seo · by AgriciDanielBacklink profile analysis: referring domains, anchor text distribution, toxic link detection, competitor gap analysis. Works with free APIs (Moz, Bing Webmaster, Common Crawl) and DataForSEO extension. Use when user says backlinks, link profile, referring domains, anchor text, toxic links, link gap, link building, disavow, or backlink audit.★ 17.4k GitHub starsSkillConnect a CMS to notfair SEO tools/setup-cmsnowork-studio/notfair-plugin · by nowork-studioConnect a CMS to notfair SEO tools. Guides users through configuring WordPress, Strapi, Contentful, or Ghost — tests the connection, and writes credentials to .env.local. Once set up, seo-analysis automatically cross- references CMS content against Google Search Console data. Use whenever the user says "connect my CMS", "set up WordPress", "configure Strapi", "add Contentful", "connect Ghost", or "CMS setup". Also trigger if the user asks why no CMS data appears in a seo-analysis report.★ 3.9k GitHub starsSkillBacklink profile for any domainBacklink checkRyze-AI-Adgent/open-seo-mcp-skills · by Ryze-AI-AdgentBacklink profile for any domain — referring domains, authority, anchors, new/lost links, and a side-by-side vs a competitor. Use when asked "check my backlinks", "backlink profile of X", "who links to them", or "link gap vs competitor".★ 3.1k GitHub starsSkillOptimize Core Web Vitals for better page experienceCore Web Vitals optimizationaddyosmani/web-quality-skills · by addyosmaniOptimize Core Web Vitals (LCP, INP, CLS) for better page experience using field and lab evidence. Use when asked to "improve Core Web Vitals", "fix LCP", "reduce CLS", "optimize INP", "page experience optimization", or "fix layout shifts".★ 2.8k GitHub starsSkillRun an SEO page observation-action-review loopRun the SEO page looptsingyuai/growth-lab · by tsingyuaiRun an SEO page observation-action-review loop with persistent Memory by coordinating demand research, page creation, adversarial review, image generation, IndexNow submission, and performance review. Use when taking an SEO page from opportunity discovery through publication, measurement, iteration, or continuing a previous SEO loop from Memory.★ 2k GitHub stars

More from AgriciDaniel

SkillThe Lighthouse Agentic Browsing fractionAgentic Browsing ReadinessAgriciDaniel/claude-seo · by AgriciDanielAudit and fix agent readiness: the Lighthouse Agentic Browsing fraction, accessibility tree for agents, robots.txt and Content-Signal for AI agents, WAF treatment of agent traffic, llms.txt, Markdown delivery, ai-catalog.json, /.well-known discovery files, and WebMCP tools. Exclude AI citability and brand signals (seo-geo) and commerce protocol depth (seo-ecommerce).★ 17.4k GitHub starsSkillOptimize content for AI Overviews , ChatGPT web searchAI Search / GEO Optimization (May 2026)AgriciDaniel/claude-seo · by AgriciDanielOptimize content for AI Overviews (formerly SGE), ChatGPT web search, Perplexity, and other AI-powered search experiences. Generative Engine Optimization (GEO) analysis including brand mention signals, AI crawler accessibility, llms.txt compliance, passage-level citability scoring, and platform-specific optimization. Use when user says "AI Overviews", "SGE", GEO", "AI search", "LLM optimization", "Perplexity", "AI citations", ChatGPT search", or "AI visibility".★ 17.4k GitHub starsSkillReferring domains, anchor text distributionBacklink Profile AnalysisAgriciDaniel/claude-seo · by AgriciDanielBacklink profile analysis: referring domains, anchor text distribution, toxic link detection, competitor gap analysis. Works with free APIs (Moz, Bing Webmaster, Common Crawl) and DataForSEO extension. Use when user says backlinks, link profile, referring domains, anchor text, toxic links, link gap, link building, disavow, or backlink audit.★ 17.4k GitHub starsSkillYou share your Amazon advertising numbers and goals; you getAmazon Ads AuditAgriciDaniel/claude-ads · by AgriciDanielYou share your Amazon advertising numbers and goals; you get back a plain-language review of what's draining your budget and what to change first.★ 9.5k GitHub starsSkillPaste what you're spending on Apple Search AdsApple Ads AuditAgriciDaniel/claude-ads · by AgriciDanielPaste what you're spending on Apple Search Ads and your recent numbers; get back a plain review of what's wasting money and what to fix first.★ 9.5k GitHub starsSkillPaste the sales and spend numbers each ad platform claimsAttribution AuditAgriciDaniel/claude-ads · by AgriciDanielPaste the sales and spend numbers each ad platform claims, and get back a plain explanation of why they disagree and which figure to trust.★ 9.5k GitHub stars