seo-drift
できること
このスキルは、タイトル、説明、見出し、スキーマなど、ページの重要なSEOの詳細の基準を保存します。サイトの変更の後にSEOの不具合を見つけたいサイト管理者向けです。
使う場面
- ✓サイトの更新の前に、正常な状態のページを保存したいとき。
- ✓最近の変更でタイトルやスキーマが壊れていないかを確認したいとき。
- ✓ページのSEOの詳細がどう変わったかの履歴がほしいとき。
スキルのリンク
https://github.com/AgriciDaniel/claude-seo/blob/main/skills/seo-drift/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“リニューアルの後で比べられるように、今の料金ページのSEOの基準を保存してもらえますか。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、ページのタイトル、説明、見出し、スキーマ、ステータスコード、内容のハッシュを記録します。後で現在のページを保存した基準と比べ、違いを報告します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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 r |
よくある質問
何を記録しますか?
タイトル、メタの説明、正規URL、robotsタグ、見出し、スキーマ、Open Graphタグ、速度のデータ、ステータスコードを記録します。
変化はどのように順位づけされますか?
比較では3つの重大度のルールを適用するため、深刻な問題が目立つようになります。
過去の比較を見られますか?
はい。履歴のコマンドで、過去の変化と比較結果を見られます。
詳細
作者による元の説明
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".
repo: AgriciDaniel/claude-seo
人気
- GitHubのスター
- 26k
- ランキング
- #10004
- ライセンス
- MIT
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
seo-ahrefs
26kエージェントが、Ahrefsの最新データをウェブサイトについて取得できるよう支援します。バックリンク、参照ドメイン、検索キーワード、コンテンツのアイデアを含みます。Ahrefs APIトークンが必要です。
seo-image-gen
26kエージェントが、Geminiを使って、SNSのプレビューカード、ブログのヒーロー画像、インフォグラフィックなど、SEO用の画像を作れるよう支援します。先にbanana拡張機能のインストールが必要です。
seo-bing
26kエージェントが、Bing Webmasterツールのデータを確認し、IndexNowを通じて新しいページのURLを送信して、Bingがページを見つけやすくできるよう支援します。
seo-dataforseo
26kエージェントが、DataForSEOから検索結果、キーワードの検索ボリューム、バックリンク、AIの言及など、最新のSEOデータを取得できるよう支援します。各リクエストは提供元に課金されます。
似ているスキル
competitive-platform-analysis
280k競合他社を把握するのに役立ちます。より深い分析を行う前に、競合企業を特定し、分類し、絞り込みます。
competitive-report-structure
280k包括的な競合レポートを作成します。情報をまとめて業界全体の状況や提言を示し、チームの認識をそろえるのに役立ちます。
lead-intelligence
280kエージェントが重要な人物を見つけて連絡を取るのを支援します。見込み客を分析し、アプローチを提案し、メールやSNSを通じたアウトリーチを管理します。