seo-sxo
Search Experience Optimization: reads Google SERPs backwards to detect page-type mismatches, derives user stories from search intent signals, and scores pages from multiple persona perspectives. Identifies why well-optimized pages fail to rank by analyzing what Google rewards for each keyword
Install / Use
npx skills add AgriciDaniel/codex-seo --skill seo-sxoInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Product ManagementSupported Platforms
Tags
Our assessment of seo-sxo
seo-sxo scores 89/100 on our quality scale, 36th of 89 Product Management skills we index (top 41%).
Its SKILL.md is 11 KB long, well organised into 29 sections with 2 code examples: a thorough specification that gives an agent plenty to work with.
It has 747 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated 22 days ago, so seo-sxo is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
seo-sxo compared with similar skills
All 4 of these similar skills score higher than seo-sxo; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| seo-sxo (this skill)by AgriciDaniel | 89 | 747 | 22d ago | SKILL.md |
| algorithmic-artby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
| pptxby anthropics | 100 | 177.9k | 11d ago | SKILL.md |
| designby nextlevelbuilder | 100 | 130.2k | 13d ago | SKILL.md |
| ui-ux-pro-maxby nextlevelbuilder | 100 | 130.2k | 13d ago | SKILL.md |
Frequently asked questions
- How do I install seo-sxo?
- Run
npx skills add AgriciDaniel/codex-seo --skill seo-sxo. The install tabs above show the steps for each supported agent. - Which AI agents does seo-sxo work with?
- It is written for Zed, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is seo-sxo safe to use?
- It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is seo-sxo still maintained?
- The repository was last updated 22 days ago, so seo-sxo is actively maintained.
Skill content
View source on GitHubname: seo-sxo description: > Search Experience Optimization: reads Google SERPs backwards to detect page-type mismatches, derives user stories from search intent signals, and scores pages from multiple persona perspectives. Identifies why well-optimized pages fail to rank by analyzing what Google rewards for each keyword. Use when user says "SXO", "search experience", "page type mismatch", "SERP analysis", "user story", "persona scoring", "why isn't my page ranking", "intent mismatch", or "wireframe". user-invokable: true argument-hint: "<url> [keyword]" license: MIT metadata: author: AgriciDaniel original_author: "Florian Schmitz (Pro Hub Challenge)" version: "1.9.6" category: seo
Search Experience Optimization (SXO)
Shared Data Cache
Step 0 -- Check shared data cache:
Before gathering, check .seo-cache/ for reusable context from related SEO skills.
Reference: ../seo/references/shared-data-cache.md for schemas and dependency map.
Check these cache files when present:
-
.seo-cache/site-meta.jsonfor domain, business type, industry, and crawl context -
.seo-cache/audit-scores.jsonfor prior full-audit priorities -
.seo-cache/pages/{url-slug}/page-analysis.jsonfor page-level context when a URL is provided -
If found: parse and use clearly valid fields (note "Using cached [X] from [date]")
-
If missing, corrupt, or irrelevant: continue with fresh evidence
-
If the user says "refresh" or "re-run": ignore cache reads and overwrite on write
SXO bridges the gap between SEO (what Google rewards) and UX (what users need). Traditional SEO audits check technical health. SXO asks: "Does this page deserve to rank for this keyword based on what Google is actually rewarding in the SERP?"
Core Insight
A page can score 95/100 on technical SEO and still fail to rank because it is the wrong page type for the keyword. If Google shows 8 product pages and 2 comparison pages for your keyword, your blog post will never break through -- no matter how well-optimized it is.
Commands
| Command | Purpose |
|---------|---------|
| /seo sxo <url> | Full SXO analysis (auto-detect keyword from page) |
| /seo sxo <url> <keyword> | Full SXO analysis for a specific keyword |
| /seo sxo wireframe <url> | Generate IST/SOLL wireframe with concrete placeholders |
| /seo sxo personas <url> | Persona-only scoring (skip SERP analysis) |
Execution Pipeline
Step 1: Target Acquisition
- Fetch the target URL via
scripts/fetch_page.py(SSRF-safe) - Parse with
scripts/parse_html.pyto extract: title, H1, meta description, headings hierarchy, word count, schema markup, CTAs, media elements - If no keyword provided, extract primary keyword from title tag + H1 overlap
- Validate keyword is non-empty before proceeding
Step 2: SERP Backwards Analysis
Read references/page-type-taxonomy.md for classification rules.
- Search Google for the target keyword (WebSearch)
- For each of the top 10 organic results, record:
- URL and domain authority tier (brand / niche authority / unknown)
- Page type (classify using taxonomy)
- Content format (long-form, listicle, how-to, comparison, tool, video)
- Word count estimate (from snippet length and page structure)
- Schema types present (from SERP features: ratings, FAQ, HowTo)
- Media signals (video carousel, image pack, thumbnail presence)
- Record SERP features present:
- Featured snippet (paragraph / list / table / video)
- People Also Ask (extract all visible questions)
- Ads (top and bottom -- count and analyze ad copy themes)
- Related searches (extract all)
- Knowledge panel / local pack / shopping results
- AI Overview presence and source types
- Calculate SERP consensus:
- Dominant page type (>60% = strong consensus, 40-60% = mixed, <40% = fragmented)
- Content depth expectations (average word count tier)
- Schema expectation (most common structured data types)
- Media expectations (video required? images critical?)
Step 3: Page-Type Mismatch Detection
This is the core SXO insight. Compare target page type against SERP consensus.
Mismatch severity levels:
| Target Type | SERP Expects | Severity | Recommendation | |-------------|-------------|----------|----------------| | Blog Post | Product Pages | CRITICAL | Create dedicated product page | | Blog Post | Comparison | HIGH | Restructure as comparison with matrix | | Product | Informational | HIGH | Add educational content layer | | Landing Page | Tool/Calculator | HIGH | Build interactive tool component | | Service Page | Local Results | MEDIUM | Add location signals + local schema | | Any type match | - | ALIGNED | Focus on content depth and UX |
Classification rules:
- Classify target page using
references/page-type-taxonomy.md - Classify each SERP result using the same taxonomy
- Flag mismatch if target type differs from SERP dominant type
- If SERP is fragmented (no dominant type), note opportunity for differentiation
Step 4: User Story Derivation
Read references/user-story-framework.md for the full framework.
From SERP signals, derive user stories:
- PAA questions reveal knowledge gaps and concerns
- Ad copy themes reveal commercial triggers and value propositions
- Related searches reveal the search journey (what comes before/after)
- Featured snippet format reveals the expected answer structure
- AI Overview reveals what Google considers the definitive answer
For each signal cluster, generate a user story:
As a [persona derived from signal],
I want to [goal derived from query intent],
because [emotional driver from ad copy / PAA tone],
but I'm blocked by [barrier derived from PAA questions / related searches].
Generate 3-5 user stories covering the primary intent angles.
Step 5: Gap Analysis
Compare the target page against SERP expectations across 7 dimensions:
| Dimension | What to Compare | Score | |-----------|----------------|-------| | Page Type | Target type vs SERP dominant type | 0-15 | | Content Depth | Word count, heading depth, topic coverage | 0-15 | | UX Signals | CTA clarity, above-fold content, mobile layout | 0-15 | | Schema Markup | Present vs expected structured data types | 0-15 | | Media Richness | Images, video, interactive elements vs SERP norm | 0-15 | | Authority Signals | E-E-A-T markers, social proof, credentials | 0-15 | | Freshness | Last updated, date signals, content recency | 0-10 |
Total: 0-100 SXO Gap Score (lower = larger gap, higher = better alignment)
Step 6: Persona-Based Scoring
Read references/persona-scoring.md for methodology.
- Derive 4-7 personas from SERP intent signals:
- Cluster PAA questions by theme
- Segment ad copy by target audience
- Map related searches to journey stages
- For each persona, score the target page on 4 dimensions (25 pts each):
- Relevance: Does the page address this persona's need?
- Clarity: Can this persona find their answer within 10 seconds?
- Trust: Are there adequate trust signals for this persona?
- Action: Is there a clear next step for this persona?
- Output persona cards with scores and specific improvement recommendations
- Sort recommendations by weakest persona first (biggest opportunity)
Step 7: Wireframe Generation (Optional)
Only execute when /seo sxo wireframe is invoked.
Read references/wireframe-templates.md for templates.
- Generate IST (current state) wireframe from parsed page structure
- Generate SOLL (target state) wireframe based on:
- SERP consensus page type
- Gap analysis findings
- Persona scoring weaknesses
- Use ultra-concrete placeholders:
- NOT: "Add a CTA here"
- YES: "Add pricing CTA with annual savings badge below hero, linking to /pricing#enterprise"
- Output as semantic HTML section outline with annotations
DataForSEO Integration
If DataForSEO MCP tools are available:
- Before any API call, run cost estimate and confirm with user
- Use
google_organic_serpfor precise SERP data (positions, features, snippets) - Use
keyword_datafor search volume and competition metrics - Fall back to WebSearch if DataForSEO unavailable -- note reduced precision in output
SXO Score vs SEO Health Score
The SXO score is separate from the main SEO Health Score.
- SEO Health Score = technical compliance (crawlability, speed, schema, etc.)
- SXO Gap Score = alignment between page and SERP expectations
- A page can score 95 SEO + 30 SXO = technically perfect but strategically misaligned
- Both scores should be reported together when both are available
Cross-Skill References
| Finding | Hand Off To |
|---------|-------------|
| E-E-A-T gaps in persona scoring | /seo content for deep E-E-A-T audit |
| Missing schema types | /seo schema for generation |
| Local intent detected in SERP | /seo local for GBP analysis |
| Content depth gaps | /seo page for deep page analysis |
| Technical issues found during fetch | /seo technical for full audit |
| Image/media gaps | /seo images for optimization |
Output Format
Full SXO Analysis
## SXO Analysis: [URL]
### Target Keyword: [keyword]
### 1. SERP Landscape
- Dominant page type: [type] ([confidence]% consensus)
- SERP features: [list]
- Content depth norm: [word count range]
- Schema expectation: [types]
### 2. Page-Type Alignment
- Your page type: [type]
- SERP expects: [type]
- Verdict: [ALIGNED | MISMATCH (severity)]
- Impact: [explanation]
### 3. User Stories (derived from SERP signals)
[3-5 user stories with source signals]
### 4. Gap Analysis (SXO Score: XX/100)
[7-dimension breakdown table]
### 5. Persona Scores
[4-7 persona cards with 4-dimension scores]
### 6. Priority Actions
[Ranked list: fix mismatch first, then weakest persona gaps]
### 7. Limitations
[What could not be assessed, data source notes]
Error Handling
| Error | Action | |-------|--------| | URL fetch fails | Report error, suggest checking URL accessibility | | No keyword provided or detected | Ask user to provide target keyword | | WebSearch returns <5 results | Proceed with available data, note limited sample | | SERP has no organic results (all ads) | Note highly commercial SERP, analyze ad copy only | | Target page is JavaScript-rendered | Note limitation, use available HTML content | | DataForSEO cost exceeds threshold | Fall back to WebSearch, notify user |
Quality Checklist
Before delivering results, verify:
- [ ] Target URL was fetched via
scripts/fetch_page.py(not raw curl/fetch) - [ ] Page type classification uses taxonomy from references
- [ ] At least 5 SERP results were analyzed
- [ ] User stories cite specific SERP signals as evidence
- [ ] Persona scores include concrete improvement suggestions
- [ ] SXO score is clearly labeled as separate from SEO Health Score
- [ ] Limitations section is present and honest
- [ ] Cross-skill recommendations are included where relevant
Write to shared data cache
After completing all work, write a concise JSON summary to .seo-cache/ when the workflow produced durable findings.
Use the schemas and naming rules in ../seo/references/shared-data-cache.md; include at least cache_type, analyzed_at, source URL/domain, key findings, issues, recommendations, and tool limitations. Add .seo-cache/ to .gitignore if it is missing.
Related Skills
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
pptx
177.9kUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx or .potx file (even if the extracted content will be used elsewhere, like in an em…
design
130.2kComprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini, Atlas Cloud, or MuAPI AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG…
ui-ux-pro-max
130.2kUI/UX design intelligence for web, mobile, and desktop. This skill should be used when designing, building, reviewing, or fixing interfaces, including pages, components, design systems, accessibility, interaction, responsive layout, typography, color, charts, and stack-specific UI implementation.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
