Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/AgricIDaniel/claude-seo/llms.txt

Use this file to discover all available pages before exploring further.

Catching an SEO regression after it has already cost traffic is expensive. /seo drift solves this by treating your SEO state the same way Git treats code: capture a baseline, diff it later, and review the full history whenever you need to explain what changed. The command was contributed by Dan Colta (Pro Hub Challenge, v1.9.0). The companion command /seo flow integrates the FLOW evidence-led SEO framework (CC BY 4.0) — 41 structured AI prompts across five campaign stages — so every analysis decision is grounded in primary-source evidence rather than improvised queries.

/seo drift baseline|compare|history <url>

/seo drift stores all snapshots in a local SQLite database at ~/.cache/claude-seo/drift/baselines.db. No external service is required. URL normalization ensures consistent matching across runs: lowercase scheme/host, strip default ports, sort query parameters, remove UTM parameters, strip trailing slashes.
# Capture current SEO state as a "known good" snapshot
/seo drift baseline https://example.com

# Diff current page state against most recent baseline
/seo drift compare https://example.com

# Compare against a specific past baseline by ID
/seo drift compare https://example.com --baseline-id 5

# View all baselines and comparison history for a URL
/seo drift history https://example.com --limit 10

What gets snapshotted

Every baseline records 13 SEO-critical elements:
ElementFieldSource
Title tagtitleparse_html.py
Meta descriptionmeta_descriptionparse_html.py
Canonical URLcanonicalparse_html.py
Robots directivesmeta_robotsparse_html.py
H1 / H2 / H3 headingsh1, h2, h3 (arrays)parse_html.py
JSON-LD schemaschema (array)parse_html.py
Open Graph tagsopen_graph (dict)parse_html.py
Core Web Vitalscwv (dict)pagespeed_check.py
HTTP status codestatus_codefetch_page.py
HTML content hashhtml_hash (SHA-256)Computed
Schema content hashschema_hash (SHA-256)Computed
CWV capture requires a Tier 0 Google API key. Pass --skip-cwv to capture all other fields without it.

17 comparison rules across 3 severity levels

The comparison engine applies 17 rules when diffing a current page state against a stored baseline:
SeverityMeaningResponse time
CRITICALSEO-breaking change, likely traffic lossImmediate
WARNINGPotential impact, needs investigationWithin 1 week
INFOAwareness only, may be intentionalReview at convenience
Examples of CRITICAL findings: canonical URL changed or removed, noindex added to robots directives, title tag removed or emptied, HTTP status changed to a 4xx/5xx error. Examples of WARNING findings: title tag modified, H1 changed, schema type changed or removed.

Typical drift workflow

1

Capture the initial baseline

Run this before a deployment, migration, or major content update — or simply on a Monday morning to establish the week’s reference point.
/seo drift baseline https://example.com
The command outputs a baseline ID, timestamp, URL, and a summary of all captured elements.
2

Run a weekly comparison

After a deployment or after a week has passed, diff the current page state against the stored baseline.
/seo drift compare https://example.com
The output lists all triggered comparison rules with old value, new value, severity classification, and a recommended action for each finding.
3

Generate an HTML drift report

After any comparison, generate a shareable HTML report for client or team communication.
python3 scripts/drift_report.py <comparison_json_file> --output drift-report.html
4

Review the history

When a traffic drop appears in Search Console, check the drift history to pinpoint when and what changed.
/seo drift history https://example.com
Returns all baselines and comparisons newest-first, with timestamps and per-comparison summaries.
5

Hand off to the right specialist command

Drift detects the regression; specialist commands diagnose the root cause. The comparison output includes a cross-skill recommendation for every finding type: schema removal → /seo schema, CWV regression → /seo technical, canonical change → /seo technical, noindex added → /seo technical, H1 changed → /seo content.

Use case: moving from snapshots to “what changed this week”

The key value of drift monitoring for agency workflows is shifting client conversations away from point-in-time audit PDFs toward a continuous regression signal. An SEO agency running 10 client sites can baseline each site on Monday, run a compare on Friday, and send clients a diff-based health update in 12 minutes rather than rebuilding a full audit each week. Regressions between audits — a canonical quietly breaking after a CMS update, a schema type disappearing after a template change — are caught before the next ranking data drop shows up in GSC.

/seo flow [stage]

/seo flow integrates the FLOW framework (© Daniel Agrici, CC BY 4.0) — an evidence-led SEO operating model built for the AI-search era. The framework’s 41 AI prompts are organized into five campaign stages. Every prompt is grounded in a specific evidence source (SERP data, GSC, GA4, customer interviews) with attribution preserved. The framework is cited in the plugin’s Ecosystem section as the knowledge base powering all seo-flow prompts.
# Show FLOW stage overview and menu
/seo flow

# Find-stage: keyword research, gap analysis, SERP intent mapping
/seo flow find "topic"

# Leverage-stage: backlink strategy, off-site authority
/seo flow leverage https://example.com

# Optimize-stage: 2-3 most relevant prompts selected by context
/seo flow optimize https://example.com

# Win-stage: BOFU, conversion rate, dual-surface scorecard
/seo flow win https://example.com

# Local-stage: GBP optimization, meta, title tags, local audits
/seo flow local https://example.com

# Full index of all 41 prompts with stage, name, trigger conditions
/seo flow prompts

# Pull latest prompt files from the FLOW GitHub repository
/seo flow sync

The five FLOW stages

The Find stage covers keyword research, SERP intent mapping, and content gap analysis. Prompts are driven by actual SERP signals — related searches, People Also Ask clusters, and intent classification — rather than seed-keyword guessing. Cross-reference: /seo cluster <seed-keyword> complements the Find stage with full SERP-overlap semantic clustering.
The Leverage stage focuses on backlink strategy and off-site authority building: identifying link gaps, prioritizing outreach targets, and positioning for “best of” list placements (the top AI visibility citation factor per Whitespark 2026). Cross-reference: /seo backlinks <url> provides the raw backlink data that the Leverage prompt acts on.
The Optimize stage is the largest: 21 prompts covering on-page SEO, E-E-A-T signals, content freshness, schema markup, Core Web Vitals, and technical issues. The skill selects exactly 2–3 prompts per run based on industry vertical, prior skill output in the conversation, and URL signals — never dumps all 21. Cross-reference: /seo content <url> and /seo geo <url> for full content quality and AI-search readiness analysis.
The Win stage targets bottom-of-funnel pages: conversion rate optimization, dual-surface SERP scoring (organic + AI Overviews), and BOFU content strategy. Cross-reference: /seo sxo <url> for persona-based scoring of landing page and product page alignment with SERP intent.
The Local stage is the most populated: 11 prompts covering GBP optimization, meta descriptions, title tags for local intent, citation strategy, and structured local audit workflows. Cross-reference: /seo local <url> and /seo maps [command] for full local SEO and geo-grid rank tracking.

How FLOW connects to other /seo commands

The FLOW stages map directly onto the Claude SEO command set. A typical campaign run might look like:
/seo flow find "target topic"          # Discover keyword clusters and intent
/seo cluster plan "target topic"       # Build SERP-based content architecture
/seo flow optimize https://example.com # Apply 2-3 relevant optimize prompts
/seo content https://example.com       # Deep E-E-A-T quality audit
/seo geo https://example.com           # AI-search citability scoring
/seo flow win https://example.com      # BOFU and conversion optimization
/seo flow local https://example.com    # Local-specific prompt set (if applicable)
/seo local https://example.com         # Full GBP + NAP + schema audit
Every /seo flow activation outputs the framework attribution before analysis: Framework and prompts © Daniel Agrici, CC BY 4.0 — github.com/AgriciDaniel/flow.

Build docs developers (and LLMs) love