seo-audit
Runs a technical SEO audit of a live website and its codebase from the terminal and reports findings with evidence, ranked by how much each one keeps pages…
от TerminalSkills★ 221 звезда на GitHub
Установить seo-audit в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SEO Audit
Overview
A page reaches search results only if a crawler can fetch it, it answers with HTTP 200, it carries content in a form the crawler reads, and no signal tells the engine to leave it out or prefer another URL. Most traffic losses come from one of those four breaking, usually after a redesign, a framework change or a configuration slip, and each one can be tested from a terminal.
This skill audits in that order: site-wide access, then a sample of pages, then rendering, speed and the source code that produced the fault. The output is a findings table in which every row has the command that showed the problem, so the user can rerun it after the fix. Rules quoted here follow Google Search Central as of October 2026; Bing and other engines read the same signals.
Instructions
1. Scope
Find out or ask: the canonical host (www or bare domain), what prompted the audit (a drop with a date, pages missing from the index, a pre-launch check), which page types earn the traffic, whether the repository is available, and whether the user can export data from Search Console. Do not sign in to anything: ask for the "Page indexing" export and the Performance report for the affected dates.
Work in a scratch directory and keep every output file; they are the evidence.
2. Site-wide access
SITE=https://larkfieldcycles.com
for u in http://larkfieldcycles.com/ https://larkfieldcycles.com/ http://www.larkfieldcycles.com/ https://www.larkfieldcycles.com/; do
curl -sS -o /dev/null -L --max-time 20 -w '%{http_code} hops=%{num_redirects} %{url_effective}\n' "$u"
done
curl -sS -o robots.txt -w 'robots %{http_code} %{content_type} %{size_download} bytes\n' "$SITE/robots.txt"
curl -sS --compressed -o sitemap.xml -w 'sitemap %{http_code} %{content_type}\n' "$SITE/sitemap.xml"
grep -o '<loc>[^<]*' sitemap.xml | sed 's/<loc>//' > urls.txt && wc -l < urls.txt
grep -o '<lastmod>[^<]*' sitemap.xml | cut -c10-19 | sort | uniq -c | sort -rn | head -3
How to read it:
| Result | Conclusion |
|---|---|
| The four host variants do not all end on one URL with 200, or one fails TLS | Duplicate or unreachable host. One hop to the canonical host is the target |
robots.txt returns 5xx |
Google stops crawling the site for up to 12 hours, then falls back to the last copy it fetched. Treat as an outage |
robots.txt returns 404 or another 4xx (except 429) |
Read as "no restrictions". Fine unless something was meant to be blocked |
robots.txt is HTML or larger than 500 KiB |
Rules are ignored or cut off. A catch-all route is probably serving the app shell |
Disallow covers a path that should rank |
Blocked from crawling. The longest matching rule wins and Allow wins a tie; paths are case-sensitive |
A blocked path also carries noindex |
The noindex is never seen, because the page is not fetched. Pick one: unblock and noindex, or block |
Sitemap is missing from robots.txt, or the file is a sitemap index |
Read the Sitemap: lines; for an index, fetch each child and concatenate the loc values |
| More than 50,000 URLs or 50 MB uncompressed in one file | Over the limit; split it |
Every lastmod is the same date |
Google only trusts lastmod when it matches real changes; priority and changefreq are ignored either way |
3. Page signals on a sample
Save this as seo_page_check.py. It fetches the HTML the server sends, without running scripts.
#!/usr/bin/env python3
"""Read URLs on stdin, print one JSON line of indexability signals per URL."""
import json, re, sys, urllib.error, urllib.request
from html.parser import HTMLParser
class Signals(HTMLParser):
def __init__(self):
super().__init__()
self.out, self.grab, self.buf = {"h1": 0, "hreflang": 0, "jsonld": []}, None, ""
def handle_starttag(self, tag, attrs):
a = {k: v or "" for k, v in attrs}
name, rel = a.get("name", "").lower(), a.get("rel", "").lower()
if tag == "title" and "title" not in self.out: self.grab, self.buf = "title", ""
elif tag == "script" and a.get("type") == "application/ld+json": self.grab, self.buf = "jsonld", ""
elif tag == "h1": self.out["h1"] += 1
elif tag == "meta" and name in ("robots", "googlebot", "description"): self.out[name] = a.get("content", "")
elif tag == "link" and rel == "canonical": self.out["canonical"] = a.get("href", "")
elif tag == "link" and a.get("hreflang"): self.out["hreflang"] += 1
def handle_data(self, data):
if self.grab: self.buf += data
def handle_endtag(self, tag):
if self.grab == "title" and tag == "title": self.out["title"] = " ".join(self.buf.split())
elif self.grab == "jsonld" and tag == "script":
try:
doc = json.loads(self.buf)
nodes = doc.get("@graph", [doc]) if isinstance(doc, dict) else doc
self.out["jsonld"] += [str(n.get("@type")) for n in nodes if isinstance(n, dic
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _scores.json
FAQ
Что делает скилл seo-audit?
Runs a technical SEO audit of a live website and its codebase from the terminal and reports findings with evidence, ranked by how much each one keeps pages out of search results. Use when a user asks for an "SEO audit", "technical SEO check", "why did our traffic drop after the migration", "why isn't Google indexing these pages", "check robots.txt, sitemap and canonicals", or "check our Core Web Vitals". Covers crawlability, indexing signals, canonical URLs, sitemaps, JavaScript rendering, structured data presence and Core Web Vitals, with the command for each check and how to read its result.
Как установить скилл seo-audit?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл seo-audit запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…