Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
feat(agents): wire 8 fetcher subagents to scripts/render_page.py
Daniel6da0c4cfafb5
diff --git a/agents/seo-backlinks.md b/agents/seo-backlinks.mdindex f2bf49e..8de68fd 100644--- a/agents/seo-backlinks.md+++ b/agents/seo-backlinks.md@@ -107,3 +107,9 @@ If any check fails, fix the report before returning it.- If no sources return data, report: "No backlink data available. Run `/seo backlinks setup`."- Never fail silently — always report what succeeded and what failed- If all free sources fail, suggest DataForSEO extension: `./extensions/dataforseo/install.sh`++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++Backlink verification (`/seo backlinks verify`) primarily reads outbound `<a>` tags, which are reliably present in raw HTML. `--mode never` is the right choice for speed on bulk verification jobs.diff --git a/agents/seo-content.md b/agents/seo-content.mdindex 8459221..07320ab 100644--- a/agents/seo-content.md+++ b/agents/seo-content.md@@ -62,3 +62,9 @@ Provide:- E-E-A-T breakdown with scores per factor- AI citation readiness score- Specific improvement recommendations++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++E-E-A-T scoring should run against `extracted_text` rather than `content` — trafilatura strips navigation chrome, footers, and cookie banners, so author bios and main-content trust signals score correctly without dilution.diff --git a/agents/seo-ecommerce.md b/agents/seo-ecommerce.mdindex 2ad7104..47c5854 100644--- a/agents/seo-ecommerce.md+++ b/agents/seo-ecommerce.md@@ -62,3 +62,9 @@ Match existing claude-seo patterns:- If the URL is not a product page, detect page type and adjust analysis scope- If schema parsing fails, analyze raw HTML for product signals- Report all errors clearly with suggested next steps++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++E-commerce sites overwhelmingly inject product schema client-side (Shopify, Magento PWA, headless commerce on Next.js). Prefer `--mode always` for product page audits and compare `raw_content` vs `content` to confirm whether the JSON-LD is server-rendered.diff --git a/agents/seo-geo.md b/agents/seo-geo.mdindex c6dd218..3cf5d23 100644--- a/agents/seo-geo.md+++ b/agents/seo-geo.md@@ -62,3 +62,9 @@ Provide a structured report with:- Brand mention analysis (Wikipedia, Reddit, YouTube, LinkedIn)- Top 5 highest-impact changes with effort estimates- Platform-specific scores (Google AIO, ChatGPT, Perplexity, Bing Copilot)++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++AI citation analysis benefits from the `extracted_text` field — passage-level scoring should run against trafilatura's boilerplate-stripped output, not the full HTML, so navigation chrome and footers don't dilute the signal.diff --git a/agents/seo-local.md b/agents/seo-local.mdindex 2586730..7be0ec8 100644--- a/agents/seo-local.md+++ b/agents/seo-local.md@@ -76,3 +76,9 @@ Provide a structured report with:- Location page quality (if multi-location)- Top 10 prioritized actions (Critical > High > Medium > Low)- Limitations disclaimer (what could not be assessed without paid tools)++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++Map embeds, GBP widgets, and review carousels are commonly injected client-side. When auditing local pages on JS-heavy sites prefer `--mode always` so the audit reflects what users (and Google's crawler) actually see post-render.diff --git a/agents/seo-schema.md b/agents/seo-schema.mdindex 26adbcd..3a40f4f 100644--- a/agents/seo-schema.md+++ b/agents/seo-schema.md@@ -64,3 +64,9 @@ Provide:- Validation results (pass/fail per block)- Missing opportunities- Generated JSON-LD for implementation++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++For schema audits on SPA sites prefer `--mode always`: many sites inject JSON-LD client-side via React Helmet, Next/Head, or vue-meta, so the raw HTML will be empty of structured data even when the rendered DOM has the full graph. Compare `raw_content` vs `content` to confirm whether schema is server-rendered.diff --git a/agents/seo-sxo.md b/agents/seo-sxo.mdindex 95a3784..d86bcd7 100644--- a/agents/seo-sxo.md+++ b/agents/seo-sxo.md@@ -92,3 +92,9 @@ Before presenting results, verify:- [ ] Persona scores include concrete improvement suggestions- [ ] Mismatch severity is clearly rated- [ ] Limitations section is present++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.++Search experience scoring needs the *rendered* DOM because users see what JS produces. Prefer `--mode always` so above-the-fold analysis matches what the persona actually encounters.diff --git a/agents/seo-technical.md b/agents/seo-technical.mdindex 7d44ddb..8cb5342 100644--- a/agents/seo-technical.md+++ b/agents/seo-technical.md@@ -50,3 +50,7 @@ Provide a structured report with:7. Structured Data (detection, validation)8. JavaScript Rendering (CSR vs SSR)9. IndexNow Protocol (Bing, Yandex, Naver)++## Fetching pages (v2.0.0)++Use `python scripts/render_page.py <URL> --mode auto --json` for page HTML. `auto` does a raw fetch and only spins up Playwright when an SPA shell is detected; use `--mode always` to force a render or `--mode never` to skip Playwright entirely. The JSON exposes `raw_content` (pre-JS), `content` (post-JS), `is_spa`, `extracted_text` (boilerplate-stripped via trafilatura), and `publication_date` (htmldate). SSRF and DNS-rebinding protection live in `scripts/url_safety.py` — never call `requests.get` directly on user-supplied URLs.