# /seo-drift: Catch SEO regressions after every deploy

Source: https://trendhub.net/skills/agricidaniel-claude-seo/seo-drift
Skill folder: https://github.com/AgriciDaniel/claude-seo/tree/main/skills/seo-drift
Pack: Claude SEO (https://trendhub.net/skills/agricidaniel-claude-seo)
Works with: Claude Code (plugin), Claude Code (manual, macOS and Linux), Claude Code (manual, Windows)

The seo-drift skill works like version control for a page's SEO. It stores a snapshot of the title, meta description, canonical, robots directives, headings, schema, Open Graph tags, status code and Core Web Vitals, then compares later fetches against it with 17 rules graded critical, warning or info.

## When to use it

- You are about to ship a release and want proof nothing SEO-critical changed.
- Rankings dipped and you need to know what changed on the page and when.
- You manage several sites and want a lightweight change log without a paid monitoring tool.

## How it works

1. **Capture a baseline**: The agent fetches and parses the page, optionally pulls Core Web Vitals, hashes the HTML and schema, and saves the snapshot in a local SQLite database.
2. **Compare**: On a later run it loads the latest or a chosen baseline, refetches the page and applies all 17 comparison rules.
3. **Grade findings**: Each change is labelled critical, warning or info with old and new values and a suggested response time.
4. **Route to a specialist**: It points schema changes to the schema skill, canonical or noindex changes to the technical skill, and heading changes to the content skill.
5. **Review history**: A history command lists past baselines and comparisons newest first, and an HTML report can be generated from any comparison.

## What it steers the agent away from

- Guessing a page's state when the URL cannot be fetched
- Bypassing SSRF checks to reach private or internal addresses
- Treating UTM parameters or trailing slashes as different pages

## What it can touch

Fetches the page through the plugin's validated pipeline, optionally calls PageSpeed Insights, and reads and writes ~/.cache/claude-seo/drift/baselines.db. It can write an HTML report file when asked.

## Pairs well with

- `/seo-page`
- `/seo-schema`
- `/seo-technical`

## Questions

### Where are baselines stored?

Locally in a SQLite file under ~/.cache/claude-seo/drift/, created automatically on first use.

### What if I have no PageSpeed key?

Core Web Vitals fields are stored as empty and the vitals rules are skipped during comparison; the other checks still run.
