Capture baselines of SEO-critical elements, detect changes
SEO Drift Monitor (April 2026)

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.
Manual install (npx, ZIP)
npx skills add AgriciDaniel/claude-seo --skill seo-drift -g -a claude-codemkdir -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-driftNew-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" -ForceConnects with Agent Alley MCP · agentalley.io/mcp
Files included
SKILL.md7.2 KBreferences/1 file · 5.6 KB
Read the files here
AgriciDaniel/
Shared references3SKILL.md reads these from elsewhere in the repo. Not in the ZIP.
Get them on GitHub ↗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:
- Validate URL (SSRF protection via
google_auth.validate_url()) - Fetch page via
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py <URL> - Parse HTML via
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py <URL> - Optionally fetch CWV via
"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run pagespeed_check.py <URL>(use--skip-cwvto skip) - Hash HTML body and schema content (SHA-256)
- 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:
- Validate URL
- Load most recent baseline from SQLite (or specific
--baseline-id) - Fetch and parse current page state
- Run all 17 comparison rules
- Classify findings by severity
- Store comparison result
- 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=Falseanywhere 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 | |
| 2 | name seo-drift |
| 3 | description > |
| 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". |
| 9 | user-invocable true |
| 10 | argument-hint "baseline|compare|history <url>" |
| 11 | license MIT |
| 12 | metadata |
| 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 | |
| 21 | Git 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 | |
| 37 | Every 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 | |
| 59 | The comparison engine applies **17 rules across 3 severity levels**. Load |
| 60 | `references/comparison-rules.md` for the full rule set with thresholds, |
| 61 | recommended 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 | |
| 75 | All 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 | |
| 86 | URL normalization ensures consistent matching: lowercase scheme/host, strip |
| 87 | default ports (80/443), sort query parameters, remove UTM parameters, strip |
| 88 | trailing slashes. |
| 89 | |
| 90 | |
| 91 | |
| 92 | ## Command: `baseline` |
| 93 | |
| 94 | Captures the current state of a page and stores it. |
| 95 | |
| 96 | **Steps:** |
| 97 | Validate URL (SSRF protection via `google_auth.validate_url()`) |
| 98 | Fetch page via `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run fetch_page.py <URL>` |
| 99 | Parse HTML via `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run parse_html.py <URL>` |
| 100 | Optionally fetch CWV via `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run pagespeed_check.py <URL>` (use `--skip-cwv` to skip) |
| 101 | Hash HTML body and schema content (SHA-256) |
| 102 | Store snapshot in SQLite |
| 103 | |
| 104 | **Execution:** |
| 105 | |
| 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 | |
| 116 | Fetches the current page state and diffs it against the most recent baseline. |
| 117 | |
| 118 | **Steps:** |
| 119 | Validate URL |
| 120 | Load most recent baseline from SQLite (or specific `--baseline-id`) |
| 121 | Fetch and parse current page state |
| 122 | Run all 17 comparison rules |
| 123 | Classify findings by severity |
| 124 | Store comparison result |
| 125 | Output JSON diff report |
| 126 | |
| 127 | **Execution:** |
| 128 | |
| 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 | |
| 136 | After comparison, offer to generate an HTML report: |
| 137 | |
| 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 | |
| 145 | Shows all baselines and comparisons for a URL. |
| 146 | |
| 147 | **Execution:** |
| 148 | |
| 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 | |
| 159 | When 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 |
Details
- Updated
- Sep 11, 2026
- License
- MIT
- Stars on the repo
- ★ 17,394
- Checked
- Source
- AgriciDaniel/claude-seo ↗
- Creator
- AgriciDaniel · 130 listings
Made with seo-drift


Similar skills
See all →
SkillThe Lighthouse Agentic Browsing fractionAgentic Browsing Readiness
SkillReferring domains, anchor text distributionBacklink Profile Analysis
SkillConnect a CMS to notfair SEO tools/setup-cms
SkillBacklink profile for any domainBacklink check
SkillOptimize Core Web Vitals for better page experienceCore Web Vitals optimization
SkillRun an SEO page observation-action-review loopRun the SEO page loopMore from AgriciDaniel
SkillThe Lighthouse Agentic Browsing fractionAgentic Browsing Readiness
SkillOptimize content for AI Overviews , ChatGPT web searchAI Search / GEO Optimization (May 2026)
SkillReferring domains, anchor text distributionBacklink Profile Analysis
SkillYou share your Amazon advertising numbers and goals; you getAmazon Ads Audit
SkillPaste what you're spending on Apple Search AdsApple Ads Audit
SkillPaste the sales and spend numbers each ad platform claimsAttribution Audit