Example output: examples/seo-sxo-bigin-com-20260514/SXO-REPORT.md
SEO SXO — Search Experience Optimization
Diagnose why a "well-optimized" page doesn't rank. Reads the actual SERP for the target keyword, infers the page type Google is rewarding, scores the candidate page against that pattern from multiple persona perspectives, and recommends the page format that would win the SERP.
Acknowledgements: SXO-as-a-skill framework originated in
claude-seoby AgriciDaniel (with the original concept credited to Florian Schmitz, Pro Hub Challenge). MIT-licensed both directions; this implementation is independent but the framing is theirs.
Prerequisites
- SE Ranking MCP server connected.
- Claude's
WebFetchtool available. - User provides: (a) target page URL, (b) target keyword the page is meant to rank for, optionally (c) target country (default
us).
Process
-
Validate inputs. Both URL and keyword are required. If keyword missing, ask the user — don't infer.
-
Pull the SERP
DATA_getSerpResultsandDATA_getSerpTaskAdvancedResults- Top 10 organic results with URL, title, snippet.
- SERP features: AI Overview presence, People Also Ask, image carousel, video carousel, shopping pack, Twitter pack, Featured Snippet, etc.
- Mode selection (cost driver — read this). SERP feature data (AIO/PAA/carousels) only comes back when the task runs with
result_type=advanced. That is also the most expensive single call this skill makes (≈ 700 credits per keyword on heavily-trafficked terms in the 2026-04 validation run).- Default —
mode=full: runsresult_type=advanced. Returns features + organic. Use when persona scoring needs PAA / AIO / pack signals (most cases). mode=lite(result_type=standard): organic top-10 only, no SERP features, ≈ 50–100 credits. Use when (a) the user is screening many keywords and SERP features aren't load-bearing, (b) credits are constrained, (c) the user explicitly asks for a cheap pass. The persona scoring still runs but the SERP-features row inSXO-REPORT.mdwill read(skipped — lite mode)and the dominant-pattern detection will rely on URL/title heuristics alone.- Surface the chosen mode + estimated cost up front. If the user didn't specify and the keyword looks ad-heavy or commercial-high-volume, recommend
mode=litefirst and re-run withmode=fullonly if dominant-pattern confidence is low.
- Default —
-
Pull AIO context
DATA_getAiOverview- If AIO is present for the keyword, capture the answer text and citation list.
- Note which top-10 organic results are also cited in the AIO.
-
Fetch user's page + top 3 winners
WebFetch(always) +mcp__firecrawl-mcp__firecrawl_scrape(when available)- WebFetch first (free): pull markdown for the user's page + top 3 winners. Extract
<title>, all H-tags, primary content structure (numbered list / table / prose / Q&A), word count, image mentions, comparison-table presence, CTA mentions. - Firecrawl second (4 Firecrawl credits typical — 1 per page) — recovers what WebFetch can't show:
- JSON-LD
@types per page (Product, FAQPage, BreadcrumbList, Article, Review, ItemList, etc.) — these are load-bearing for page-type classification in step 5. WebFetch's markdown can't see schema. og:title/og:image/twitter:cardfrommetadata.- Real
<title>length (the markdown first-heading is sometimes wrong).
- JSON-LD
--screenshotsflag (opt-in, +4 Firecrawl credits): when passed, also callfirecrawl_scrapewithformats: ["screenshot"]on the user's page + top 3 winners. Save asscreenshots/{page}.png. Reference in the wireframe (step 8) to ground recommendations in the visual layout, not just the text outline.- If Firecrawl unavailable (or
--no-firecrawlpassed): WebFetch portion runs. Page-type classification in step 5 falls back to URL/title heuristics + content-structure heuristics only — schema-based classification is skipped. Note in02-page-type-classification.md:Schema-based classification: skipped — Firecrawl required.Confidence in dominant-pattern detection drops accordingly.
- WebFetch first (free): pull markdown for the user's page + top 3 winners. Extract
-
Classify each top-10 result by page type
- Use the heuristics in
references/page-type-patterns.md. - For each: assign one of {comparison, alternatives, listicle, how-to, definition, product, editorial, forum, video}.
- Note signals that informed the classification (URL pattern, title pattern, schema, content structure).
- Use the heuristics in
-
Detect the dominant pattern
- Count types in top 10. If one type ≥ 6, that's dominant.
- If two tie at 4–4, the SERP is "split intent" — both work; commercial vs informational angle determines which to choose.
- Cross-reference with SERP features: video carousel → expect ≥ 2 video results; PAA → expect informational results; shopping pack → commercial intent dominant; AIO → informational consensus.
-
Score the user's page against the dominant pattern × 4 personas
- Use the rubrics in
references/persona-rubrics.md. - 4 personas: Skimmer, Researcher, Buyer, Validator.
- 0–10 per persona. Apply the intent-weighting profile (also in persona-rubrics.md) to get a single 0–100 SXO score.
- Use the rubrics in
-
Synthesise verdict and wireframe
- If user's page type matches dominant: SXO score reflects how well it executes the pattern. Recommend specific persona-targeted improvements.
- If user's page type does NOT match dominant: this is the "page-type mismatch" case. Output a wireframe for the dominant page type, anchored in observed patterns from the top 3 winners.
- Write
SXO-REPORT.md.
Output format
Create a folder seo-sxo-{target-slug}-{YYYYMMDD}/ with:
seo-sxo-{target-slug}-{YYYYMMDD}/
├── 01-serp-snapshot.md (top 10 + features + AIO)
├── 02-page-type-classification.md (each top-10 result classified)
├── 03-user-page-fingerprint.md (the candidate page's structure)
├── 04-persona-scores.md (4 personas × current page)
├── 05-recommendation.md (verdict + page-type-winning wireframe)
├── screenshots/ (only if --screenshots ran: candidate.png + winner-1/2/3.png)
└── SXO-REPORT.md (executive summary deliverable)
SXO-REPORT.md shape:
# SXO Report: {URL} for keyword "{keyword}"
> Snapshot dated {YYYY-MM-DD} · Country: {country}
## SERP profile
- Top 10 page types: {comparison: 4, listicle: 3, editorial: 2, video: 1}
- Dominant pattern: **{pattern}** ({n} of 10)
- SERP features: AIO ✓ ({n} citations), PAA ✓ ({n} questions), Image carousel ✗, Video carousel ✗, Shopping pack ✗
- Intent: {informational | commercial-investigation | transactional | navigational}
## Your page
- Page type: **{detected type}**
- Page-type match with dominant: **{✓ match | ✗ MISMATCH — see Verdict}**
- Word count: {n}
- Primary content structure: {prose | numbered-list | table | step-blocks | Q&A | mixed}
## SXO score: **{score}/100**
| Persona | Weight | Score | Notes |
|---|---|---|---|
| Skimmer | {%} | {n}/10 | {1-line note} |
| Researcher | {%} | {n}/10 | {1-line note} |
| Buyer | {%} | {n}/10 | {1-line note} |
| Validator | {%} | {n}/10 | {1-line note} |
## Verdict
{One paragraph. If page type matches: "Your page is the right type for this SERP. The score gap is {X} points — see persona-specific gaps below." If MISMATCH: "Your page is a {your type} but the SERP rewards {dominant type}. No amount of on-page optimization will close the gap; ship a {dominant type} page instead. Wireframe below."}
## If MISMATCH — wireframe for the winning page type
\`\`\`
{Page title pattern — e.g., "{Brand A} vs {Brand B}: 2026 Comparison"}
[Hero / TL;DR — first 200 words answer the comparative question]
[Comparison table — must be visually dominant]
[Section per dimension — each with H2 named after the dimension]
[Verdict / recommendation — explicit, justified]
[FAQ — top 3–5