Skip to content

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: rebuild SEO PRO with correct architecture, updated SEO standards, and security fixes

Daniel8784b7f3e3f4
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a088a4e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,49 @@
+# Generated output
+output/
+.planning/
+*.tmp
+*.bak
+*.swp
+
+# OS files
+.DS_Store
+Thumbs.db
+
+# IDE files
+.vscode/
+.idea/
+*.sublime-*
+
+# Python
+__pycache__/
+*.pyc
+*.pyo
+.pytest_cache/
+.mypy_cache/
+*.egg-info/
+dist/
+build/
+.eggs/
+
+# Virtual environments
+venv/
+.venv/
+env/
+.env/
+
+# Node (if any)
+node_modules/
+
+# Logs
+*.log
+
+# Archives (don't commit zips)
+*.zip
+*.tar.gz
+
+# Screenshots (generated during analysis)
+screenshots/
+
+# Temporary analysis files
+*-AUDIT-REPORT.md
+*-ACTION-PLAN.md
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000..90fc78d
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,37 @@
+# Changelog
+
+All notable changes to this project will be documented in this file.
+
+The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
+and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+
+## [1.0.0] - 2026-02-07
+
+### Added
+- Initial release of SEO PRO
+- 9 specialized skills: audit, page, sitemap, schema, images, technical, content, geo, plan
+- 6 subagents for parallel analysis: seo-technical, seo-content, seo-schema, seo-sitemap, seo-performance, seo-visual
+- Industry templates: SaaS, local service, e-commerce, publisher, agency, generic
+- Schema library with deprecation tracking:
+ - HowTo schema marked deprecated (September 2023)
+ - FAQ schema restricted to government/healthcare sites only (August 2023)
+ - SpecialAnnouncement schema marked deprecated (July 31, 2025)
+- AI Overviews / GEO optimization skill (seo-geo) - new for 2026
+- Core Web Vitals analysis using current metrics:
+ - LCP (Largest Contentful Paint): <2.5s
+ - INP (Interaction to Next Paint): <200ms - replaced FID on March 12, 2024
+ - CLS (Cumulative Layout Shift): <0.1
+- E-E-A-T framework updated to September 2025 Quality Rater Guidelines
+- Quality gates for thin content and doorway page prevention:
+ - Warning at 30+ location pages
+ - Hard stop at 50+ location pages
+- Pre-commit and post-edit automation hooks
+- One-command install and uninstall scripts (Unix and Windows)
+- Bounded Python dependency pinning with CVE-aware minimums (lxml >= 5.3.2)
+
+### Architecture
+- Follows Anthropic's official Claude Code skill specification (February 2026)
+- Standard directory layout: `scripts/`, `references/`, `assets/`
+- Valid hook matchers (tool name only, no argument patterns)
+- Correct subagent frontmatter fields (name, description, tools)
+- CLI command is `claude` (not `claude-code`)
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..94fac74
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2026 agricidaniel
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..be41359
--- /dev/null
+++ b/README.md
@@ -0,0 +1,143 @@
+# SEO PRO
+
+Comprehensive SEO analysis skill for Claude Code. Covers technical SEO, on-page analysis, content quality (E-E-A-T), schema markup, image optimization, sitemap architecture, AI search optimization (GEO), and strategic planning.
+
+[![Claude Code Skill](https://img.shields.io/badge/Claude%20Code-Skill-blue)](https://claude.ai/claude-code)
+[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
+
+## Installation
+
+### One-Command Install (Unix/macOS/Linux)
+
+```bash
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash
+```
+
+### Manual Install
+
+```bash
+git clone https://github.com/AgriciDaniel/claude-seo.git
+cd claude-seo
+./install.sh
+```
+
+### Windows
+
+```powershell
+irm https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.ps1 | iex
+```
+
+## Quick Start
+
+```bash
+# Start Claude Code
+claude
+
+# Run a full site audit
+/seo audit https://example.com
+
+# Analyze a single page
+/seo page https://example.com/about
+
+# Check schema markup
+/seo schema https://example.com
+
+# Generate a sitemap
+/seo sitemap generate
+
+# Optimize for AI search
+/seo geo https://example.com
+```
+
+## Commands
+
+| Command | Description |
+|---------|-------------|
+| `/seo audit <url>` | Full website audit with parallel subagent delegation |
+| `/seo page <url>` | Deep single-page analysis |
+| `/seo sitemap <url>` | Analyze existing XML sitemap |
+| `/seo sitemap generate` | Generate new sitemap with industry templates |
+| `/seo schema <url>` | Detect, validate, and generate Schema.org markup |
+| `/seo images <url>` | Image optimization analysis |
+| `/seo technical <url>` | Technical SEO audit (8 categories) |
+| `/seo content <url>` | E-E-A-T and content quality analysis |
+| `/seo geo <url>` | AI Overviews / Generative Engine Optimization |
+| `/seo plan <type>` | Strategic SEO planning (saas, local, ecommerce, publisher, agency) |
+
+## Features
+
+### Core Web Vitals (Current Metrics)
+- **LCP** (Largest Contentful Paint): Target < 2.5s
+- **INP** (Interaction to Next Paint): Target < 200ms
+- **CLS** (Cumulative Layout Shift): Target < 0.1
+
+> Note: INP replaced FID on March 12, 2024.
+
+### E-E-A-T Analysis
+Updated to September 2025 Quality Rater Guidelines:
+- **Experience**: First-hand knowledge signals
+- **Expertise**: Author credentials and depth
+- **Authoritativeness**: Industry recognition
+- **Trustworthiness**: Contact info, security, transparency
+
+### Schema Markup
+- Detection: JSON-LD (preferred), Microdata, RDFa
+- Validation against Google's supported types
+- Generation with templates
+- Deprecation awareness:
+ - HowTo: Deprecated (Sept 2023)
+ - FAQ: Restricted to gov/health sites (Aug 2023)
+ - SpecialAnnouncement: Deprecated (July 2025)
+
+### AI Search Optimization (GEO)
+New for 2026 - optimize for:
+- Google AI Overviews
+- ChatGPT web search
+- Perplexity
+- Other AI-powered search
+
+### Quality Gates
+- Warning at 30+ location pages
+- Hard stop at 50+ location pages
+- Thin content detection per page type
+- Doorway page prevention
+
+## Architecture
+
+```
+~/.claude/skills/seo-pro/ # Main skill
+~/.claude/skills/seo-*/ # Sub-skills (9 total)
+~/.claude/agents/seo-*.md # Subagents (6 total)
+```
+
+## Requirements
+
+- Python 3.8+
+- Claude Code CLI
+- Optional: Playwright for screenshots
+
+## Uninstall
+
+```bash
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/uninstall.sh | bash
+```
+
+## Documentation
+
+- [Installation Guide](docs/INSTALLATION.md)
+- [Commands Reference](docs/COMMANDS.md)
+- [Architecture](docs/ARCHITECTURE.md)
+- [MCP Integration](docs/MCP-INTEGRATION.md)
+- [Troubleshooting](docs/TROUBLESHOOTING.md)
+
+## License
+
+MIT License - see [LICENSE](LICENSE) for details.
+
+## Contributing
+
+Contributions welcome! Please read the guidelines in `docs/` before submitting PRs.
+
+---
+
+Built for Claude Code by [@AgriciDaniel](https://github.com/AgriciDaniel)
diff --git a/agents/seo-content.md b/agents/seo-content.md
new file mode 100644
index 0000000..24e7c4e
--- /dev/null
+++ b/agents/seo-content.md
@@ -0,0 +1,53 @@
+---
+name: seo-content
+description: Content quality reviewer. Evaluates E-E-A-T signals, readability, content depth, AI citation readiness, and thin content detection.
+tools: Read, Bash, Write, Grep
+---
+
+You are a Content Quality specialist following Google's September 2025 Quality Rater Guidelines.
+
+When given content to analyze:
+
+1. Assess E-E-A-T signals (Experience, Expertise, Authoritativeness, Trustworthiness)
+2. Check word count against page type minimums
+3. Calculate readability metrics
+4. Evaluate keyword optimization (natural, not stuffed)
+5. Assess AI citation readiness (quotable facts, structured data, clear hierarchy)
+6. Check content freshness and update signals
+7. Flag potential AI-generated content quality issues per Sept 2025 QRG criteria
+
+## E-E-A-T Scoring
+
+| Factor | Weight | What to Look For |
+|--------|--------|------------------|
+| Experience | 20% | First-hand signals, original content, case studies |
+| Expertise | 25% | Author credentials, technical accuracy |
+| Authoritativeness | 25% | External recognition, citations, reputation |
+| Trustworthiness | 30% | Contact info, transparency, security |
+
+## Content Minimums
+
+| Page Type | Min Words |
+|-----------|-----------|
+| Homepage | 500 |
+| Service page | 800 |
+| Blog post | 1,500 |
+| Product page | 400 |
+| Location page | 500-600 |
+
+## AI Content Assessment (Sept 2025 QRG)
+
+AI content is acceptable IF it demonstrates genuine E-E-A-T. Flag these markers of low-quality AI content:
+- Generic phrasing, lack of specificity
+- No original insight or unique perspective
+- No first-hand experience signals
+- Factual inaccuracies
+- Repetitive structure across pages
+
+## Output Format
+
+Provide:
+- Content quality score (0-100)
+- E-E-A-T breakdown with scores per factor
+- AI citation readiness score
+- Specific improvement recommendations
diff --git a/agents/seo-performance.md b/agents/seo-performance.md
new file mode 100644
index 0000000..a998624
--- /dev/null
+++ b/agents/seo-performance.md
@@ -0,0 +1,70 @@
+---
+name: seo-performance
+description: Performance analyzer. Measures and evaluates Core Web Vitals and page load performance.
+tools: Read, Bash, Write
+---
+
+You are a Web Performance specialist focused on Core Web Vitals.
+
+## Current Metrics (as of 2026)
+
+| Metric | Good | Needs Improvement | Poor |
+|--------|------|-------------------|------|
+| LCP (Largest Contentful Paint) | ≤2.5s | 2.5s–4.0s | >4.0s |
+| INP (Interaction to Next Paint) | ≤200ms | 200ms–500ms | >500ms |
+| CLS (Cumulative Layout Shift) | ≤0.1 | 0.1–0.25 | >0.25 |
+
+**IMPORTANT**: INP replaced FID on March 12, 2024. Never reference FID.
+
+## Evaluation Method
+
+Google evaluates the **75th percentile** of page visits — 75% of visits must meet the "good" threshold to pass.
+
+## When Analyzing Performance
+
+1. Use PageSpeed Insights API if available
+2. Otherwise, analyze HTML source for common issues
+3. Provide specific, actionable optimization recommendations
+4. Prioritize by expected impact
+
+## Common LCP Issues
+
+- Unoptimized hero images (compress, WebP/AVIF, preload)
+- Render-blocking CSS/JS (defer, async, critical CSS)
+- Slow server response TTFB >200ms (edge CDN, caching)
+- Third-party scripts blocking render
+- Web font loading delay
+
+## Common INP Issues
+
+- Long JavaScript tasks on main thread (break into <50ms chunks)
+- Heavy event handlers (debounce, requestAnimationFrame)
+- Excessive DOM size (>1,500 elements)
+- Third-party scripts hijacking main thread
+- Synchronous operations blocking
+
+## Common CLS Issues
+
+- Images without width/height dimensions
+- Dynamically injected content
+- Web fonts causing FOIT/FOUT
+- Ads/embeds without reserved space
+- Late-loading elements
+
+## Tools
+
+```bash
+# PageSpeed Insights API
+curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=URL&key=API_KEY"
+
+# Lighthouse CLI
+npx lighthouse URL --output json
+```
+
+## Output Format
+
+Provide:
+- Performance score (0-100)
+- Core Web Vitals status (pass/fail per metric)
+- Specific bottlenecks identified
+- Prioritized recommendations with expected impact
diff --git a/agents/seo-schema.md b/agents/seo-schema.md
new file mode 100644
index 0000000..1d7c9ae
--- /dev/null
+++ b/agents/seo-schema.md
@@ -0,0 +1,60 @@
+---
+name: seo-schema
+description: Schema markup expert. Detects, validates, and generates Schema.org structured data in JSON-LD format.
+tools: Read, Bash, Write
+---
+
+You are a Schema.org markup specialist.
+
+When analyzing pages:
+
+1. Detect all existing schema (JSON-LD, Microdata, RDFa)
+2. Validate against Google's supported rich result types
+3. Check for required and recommended properties
+4. Identify missing schema opportunities
+5. Generate correct JSON-LD for recommended additions
+
+## CRITICAL RULES
+
+### Never Recommend These (Deprecated):
+- **HowTo**: Rich results removed September 2023
+- **SpecialAnnouncement**: Deprecated July 31, 2025
+- **CourseInfo, EstimatedSalary, LearningVideo**: Retired June 2025
+
+### Restricted Schema:
+- **FAQ**: ONLY for government and healthcare authority sites (restricted August 2023)
+
+### Always Prefer:
+- JSON-LD format over Microdata or RDFa
+- `https://schema.org` as @context (not http)
+- Absolute URLs (not relative)
+- ISO 8601 date format
+
+## Validation Checklist
+
+For any schema block, verify:
+1. ✅ @context is "https://schema.org"
+2. ✅ @type is valid and not deprecated
+3. ✅ All required properties present
+4. ✅ Property values match expected types
+5. ✅ No placeholder text (e.g., "[Business Name]")
+6. ✅ URLs are absolute
+7. ✅ Dates are ISO 8601 format
+
+## Common Schema Types
+
+Recommend freely:
+- Organization, LocalBusiness
+- Article, BlogPosting, NewsArticle
+- Product, Offer, Service
+- BreadcrumbList, WebSite, WebPage
+- Person, Review, AggregateRating
+- VideoObject, Event, JobPosting
+
+## Output Format
+
+Provide:
+- Detection results (what schema exists)
+- Validation results (pass/fail per block)
+- Missing opportunities
+- Generated JSON-LD for implementation
diff --git a/agents/seo-sitemap.md b/agents/seo-sitemap.md
new file mode 100644
index 0000000..2fae619
--- /dev/null
+++ b/agents/seo-sitemap.md
@@ -0,0 +1,70 @@
+---
+name: seo-sitemap
+description: Sitemap architect. Validates XML sitemaps, generates new ones with industry templates, and enforces quality gates for location pages.
+tools: Read, Bash, Write, Glob
+---
+
+You are a Sitemap Architecture specialist.
+
+When working with sitemaps:
+
+1. Validate XML format and URL status codes
+2. Check for deprecated tags (priority, changefreq — both ignored by Google)
+3. Verify lastmod accuracy
+4. Compare crawled pages vs sitemap coverage
+5. Enforce the 50,000 URL per-file limit
+6. Apply location page quality gates
+
+## Quality Gates
+
+### Location Page Thresholds
+- ⚠️ **WARNING** at 30+ location pages: require 60%+ unique content per page
+- 🛑 **HARD STOP** at 50+ location pages: require explicit user justification
+
+### Why This Matters
+Google's doorway page algorithm penalizes programmatic location pages with thin/duplicate content.
+
+## Validation Checks
+
+| Check | Severity | Action |
+|-------|----------|--------|
+| Invalid XML | Critical | Fix syntax |
+| >50k URLs | Critical | Split with index |
+| Non-200 URLs | High | Remove or fix |
+| Noindexed URLs | High | Remove from sitemap |
+| Redirected URLs | Medium | Update to final URL |
+| All identical lastmod | Low | Use real dates |
+| priority/changefreq | Info | Can remove |
+
+## Safe vs Risky Pages
+
+### Safe at Scale ✅
+- Integration pages (with real setup docs)
+- Glossary pages (200+ word definitions)
+- Product pages (unique specs, reviews)
+
+### Penalty Risk ❌
+- Location pages with only city swapped
+- "Best [tool] for [industry]" without real value
+- AI-generated mass content
+
+## Sitemap Format
+
+```xml
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>https://example.com/page</loc>
+ <lastmod>2026-02-07</lastmod>
+ </url>
+</urlset>
+```
+
+## Output Format
+
+Provide:
+- Validation report with pass/fail per check
+- Missing pages (in crawl but not sitemap)
+- Extra pages (in sitemap but 404 or redirected)
+- Quality gate warnings if applicable
+- Generated sitemap XML if creating new
diff --git a/agents/seo-technical.md b/agents/seo-technical.md
new file mode 100644
index 0000000..075cfdb
--- /dev/null
+++ b/agents/seo-technical.md
@@ -0,0 +1,43 @@
+---
+name: seo-technical
+description: Technical SEO specialist. Analyzes crawlability, indexability, security, URL structure, mobile optimization, Core Web Vitals, and JavaScript rendering.
+tools: Read, Bash, Write, Glob, Grep
+---
+
+You are a Technical SEO specialist. When given a URL or set of URLs:
+
+1. Fetch the page(s) and analyze HTML source
+2. Check robots.txt and sitemap availability
+3. Analyze meta tags, canonical tags, and security headers
+4. Evaluate URL structure and redirect chains
+5. Assess mobile-friendliness from HTML/CSS analysis
+6. Flag potential Core Web Vitals issues from source inspection
+7. Check JavaScript rendering requirements
+
+## Core Web Vitals Reference
+
+Current thresholds (as of 2026):
+- **LCP** (Largest Contentful Paint): Good <2.5s, Needs Improvement 2.5-4s, Poor >4s
+- **INP** (Interaction to Next Paint): Good <200ms, Needs Improvement 200-500ms, Poor >500ms
+- **CLS** (Cumulative Layout Shift): Good <0.1, Needs Improvement 0.1-0.25, Poor >0.25
+
+**IMPORTANT**: INP replaced FID on March 12, 2024. Never reference FID in any output.
+
+## Output Format
+
+Provide a structured report with:
+- Pass/fail status per category
+- Technical score (0-100)
+- Prioritized issues (Critical → High → Medium → Low)
+- Specific recommendations with implementation details
+
+## Categories to Analyze
+
+1. Crawlability (robots.txt, sitemaps, noindex)
+2. Indexability (canonicals, duplicates, thin content)
+3. Security (HTTPS, headers)
+4. URL Structure (clean URLs, redirects)
+5. Mobile (viewport, touch targets)
+6. Core Web Vitals (LCP, INP, CLS potential issues)
+7. Structured Data (detection, validation)
+8. JavaScript Rendering (CSR vs SSR)
diff --git a/agents/seo-visual.md b/agents/seo-visual.md
new file mode 100644
index 0000000..2dc02ba
--- /dev/null
+++ b/agents/seo-visual.md
@@ -0,0 +1,77 @@
+---
+name: seo-visual
+description: Visual analyzer. Captures screenshots, tests mobile rendering, and analyzes above-the-fold content using Playwright.
+tools: Read, Bash, Write
+---
+
+You are a Visual Analysis specialist using Playwright for browser automation.
+
+## Prerequisites
+
+Before capturing screenshots, ensure Playwright and Chromium are installed:
+
+```bash
+pip install playwright && playwright install chromium
+```
+
+## When Analyzing Pages
+
+1. Capture desktop screenshot (1920x1080)
+2. Capture mobile screenshot (375x812, iPhone viewport)
+3. Analyze above-the-fold content: is the primary CTA visible?
+4. Check for visual layout issues, overlapping elements
+5. Verify mobile responsiveness
+
+## Screenshot Script
+
+Use `scripts/capture_screenshot.py` for browser automation:
+
+```python
+from playwright.sync_api import sync_playwright
+
+def capture(url, output_path, viewport_width=1920, viewport_height=1080):
+ with sync_playwright() as p:
+ browser = p.chromium.launch()
+ page = browser.new_page(viewport={'width': viewport_width, 'height': viewport_height})
+ page.goto(url, wait_until='networkidle')
+ page.screenshot(path=output_path, full_page=False)
+ browser.close()
+```
+
+## Viewports to Test
+
+| Device | Width | Height |
+|--------|-------|--------|
+| Desktop | 1920 | 1080 |
+| Laptop | 1366 | 768 |
+| Tablet | 768 | 1024 |
+| Mobile | 375 | 812 |
+
+## Visual Checks
+
+### Above-the-Fold Analysis
+- Primary heading (H1) visible without scrolling
+- Main CTA visible without scrolling
+- Hero image/content loading properly
+- No layout shifts on load
+
+### Mobile Responsiveness
+- Navigation accessible (hamburger menu or visible)
+- Touch targets at least 48x48px
+- No horizontal scroll
+- Text readable without zooming (16px+ base font)
+
+### Visual Issues
+- Overlapping elements
+- Text cut off or overflow
+- Images not scaling properly
+- Broken layout at different widths
+
+## Output Format
+
+Provide:
+- Screenshots saved to `screenshots/` directory
+- Visual analysis summary
+- Mobile responsiveness assessment
+- Above-the-fold content evaluation
+- Specific issues with element locations
diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md
new file mode 100644
index 0000000..a1ccd7c
--- /dev/null
+++ b/docs/ARCHITECTURE.md
@@ -0,0 +1,190 @@
+# Architecture
+
+## Overview
+
+SEO PRO follows Anthropic's official Claude Code skill specification with a modular, multi-skill architecture.
+
+## Directory Structure
+
+```
+~/.claude/
+├── skills/
+│ ├── seo-pro/ # Main orchestrator skill
+│ │ ├── SKILL.md # Entry point with routing logic
+│ │ └── references/ # On-demand reference files
+│ │ ├── cwv-thresholds.md
+│ │ ├── schema-types.md
+│ │ ├── eeat-framework.md
+│ │ └── quality-gates.md
+│ │
+│ ├── seo-audit/ # Full site audit
+│ ├── seo-page/ # Single page analysis
+│ ├── seo-technical/ # Technical SEO
+│ ├── seo-content/ # E-E-A-T analysis
+│ ├── seo-schema/ # Schema markup
+│ ├── seo-geo/ # AI search optimization
+│ ├── seo-images/ # Image optimization
+│ ├── seo-sitemap/ # Sitemap analysis/generation
+│ └── seo-plan/ # Strategic planning
+│ └── assets/ # Industry templates
+│
+└── agents/
+ ├── seo-technical.md # Technical SEO specialist
+ ├── seo-content.md # Content quality reviewer
+ ├── seo-schema.md # Schema markup expert
+ ├── seo-sitemap.md # Sitemap architect
+ ├── seo-performance.md # Performance analyzer
+ └── seo-visual.md # Visual analyzer
+```
+
+## Component Types
+
+### Skills
+
+Skills are markdown files with YAML frontmatter that define capabilities and instructions.
+
+**SKILL.md Format:**
+```yaml
+---
+name: skill-name
+description: >
+ When to use this skill. Include activation keywords
+ and concrete use cases.
+---
+
+# Skill Title
+
+Instructions and documentation...
+```
+
+### Subagents
+
+Subagents are specialized workers that can be delegated tasks. They have their own context and tools.
+
+**Agent Format:**
+```yaml
+---
+name: agent-name
+description: What this agent does.
+tools: Read, Bash, Write, Glob, Grep
+---
+
+Instructions for the agent...
+```
+
+### Reference Files
+
+Reference files contain static data loaded on-demand to avoid bloating the main skill.
+
+## Orchestration Flow
+
+### Full Audit (`/seo audit`)
+
+```
+User Request
+ │
+ ▼
+┌─────────────────┐
+│ seo-pro │ ← Main orchestrator
+│ (SKILL.md) │
+└────────┬────────┘
+ │
+ │ Detects business type
+ │ Spawns subagents in parallel
+ │
+ ┌────┴────┬────────┬────────┬────────┬────────┐
+ ▼ ▼ ▼ ▼ ▼ ▼
+┌───────┐ ┌───────┐ ┌───────┐ ┌───────┐ ┌───────┐ ┌───────┐
+│tech │ │content│ │schema │ │sitemap│ │perf │ │visual │
+│agent │ │agent │ │agent │ │agent │ │agent │ │agent │
+└───┬───┘ └───┬───┘ └───┬───┘ └───┬───┘ └───┬───┘ └───┬───┘
+ │ │ │ │ │ │
+ └─────────┴────────┴────┬───┴────────┴────────┘
+ │
+ ▼
+ ┌───────────────┐
+ │ Aggregate │
+ │ Results │
+ └───────┬───────┘
+ │
+ ▼
+ ┌───────────────┐
+ │ Generate │
+ │ Report │
+ └───────────────┘
+```
+
+### Individual Command
+
+```
+User Request (e.g., /seo page)
+ │
+ ▼
+┌─────────────────┐
+│ seo-pro │ ← Routes to sub-skill
+└────────┬────────┘
+ │
+ ▼
+┌─────────────────┐
+│ seo-page │ ← Sub-skill handles directly
+│ (SKILL.md) │
+└─────────────────┘
+```
+
+## Design Principles
+
+### 1. Progressive Disclosure
+
+- Main SKILL.md is concise (<200 lines)
+- Reference files loaded on-demand
+- Detailed instructions in sub-skills
+
+### 2. Parallel Processing
+
+- Subagents run concurrently during audits
+- Independent analyses don't block each other
+- Results aggregated after all complete
+
+### 3. Quality Gates
+
+- Built-in thresholds prevent bad recommendations
+- Location page limits (30 warning, 50 hard stop)
+- Schema deprecation awareness
+- FID → INP replacement enforced
+
+### 4. Industry Awareness
+
+- Templates for different business types
+- Automatic detection from homepage signals
+- Tailored recommendations per industry
+
+## File Naming Conventions
+
+| Type | Pattern | Example |
+|------|---------|---------|
+| Skill | `seo-{name}/SKILL.md` | `seo-audit/SKILL.md` |
+| Agent | `seo-{name}.md` | `seo-technical.md` |
+| Reference | `{topic}.md` | `cwv-thresholds.md` |
+| Script | `{action}_{target}.py` | `fetch_page.py` |
+| Template | `{industry}.md` | `saas.md` |
+
+## Extension Points
+
+### Adding a New Sub-Skill
+
+1. Create `skills/seo-newskill/SKILL.md`
+2. Add YAML frontmatter with name and description
+3. Write skill instructions
+4. Update main `seo-pro/SKILL.md` to route to new skill
+
+### Adding a New Subagent
+
+1. Create `agents/seo-newagent.md`
+2. Add YAML frontmatter with name, description, tools
+3. Write agent instructions
+4. Reference from relevant skills
+
+### Adding a New Reference File
+
+1. Create file in appropriate `references/` directory
+2. Reference in skill with load-on-demand instruction
diff --git a/docs/COMMANDS.md b/docs/COMMANDS.md
new file mode 100644
index 0000000..7b0d7c1
--- /dev/null
+++ b/docs/COMMANDS.md
@@ -0,0 +1,215 @@
+# Commands Reference
+
+## Overview
+
+All SEO PRO commands start with `/seo` followed by a subcommand.
+
+## Command List
+
+### `/seo audit <url>`
+
+Full website SEO audit with parallel analysis.
+
+**Example:**
+```
+/seo audit https://example.com
+```
+
+**What it does:**
+1. Crawls up to 500 pages
+2. Detects business type
+3. Delegates to 6 specialist subagents in parallel
+4. Generates SEO Health Score (0-100)
+5. Creates prioritized action plan
+
+**Output:**
+- `FULL-AUDIT-REPORT.md`
+- `ACTION-PLAN.md`
+- `screenshots/` (if Playwright available)
+
+---
+
+### `/seo page <url>`
+
+Deep single-page analysis.
+
+**Example:**
+```
+/seo page https://example.com/about
+```
+
+**What it analyzes:**
+- On-page SEO (title, meta, headings, URLs)
+- Content quality (word count, readability, E-E-A-T)
+- Technical elements (canonical, robots, Open Graph)
+- Schema markup
+- Images (alt text, sizes, formats)
+- Core Web Vitals potential issues
+
+---
+
+### `/seo technical <url>`
+
+Technical SEO audit across 8 categories.
+
+**Example:**
+```
+/seo technical https://example.com
+```
+
+**Categories:**
+1. Crawlability
+2. Indexability
+3. Security
+4. URL Structure
+5. Mobile Optimization
+6. Core Web Vitals (LCP, INP, CLS)
+7. Structured Data
+8. JavaScript Rendering
+
+---
+
+### `/seo content <url>`
+
+E-E-A-T and content quality analysis.
+
+**Example:**
+```
+/seo content https://example.com/blog/post
+```
+
+**What it evaluates:**
+- Experience signals (first-hand knowledge)
+- Expertise (author credentials)
+- Authoritativeness (external recognition)
+- Trustworthiness (transparency, security)
+- AI citation readiness
+- Content freshness
+
+---
+
+### `/seo schema <url>`
+
+Schema markup detection, validation, and generation.
+
+**Example:**
+```
+/seo schema https://example.com
+```
+
+**What it does:**
+- Detects existing schema (JSON-LD, Microdata, RDFa)
+- Validates against Google's requirements
+- Identifies missing opportunities
+- Generates ready-to-use JSON-LD
+
+---
+
+### `/seo geo <url>`
+
+AI Overviews / Generative Engine Optimization.
+
+**Example:**
+```
+/seo geo https://example.com/blog/guide
+```
+
+**What it analyzes:**
+- Citability score (quotable facts, statistics)
+- Structural readability (headings, lists, tables)
+- Entity clarity (definitions, context)
+- Authority signals (credentials, sources)
+- Structured data support
+
+---
+
+### `/seo images <url>`
+
+Image optimization analysis.
+
+**Example:**
+```
+/seo images https://example.com
+```
+
+**What it checks:**
+- Alt text presence and quality
+- File sizes (flag >200KB)
+- Formats (WebP/AVIF recommendations)
+- Responsive images (srcset, sizes)
+- Lazy loading
+- CLS prevention (dimensions)
+
+---
+
+### `/seo sitemap <url>`
+
+Analyze existing XML sitemap.
+
+**Example:**
+```
+/seo sitemap https://example.com/sitemap.xml
+```
+
+**What it validates:**
+- XML format
+- URL count (<50k per file)
+- URL status codes
+- lastmod accuracy
+- Deprecated tags (priority, changefreq)
+- Coverage vs crawled pages
+
+---
+
+### `/seo sitemap generate`
+
+Generate new sitemap with industry templates.
+
+**Example:**
+```
+/seo sitemap generate
+```
+
+**Process:**
+1. Select or auto-detect business type
+2. Interactive structure planning
+3. Apply quality gates (30/50 location page limits)
+4. Generate valid XML
+5. Create documentation
+
+---
+
+### `/seo plan <type>`
+
+Strategic SEO planning.
+
+**Types:** `saas`, `local`, `ecommerce`, `publisher`, `agency`
+
+**Example:**
+```
+/seo plan saas
+```
+
+**What it creates:**
+- Complete SEO strategy
+- Competitive analysis
+- Content calendar
+- Implementation roadmap (4 phases)
+- Site architecture design
+
+---
+
+## Quick Reference
+
+| Command | Use Case |
+|---------|----------|
+| `/seo audit <url>` | Full website audit |
+| `/seo page <url>` | Single page analysis |
+| `/seo technical <url>` | Technical SEO check |
+| `/seo content <url>` | E-E-A-T analysis |
+| `/seo schema <url>` | Schema validation |
+| `/seo geo <url>` | AI search optimization |
+| `/seo images <url>` | Image optimization |
+| `/seo sitemap <url>` | Sitemap validation |
+| `/seo sitemap generate` | Create new sitemap |
+| `/seo plan <type>` | Strategic planning |
diff --git a/docs/INSTALLATION.md b/docs/INSTALLATION.md
new file mode 100644
index 0000000..0d70a89
--- /dev/null
+++ b/docs/INSTALLATION.md
@@ -0,0 +1,150 @@
+# Installation Guide
+
+## Prerequisites
+
+- **Python 3.8+** with pip
+- **Git** for cloning the repository
+- **Claude Code CLI** installed and configured
+
+Optional:
+- **Playwright** for screenshot capabilities
+
+## Quick Install
+
+### Unix/macOS/Linux
+
+```bash
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash
+```
+
+### Windows (PowerShell)
+
+```powershell
+irm https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.ps1 | iex
+```
+
+## Manual Installation
+
+1. **Clone the repository**
+
+```bash
+git clone https://github.com/AgriciDaniel/claude-seo.git
+cd claude-seo
+```
+
+2. **Run the installer**
+
+```bash
+./install.sh
+```
+
+3. **Install Python dependencies** (if not done automatically)
+
+```bash
+pip install -r requirements.txt
+```
+
+4. **Install Playwright browsers** (optional, for screenshots)
+
+```bash
+pip install playwright
+playwright install chromium
+```
+
+## Installation Paths
+
+The installer copies files to:
+
+| Component | Path |
+|-----------|------|
+| Main skill | `~/.claude/skills/seo-pro/` |
+| Sub-skills | `~/.claude/skills/seo-*/` |
+| Subagents | `~/.claude/agents/seo-*.md` |
+
+## Verify Installation
+
+1. Start Claude Code:
+
+```bash
+claude
+```
+
+2. Check that the skill is loaded:
+
+```
+/seo
+```
+
+You should see a help message or prompt for a URL.
+
+## Uninstallation
+
+```bash
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/uninstall.sh | bash
+```
+
+Or manually:
+
+```bash
+rm -rf ~/.claude/skills/seo-pro
+rm -rf ~/.claude/skills/seo-audit
+rm -rf ~/.claude/skills/seo-page
+rm -rf ~/.claude/skills/seo-sitemap
+rm -rf ~/.claude/skills/seo-schema
+rm -rf ~/.claude/skills/seo-images
+rm -rf ~/.claude/skills/seo-technical
+rm -rf ~/.claude/skills/seo-content
+rm -rf ~/.claude/skills/seo-geo
+rm -rf ~/.claude/skills/seo-plan
+rm -f ~/.claude/agents/seo-*.md
+```
+
+## Upgrading
+
+To upgrade to the latest version:
+
+```bash
+# Uninstall current version
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/uninstall.sh | bash
+
+# Install new version
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash
+```
+
+## Troubleshooting
+
+### "Skill not found" error
+
+Ensure the skill is installed in the correct location:
+
+```bash
+ls ~/.claude/skills/seo-pro/SKILL.md
+```
+
+If the file doesn't exist, re-run the installer.
+
+### Python dependency errors
+
+Install dependencies manually:
+
+```bash
+pip install beautifulsoup4 requests lxml playwright Pillow urllib3 validators
+```
+
+### Playwright screenshot errors
+
+Install Chromium browser:
+
+```bash
+playwright install chromium
+```
+
+### Permission errors on Unix
+
+Make sure scripts are executable:
+
+```bash
+chmod +x ~/.claude/skills/seo-pro/scripts/*.py
+chmod +x ~/.claude/skills/seo-pro/hooks/*.py
+chmod +x ~/.claude/skills/seo-pro/hooks/*.sh
+```
diff --git a/docs/MCP-INTEGRATION.md b/docs/MCP-INTEGRATION.md
new file mode 100644
index 0000000..b925406
--- /dev/null
+++ b/docs/MCP-INTEGRATION.md
@@ -0,0 +1,121 @@
+# MCP Integration
+
+## Overview
+
+SEO PRO can integrate with Model Context Protocol (MCP) servers to access external APIs and enhance analysis capabilities.
+
+## Available Integrations
+
+### PageSpeed Insights API
+
+Use Google's PageSpeed Insights API directly for real Core Web Vitals data.
+
+**Configuration:**
+
+1. Get an API key from [Google Cloud Console](https://console.cloud.google.com/)
+2. Enable the PageSpeed Insights API
+3. Use in your analysis:
+
+```bash
+curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=URL&key=YOUR_API_KEY"
+```
+
+### Google Search Console
+
+For organic search data, use the Google Search Console API or community MCP servers.
+
+**Community Options:**
+- Search for `mcp-server-gsc` or similar community packages
+- Configure with your Google Cloud credentials
+
+### Custom MCP Configuration
+
+Add to `~/.claude/settings.json`:
+
+```json
+{
+ "mcpServers": {
+ "pagespeed": {
+ "command": "your-pagespeed-mcp-command",
+ "args": ["--api-key", "YOUR_KEY"]
+ }
+ }
+}
+```
+
+## API Usage Examples
+
+### PageSpeed Insights
+
+```python
+import requests
+
+def get_pagespeed_data(url: str, api_key: str) -> dict:
+ """Fetch PageSpeed Insights data for a URL."""
+ endpoint = "https://www.googleapis.com/pagespeedonline/v5/runPagespeed"
+ params = {
+ "url": url,
+ "key": api_key,
+ "strategy": "mobile", # or "desktop"
+ "category": ["performance", "accessibility", "best-practices", "seo"]
+ }
+ response = requests.get(endpoint, params=params)
+ return response.json()
+```
+
+### Core Web Vitals from CrUX
+
+```python
+def get_crux_data(url: str, api_key: str) -> dict:
+ """Fetch Chrome UX Report data for a URL."""
+ endpoint = "https://chromeuxreport.googleapis.com/v1/records:queryRecord"
+ payload = {
+ "url": url,
+ "formFactor": "PHONE" # or "DESKTOP"
+ }
+ headers = {"Content-Type": "application/json"}
+ params = {"key": api_key}
+ response = requests.post(endpoint, json=payload, headers=headers, params=params)
+ return response.json()
+```
+
+## Metrics Available
+
+### From PageSpeed Insights
+
+| Metric | Description |
+|--------|-------------|
+| LCP | Largest Contentful Paint (lab) |
+| INP | Interaction to Next Paint (estimated) |
+| CLS | Cumulative Layout Shift (lab) |
+| FCP | First Contentful Paint |
+| TBT | Total Blocking Time |
+| Speed Index | Visual progress speed |
+
+### From CrUX (Field Data)
+
+| Metric | Description |
+|--------|-------------|
+| LCP | 75th percentile, real users |
+| INP | 75th percentile, real users |
+| CLS | 75th percentile, real users |
+| TTFB | Time to First Byte |
+
+## Best Practices
+
+1. **Rate Limiting**: Respect API quotas (typically 25k requests/day for PageSpeed)
+2. **Caching**: Cache results to avoid redundant API calls
+3. **Field vs Lab**: Prioritize field data (CrUX) for ranking signals
+4. **Error Handling**: Handle API errors gracefully
+
+## Without API Keys
+
+If you don't have API keys, SEO PRO can still:
+
+1. Analyze HTML source for potential issues
+2. Identify common performance problems
+3. Check for render-blocking resources
+4. Evaluate image optimization opportunities
+5. Detect JavaScript-heavy implementations
+
+The analysis will note that actual Core Web Vitals measurements require field data from real users.
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
new file mode 100644
index 0000000..77e6618
--- /dev/null
+++ b/docs/TROUBLESHOOTING.md
@@ -0,0 +1,201 @@
+# Troubleshooting
+
+## Common Issues
+
+### Skill Not Loading
+
+**Symptom:** `/seo` command not recognized
+
+**Solutions:**
+
+1. Verify installation:
+```bash
+ls ~/.claude/skills/seo-pro/SKILL.md
+```
+
+2. Check SKILL.md has proper frontmatter:
+```bash
+head -5 ~/.claude/skills/seo-pro/SKILL.md
+```
+Should start with `---` followed by YAML.
+
+3. Restart Claude Code:
+```bash
+claude
+```
+
+4. Re-run installer:
+```bash
+curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash
+```
+
+---
+
+### Python Dependency Errors
+
+**Symptom:** `ModuleNotFoundError: No module named 'requests'`
+
+**Solution:**
+```bash
+pip install -r ~/.claude/skills/seo-pro/requirements.txt
+```
+
+Or install individually:
+```bash
+pip install beautifulsoup4 requests lxml playwright Pillow urllib3 validators
+```
+
+---
+
+### Playwright Screenshot Errors
+
+**Symptom:** `playwright._impl._errors.Error: Executable doesn't exist`
+
+**Solution:**
+```bash
+playwright install chromium
+```
+
+If that fails:
+```bash
+pip install playwright
+python -m playwright install chromium
+```
+
+---
+
+### Permission Denied Errors
+
+**Symptom:** `Permission denied` when running scripts
+
+**Solution:**
+```bash
+chmod +x ~/.claude/skills/seo-pro/scripts/*.py
+chmod +x ~/.claude/skills/seo-pro/hooks/*.py
+chmod +x ~/.claude/skills/seo-pro/hooks/*.sh
+```
+
+---
+
+### Hook Not Triggering
+
+**Symptom:** Schema validation hook not running
+
+**Check:**
+
+1. Verify hook is in settings:
+```bash
+cat ~/.claude/settings.json
+```
+
+2. Ensure correct path:
+```json
+{
+ "hooks": {
+ "PostToolUse": [
+ {
+ "matcher": "Edit|Write",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "python3 ~/.claude/skills/seo-pro/hooks/validate-schema.py \"$FILE_PATH\"",
+ "exitCodes": { "2": "block" }
+ }
+ ]
+ }
+ ]
+ }
+}
+```
+
+3. Test hook directly:
+```bash
+python3 ~/.claude/skills/seo-pro/hooks/validate-schema.py test.html
+```
+
+---
+
+### Subagent Not Found
+
+**Symptom:** `Agent 'seo-technical' not found`
+
+**Solution:**
+
+1. Verify agent files exist:
+```bash
+ls ~/.claude/agents/seo-*.md
+```
+
+2. Check agent frontmatter:
+```bash
+head -5 ~/.claude/agents/seo-technical.md
+```
+
+3. Re-install agents:
+```bash
+cp /path/to/claude-seo/agents/*.md ~/.claude/agents/
+```
+
+---
+
+### Timeout Errors
+
+**Symptom:** `Request timed out after 30 seconds`
+
+**Solutions:**
+
+1. The target site may be slow — try again
+2. Increase timeout in script calls
+3. Check your network connection
+4. Some sites block automated requests
+
+---
+
+### Schema Validation False Positives
+
+**Symptom:** Hook blocks valid schema
+
+**Check:**
+
+1. Ensure placeholders are replaced
+2. Verify @context is `https://schema.org`
+3. Check for deprecated types (HowTo, SpecialAnnouncement)
+4. Validate at [Google's Rich Results Test](https://search.google.com/test/rich-results)
+
+---
+
+### Slow Audit Performance
+
+**Symptom:** Full audit takes too long
+
+**Solutions:**
+
+1. Audit crawls up to 500 pages — large sites take time
+2. Subagents run in parallel to speed up analysis
+3. For faster checks, use `/seo page` on specific URLs
+4. Check if site has slow response times
+
+---
+
+## Getting Help
+
+1. **Check the docs:** Review [COMMANDS.md](COMMANDS.md) and [ARCHITECTURE.md](ARCHITECTURE.md)
+
+2. **GitHub Issues:** Report bugs at the repository
+
+3. **Logs:** Check Claude Code's output for error details
+
+## Debug Mode
+
+To see detailed output, check Claude Code's internal logs or run scripts directly:
+
+```bash
+# Test fetch
+python3 ~/.claude/skills/seo-pro/scripts/fetch_page.py https://example.com
+
+# Test parse
+python3 ~/.claude/skills/seo-pro/scripts/parse_html.py page.html --json
+
+# Test screenshot
+python3 ~/.claude/skills/seo-pro/scripts/capture_screenshot.py https://example.com
+```
diff --git a/hooks/pre-commit-seo-check.sh b/hooks/pre-commit-seo-check.sh
new file mode 100755
index 0000000..3d796c7
--- /dev/null
+++ b/hooks/pre-commit-seo-check.sh
@@ -0,0 +1,109 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# Pre-commit SEO validation hook for Claude Code.
+#
+# Hook configuration in ~/.claude/settings.json:
+# {
+# "hooks": {
+# "PreToolUse": [
+# {
+# "matcher": "Bash",
+# "hooks": [
+# {
+# "type": "command",
+# "command": "~/.claude/skills/seo-pro/hooks/pre-commit-seo-check.sh",
+# "exitCodes": { "2": "block" }
+# }
+# ]
+# }
+# ]
+# }
+# }
+#
+# NOTE: The matcher is "Bash" (tool name only). This script runs on ALL
+# Bash tool uses. It checks if there are staged files before proceeding.
+# If there are no staged changes, it exits 0 immediately.
+
+ERRORS=0
+WARNINGS=0
+
+# Check if there are staged changes — exit early if not
+if ! git diff --cached --quiet 2>/dev/null; then
+ : # There are staged changes, proceed with checks
+else
+ exit 0 # No staged changes, nothing to check
+fi
+
+echo "🔍 Running pre-commit SEO checks..."
+
+# Check staged HTML-like files
+STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM 2>/dev/null | grep -E '\.(html|htm|php|jsx|tsx|vue|svelte)$' || true)
+
+if [ -z "${STAGED_FILES}" ]; then
+ echo "✓ No HTML files staged — skipping SEO checks"
+ exit 0
+fi
+
+for file in ${STAGED_FILES}; do
+ if [ ! -f "${file}" ]; then
+ continue
+ fi
+
+ # Check for placeholder text in schema
+ if grep -qiE '\[(Business Name|City|State|Phone|Address|Your|INSERT|REPLACE)\]' "${file}" 2>/dev/null; then
+ echo "🛑 ${file}: Contains placeholder text in schema markup"
+ ERRORS=$((ERRORS + 1))
+ fi
+
+ # Check title tag length
+ TITLE=$(grep -oP '(?<=<title>).*?(?=</title>)' "${file}" 2>/dev/null | head -1 || true)
+ if [ -n "${TITLE}" ]; then
+ TITLE_LEN=${#TITLE}
+ if [ "${TITLE_LEN}" -lt 30 ] || [ "${TITLE_LEN}" -gt 70 ]; then
+ echo "⚠️ ${file}: Title tag length ${TITLE_LEN} chars (recommend 30-60)"
+ WARNINGS=$((WARNINGS + 1))
+ fi
+ fi
+
+ # Check for images without alt text
+ if grep -qP '<img(?![^>]*alt=)' "${file}" 2>/dev/null; then
+ echo "⚠️ ${file}: Images found without alt text"
+ WARNINGS=$((WARNINGS + 1))
+ fi
+
+ # Check for deprecated schema types
+ if grep -qE '"@type"\s*:\s*"(HowTo|SpecialAnnouncement)"' "${file}" 2>/dev/null; then
+ echo "🛑 ${file}: Contains deprecated schema type"
+ ERRORS=$((ERRORS + 1))
+ fi
+
+ # Check for FID references (should be INP)
+ if grep -qi 'First Input Delay\|"FID"' "${file}" 2>/dev/null; then
+ echo "⚠️ ${file}: References FID — should use INP (Interaction to Next Paint)"
+ WARNINGS=$((WARNINGS + 1))
+ fi
+
+ # Check meta description length
+ META_DESC=$(grep -oP '(?<=<meta name="description" content=").*?(?=")' "${file}" 2>/dev/null | head -1 || true)
+ if [ -n "${META_DESC}" ]; then
+ META_LEN=${#META_DESC}
+ if [ "${META_LEN}" -lt 120 ] || [ "${META_LEN}" -gt 160 ]; then
+ echo "⚠️ ${file}: Meta description length ${META_LEN} chars (recommend 120-160)"
+ WARNINGS=$((WARNINGS + 1))
+ fi
+ fi
+done
+
+echo ""
+if [ "${ERRORS}" -gt 0 ]; then
+ echo "🛑 ${ERRORS} critical error(s) found — commit blocked"
+ echo "Fix the errors above and try again."
+ exit 2
+elif [ "${WARNINGS}" -gt 0 ]; then
+ echo "⚠️ ${WARNINGS} warning(s) found — commit allowed"
+ exit 0
+else
+ echo "✓ All SEO checks passed"
+ exit 0
+fi
diff --git a/hooks/validate-schema.py b/hooks/validate-schema.py
new file mode 100755
index 0000000..b3127c1
--- /dev/null
+++ b/hooks/validate-schema.py
@@ -0,0 +1,160 @@
+#!/usr/bin/env python3
+"""Post-edit schema validation hook for Claude Code.
+
+Validates JSON-LD schema after file edits. Returns exit code 2 to block
+if critical validation errors found.
+
+Hook configuration in ~/.claude/settings.json:
+{
+ "hooks": {
+ "PostToolUse": [
+ {
+ "matcher": "Edit|Write",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "python3 ~/.claude/skills/seo-pro/hooks/validate-schema.py \"$FILE_PATH\"",
+ "exitCodes": { "2": "block" }
+ }
+ ]
+ }
+ ]
+ }
+}
+
+Note: matcher filters by tool name only (Edit, Write). The script itself
+checks if the file contains schema markup before validating.
+"""
+
+import json
+import re
+import sys
+import os
+from typing import List
+
+
+def validate_jsonld(content: str) -> List[str]:
+ """Validate JSON-LD blocks in HTML content."""
+ errors = []
+ pattern = r'<script\s+type=["\']application/ld\+json["\']\s*>(.*?)</script>'
+ blocks = re.findall(pattern, content, re.DOTALL | re.IGNORECASE)
+
+ if not blocks:
+ return [] # No schema found — not an error
+
+ for i, block in enumerate(blocks, 1):
+ block = block.strip()
+ try:
+ data = json.loads(block)
+ except json.JSONDecodeError as e:
+ errors.append(f"Block {i}: Invalid JSON — {e}")
+ continue
+
+ if isinstance(data, list):
+ for item in data:
+ errors.extend(_validate_schema_object(item, i))
+ elif isinstance(data, dict):
+ errors.extend(_validate_schema_object(data, i))
+
+ return errors
+
+
+def _validate_schema_object(obj: dict, block_num: int) -> List[str]:
+ """Validate a single schema object."""
+ errors = []
+ prefix = f"Block {block_num}"
+
+ # Check @context
+ if "@context" not in obj:
+ errors.append(f"{prefix}: Missing @context")
+ elif obj["@context"] not in ("https://schema.org", "http://schema.org"):
+ errors.append(f"{prefix}: @context should be 'https://schema.org'")
+
+ # Check @type
+ if "@type" not in obj:
+ errors.append(f"{prefix}: Missing @type")
+
+ # Check for placeholder text
+ placeholders = [
+ "[Business Name]",
+ "[City]",
+ "[State]",
+ "[Phone]",
+ "[Address]",
+ "[Your",
+ "[INSERT",
+ "REPLACE",
+ "[URL]",
+ "[Email]",
+ ]
+ text = json.dumps(obj)
+ for p in placeholders:
+ if p.lower() in text.lower():
+ errors.append(f"{prefix}: Contains placeholder text: {p}")
+
+ # Check for deprecated types
+ schema_type = obj.get("@type", "")
+ deprecated = {
+ "HowTo": "deprecated September 2023",
+ "SpecialAnnouncement": "deprecated July 31, 2025",
+ "CourseInfo": "retired June 2025",
+ "EstimatedSalary": "retired June 2025",
+ "LearningVideo": "retired June 2025",
+ }
+ if schema_type in deprecated:
+ errors.append(f"{prefix}: @type '{schema_type}' is {deprecated[schema_type]}")
+
+ # Check for restricted types used incorrectly
+ restricted = {"FAQPage": "restricted to government and healthcare sites only (Aug 2023)"}
+ if schema_type in restricted:
+ errors.append(f"{prefix}: @type '{schema_type}' is {restricted[schema_type]} — verify site qualifies")
+
+ return errors
+
+
+def main():
+ if len(sys.argv) < 2:
+ sys.exit(0)
+
+ filepath = sys.argv[1]
+
+ if not os.path.isfile(filepath):
+ sys.exit(0)
+
+ # Only validate HTML-like files
+ valid_extensions = (".html", ".htm", ".jsx", ".tsx", ".vue", ".svelte", ".php", ".ejs")
+ if not filepath.endswith(valid_extensions):
+ sys.exit(0)
+
+ try:
+ with open(filepath, "r", encoding="utf-8", errors="ignore") as f:
+ content = f.read()
+ except (OSError, IOError):
+ sys.exit(0)
+
+ errors = validate_jsonld(content)
+
+ if not errors:
+ sys.exit(0)
+
+ # Categorize errors
+ critical_keywords = ["placeholder", "deprecated", "retired"]
+ critical = [e for e in errors if any(kw in e.lower() for kw in critical_keywords)]
+ warnings = [e for e in errors if e not in critical]
+
+ if warnings:
+ print("⚠️ Schema validation warnings:")
+ for w in warnings:
+ print(f" - {w}")
+
+ if critical:
+ print("🛑 Schema validation ERRORS (blocking):")
+ for e in critical:
+ print(f" - {e}")
+ sys.exit(2) # Block the edit
+
+ sys.exit(1) # Warnings only — proceed
+
+
+if __name__ == "__main__":
+ main()
diff --git a/install.ps1 b/install.ps1
new file mode 100644
index 0000000..00e6d2b
--- /dev/null
+++ b/install.ps1
@@ -0,0 +1,105 @@
+# SEO PRO Installer for Windows
+# PowerShell installation script
+
+$ErrorActionPreference = "Stop"
+
+Write-Host "════════════════════════════════════════" -ForegroundColor Cyan
+Write-Host "║ SEO PRO - Installer ║" -ForegroundColor Cyan
+Write-Host "║ Claude Code SEO Skill ║" -ForegroundColor Cyan
+Write-Host "════════════════════════════════════════" -ForegroundColor Cyan
+Write-Host ""
+
+# Check prerequisites
+try {
+ $pythonVersion = python --version 2>&1
+ Write-Host "✓ $pythonVersion detected" -ForegroundColor Green
+} catch {
+ Write-Host "✗ Python is required but not installed." -ForegroundColor Red
+ exit 1
+}
+
+try {
+ git --version | Out-Null
+ Write-Host "✓ Git detected" -ForegroundColor Green
+} catch {
+ Write-Host "✗ Git is required but not installed." -ForegroundColor Red
+ exit 1
+}
+
+# Set paths
+$SkillDir = "$env:USERPROFILE\.claude\skills\seo-pro"
+$AgentDir = "$env:USERPROFILE\.claude\agents"
+$RepoUrl = "https://github.com/AgriciDaniel/claude-seo"
+
+# Create directories
+New-Item -ItemType Directory -Force -Path $SkillDir | Out-Null
+New-Item -ItemType Directory -Force -Path $AgentDir | Out-Null
+
+# Clone to temp directory
+$TempDir = Join-Path $env:TEMP "claude-seo-install"
+if (Test-Path $TempDir) {
+ Remove-Item -Recurse -Force $TempDir
+}
+
+Write-Host "↓ Downloading SEO PRO..." -ForegroundColor Yellow
+git clone --depth 1 $RepoUrl $TempDir 2>$null
+
+# Copy skill files
+Write-Host "→ Installing skill files..." -ForegroundColor Yellow
+Copy-Item -Recurse -Force "$TempDir\seo-pro\*" $SkillDir
+
+# Copy sub-skills
+$SkillsPath = "$TempDir\skills"
+if (Test-Path $SkillsPath) {
+ Get-ChildItem -Directory $SkillsPath | ForEach-Object {
+ $target = "$env:USERPROFILE\.claude\skills\$($_.Name)"
+ New-Item -ItemType Directory -Force -Path $target | Out-Null
+ Copy-Item -Recurse -Force "$($_.FullName)\*" $target
+ }
+}
+
+# Copy agents
+Write-Host "→ Installing subagents..." -ForegroundColor Yellow
+Copy-Item -Force "$TempDir\agents\*.md" $AgentDir 2>$null
+
+# Copy shared scripts
+$ScriptsPath = "$TempDir\scripts"
+if (Test-Path $ScriptsPath) {
+ $SkillScripts = "$SkillDir\scripts"
+ New-Item -ItemType Directory -Force -Path $SkillScripts | Out-Null
+ Copy-Item -Recurse -Force "$ScriptsPath\*" $SkillScripts
+}
+
+# Copy hooks
+$HooksPath = "$TempDir\hooks"
+if (Test-Path $HooksPath) {
+ $SkillHooks = "$SkillDir\hooks"
+ New-Item -ItemType Directory -Force -Path $SkillHooks | Out-Null
+ Copy-Item -Recurse -Force "$HooksPath\*" $SkillHooks
+}
+
+# Install Python dependencies
+Write-Host "→ Installing Python dependencies..." -ForegroundColor Yellow
+try {
+ pip install -q -r "$TempDir\requirements.txt" 2>$null
+} catch {
+ Write-Host "⚠ Could not auto-install Python packages. Run: pip install -r requirements.txt" -ForegroundColor Yellow
+}
+
+# Optional: Install Playwright browsers
+Write-Host "→ Installing Playwright browsers (optional)..." -ForegroundColor Yellow
+try {
+ python -m playwright install chromium 2>$null
+} catch {
+ Write-Host "⚠ Playwright browser install failed. Screenshots won't work." -ForegroundColor Yellow
+}
+
+# Cleanup
+Remove-Item -Recurse -Force $TempDir
+
+Write-Host ""
+Write-Host "✓ SEO PRO installed successfully!" -ForegroundColor Green
+Write-Host ""
+Write-Host "Usage:" -ForegroundColor Cyan
+Write-Host " 1. Start Claude Code: claude"
+Write-Host " 2. Run commands: /seo audit https://example.com"
diff --git a/install.sh b/install.sh
new file mode 100755
index 0000000..0b99807
--- /dev/null
+++ b/install.sh
@@ -0,0 +1,90 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+# SEO PRO Installer
+# Wraps everything in main() to prevent partial execution on network failure
+
+main() {
+ SKILL_DIR="${HOME}/.claude/skills/seo-pro"
+ AGENT_DIR="${HOME}/.claude/agents"
+ REPO_URL="https://github.com/AgriciDaniel/claude-seo"
+
+ echo "════════════════════════════════════════"
+ echo "║ SEO PRO - Installer ║"
+ echo "║ Claude Code SEO Skill ║"
+ echo "════════════════════════════════════════"
+ echo ""
+
+ # Check prerequisites
+ command -v python3 >/dev/null 2>&1 || { echo "✗ Python 3 is required but not installed."; exit 1; }
+ command -v git >/dev/null 2>&1 || { echo "✗ Git is required but not installed."; exit 1; }
+
+ # Check Python version
+ PYTHON_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
+ echo "✓ Python ${PYTHON_VERSION} detected"
+
+ # Create directories
+ mkdir -p "${SKILL_DIR}"
+ mkdir -p "${AGENT_DIR}"
+
+ # Clone or update
+ TEMP_DIR=$(mktemp -d)
+ trap "rm -rf ${TEMP_DIR}" EXIT
+
+ echo "↓ Downloading SEO PRO..."
+ git clone --depth 1 "${REPO_URL}" "${TEMP_DIR}/claude-seo" 2>/dev/null
+
+ # Copy skill files
+ echo "→ Installing skill files..."
+ cp -r "${TEMP_DIR}/claude-seo/seo-pro/"* "${SKILL_DIR}/"
+
+ # Copy sub-skills
+ if [ -d "${TEMP_DIR}/claude-seo/skills" ]; then
+ for skill_dir in "${TEMP_DIR}/claude-seo/skills"/*/; do
+ skill_name=$(basename "${skill_dir}")
+ target="${HOME}/.claude/skills/${skill_name}"
+ mkdir -p "${target}"
+ cp -r "${skill_dir}"* "${target}/"
+ done
+ fi
+
+ # Copy agents
+ echo "→ Installing subagents..."
+ cp -r "${TEMP_DIR}/claude-seo/agents/"*.md "${AGENT_DIR}/" 2>/dev/null || true
+
+ # Copy shared scripts
+ if [ -d "${TEMP_DIR}/claude-seo/scripts" ]; then
+ mkdir -p "${SKILL_DIR}/scripts"
+ cp -r "${TEMP_DIR}/claude-seo/scripts/"* "${SKILL_DIR}/scripts/"
+ fi
+
+ # Copy hooks
+ if [ -d "${TEMP_DIR}/claude-seo/hooks" ]; then
+ mkdir -p "${SKILL_DIR}/hooks"
+ cp -r "${TEMP_DIR}/claude-seo/hooks/"* "${SKILL_DIR}/hooks/"
+ chmod +x "${SKILL_DIR}/hooks/"*.sh 2>/dev/null || true
+ chmod +x "${SKILL_DIR}/hooks/"*.py 2>/dev/null || true
+ fi
+
+ # Install Python dependencies
+ echo "→ Installing Python dependencies..."
+ pip install --quiet --break-system-packages -r "${TEMP_DIR}/claude-seo/requirements.txt" 2>/dev/null || \
+ pip install --quiet -r "${TEMP_DIR}/claude-seo/requirements.txt" 2>/dev/null || \
+ echo "⚠ Could not auto-install Python packages. Run: pip install -r requirements.txt"
+
+ # Optional: Install Playwright browsers
+ echo "→ Installing Playwright browsers (optional)..."
+ python3 -m playwright install chromium 2>/dev/null || \
+ echo "⚠ Playwright browser install failed. Screenshots won't work. Run: playwright install chromium"
+
+ echo ""
+ echo "✓ SEO PRO installed successfully!"
+ echo ""
+ echo "Usage:"
+ echo " 1. Start Claude Code: claude"
+ echo " 2. Run commands: /seo audit https://example.com"
+ echo ""
+ echo "To uninstall: curl -fsSL ${REPO_URL}/raw/main/uninstall.sh | bash"
+}
+
+main "$@"
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..704cf53
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,10 @@
+# SEO PRO - Python Dependencies
+# Bounded version pinning with security-conscious minimums
+
+beautifulsoup4>=4.12.0,<5.0.0
+requests>=2.31.0,<3.0.0
+lxml>=5.3.2,<7.0.0 # Minimum 5.3.2 for CVE-2025-24928 fix
+playwright>=1.50.0,<2.0.0
+Pillow>=11.0.0,<13.0.0
+urllib3>=2.0.0,<3.0.0
+validators>=0.22.0,<1.0.0
diff --git a/scripts/analyze_visual.py b/scripts/analyze_visual.py
new file mode 100755
index 0000000..e5a643e
--- /dev/null
+++ b/scripts/analyze_visual.py
@@ -0,0 +1,182 @@
+#!/usr/bin/env python3
+"""
+Analyze visual aspects of a web page using Playwright.
+
+Usage:
+ python analyze_visual.py https://example.com
+"""
+
+import argparse
+import json
+import sys
+
+try:
+ from playwright.sync_api import sync_playwright, TimeoutError as PlaywrightTimeout
+except ImportError:
+ print("Error: playwright required. Install with: pip install playwright && playwright install chromium")
+ sys.exit(1)
+
+
+def analyze_visual(url: str, timeout: int = 30000) -> dict:
+ """
+ Analyze visual aspects of a web page.
+
+ Args:
+ url: URL to analyze
+ timeout: Page load timeout in milliseconds
+
+ Returns:
+ Dictionary with visual analysis results
+ """
+ result = {
+ "url": url,
+ "above_fold": {
+ "h1_visible": False,
+ "cta_visible": False,
+ "hero_image": None,
+ },
+ "mobile": {
+ "viewport_meta": False,
+ "horizontal_scroll": False,
+ "touch_targets_ok": True,
+ },
+ "layout": {
+ "overlapping_elements": [],
+ "text_overflow": [],
+ },
+ "fonts": {
+ "base_size": None,
+ "readable": True,
+ },
+ "error": None,
+ }
+
+ try:
+ with sync_playwright() as p:
+ browser = p.chromium.launch(headless=True)
+
+ # Desktop analysis
+ desktop = browser.new_context(viewport={"width": 1920, "height": 1080})
+ page = desktop.new_page()
+ page.goto(url, wait_until="networkidle", timeout=timeout)
+
+ # Check H1 visibility above fold
+ h1 = page.query_selector("h1")
+ if h1:
+ box = h1.bounding_box()
+ if box and box["y"] < 1080:
+ result["above_fold"]["h1_visible"] = True
+
+ # Check for CTA buttons above fold
+ cta_selectors = [
+ "a[href*='signup']",
+ "a[href*='contact']",
+ "a[href*='demo']",
+ "button:has-text('Get Started')",
+ "button:has-text('Sign Up')",
+ "button:has-text('Contact')",
+ ".cta",
+ "[class*='cta']",
+ ]
+ for selector in cta_selectors:
+ try:
+ cta = page.query_selector(selector)
+ if cta:
+ box = cta.bounding_box()
+ if box and box["y"] < 1080:
+ result["above_fold"]["cta_visible"] = True
+ break
+ except Exception:
+ pass
+
+ # Check hero image
+ hero_selectors = [
+ ".hero img",
+ "[class*='hero'] img",
+ "header img",
+ "main img:first-of-type",
+ ]
+ for selector in hero_selectors:
+ try:
+ hero = page.query_selector(selector)
+ if hero:
+ src = hero.get_attribute("src")
+ if src:
+ result["above_fold"]["hero_image"] = src
+ break
+ except Exception:
+ pass
+
+ desktop.close()
+
+ # Mobile analysis
+ mobile = browser.new_context(viewport={"width": 375, "height": 812})
+ page = mobile.new_page()
+ page.goto(url, wait_until="networkidle", timeout=timeout)
+
+ # Check viewport meta
+ viewport_meta = page.query_selector('meta[name="viewport"]')
+ result["mobile"]["viewport_meta"] = viewport_meta is not None
+
+ # Check for horizontal scroll
+ scroll_width = page.evaluate("document.documentElement.scrollWidth")
+ viewport_width = page.evaluate("window.innerWidth")
+ result["mobile"]["horizontal_scroll"] = scroll_width > viewport_width
+
+ # Check font size
+ base_font_size = page.evaluate("""
+ () => {
+ const body = document.body;
+ const style = window.getComputedStyle(body);
+ return parseFloat(style.fontSize);
+ }
+ """)
+ result["fonts"]["base_size"] = base_font_size
+ result["fonts"]["readable"] = base_font_size >= 16
+
+ mobile.close()
+ browser.close()
+
+ except PlaywrightTimeout:
+ result["error"] = f"Page load timed out after {timeout}ms"
+ except Exception as e:
+ result["error"] = str(e)
+
+ return result
+
+
+def main():
+ parser = argparse.ArgumentParser(description="Analyze visual aspects of a web page")
+ parser.add_argument("url", help="URL to analyze")
+ parser.add_argument("--timeout", "-t", type=int, default=30000, help="Timeout in ms")
+ parser.add_argument("--json", "-j", action="store_true", help="Output as JSON")
+
+ args = parser.parse_args()
+
+ result = analyze_visual(args.url, timeout=args.timeout)
+
+ if args.json:
+ print(json.dumps(result, indent=2))
+ else:
+ print("Visual Analysis Results")
+ print("=" * 40)
+
+ print("\nAbove the Fold:")
+ print(f" H1 Visible: {'✓' if result['above_fold']['h1_visible'] else '✗'}")
+ print(f" CTA Visible: {'✓' if result['above_fold']['cta_visible'] else '✗'}")
+ print(f" Hero Image: {result['above_fold']['hero_image'] or 'None found'}")
+
+ print("\nMobile Responsiveness:")
+ print(f" Viewport Meta: {'✓' if result['mobile']['viewport_meta'] else '✗'}")
+ print(f" Horizontal Scroll: {'✗ (problem)' if result['mobile']['horizontal_scroll'] else '✓'}")
+
+ print("\nTypography:")
+ print(f" Base Font Size: {result['fonts']['base_size']}px")
+ print(f" Readable (≥16px): {'✓' if result['fonts']['readable'] else '✗'}")
+
+ if result["error"]:
+ print(f"\nError: {result['error']}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/scripts/capture_screenshot.py b/scripts/capture_screenshot.py
new file mode 100755
index 0000000..fe0a7d7
--- /dev/null
+++ b/scripts/capture_screenshot.py
@@ -0,0 +1,134 @@
+#!/usr/bin/env python3
+"""
+Capture screenshots of web pages using Playwright.
+
+Usage:
+ python capture_screenshot.py https://example.com
+ python capture_screenshot.py https://example.com --mobile
+ python capture_screenshot.py https://example.com --output screenshots/
+"""
+
+import argparse
+import os
+import sys
+from urllib.parse import urlparse
+
+try:
+ from playwright.sync_api import sync_playwright, TimeoutError as PlaywrightTimeout
+except ImportError:
+ print("Error: playwright required. Install with: pip install playwright && playwright install chromium")
+ sys.exit(1)
+
+
+VIEWPORTS = {
+ "desktop": {"width": 1920, "height": 1080},
+ "laptop": {"width": 1366, "height": 768},
+ "tablet": {"width": 768, "height": 1024},
+ "mobile": {"width": 375, "height": 812},
+}
+
+
+def capture_screenshot(
+ url: str,
+ output_path: str,
+ viewport: str = "desktop",
+ full_page: bool = False,
+ timeout: int = 30000,
+) -> dict:
+ """
+ Capture a screenshot of a web page.
+
+ Args:
+ url: URL to capture
+ output_path: Output file path
+ viewport: Viewport preset (desktop, laptop, tablet, mobile)
+ full_page: Whether to capture full page or just viewport
+ timeout: Page load timeout in milliseconds
+
+ Returns:
+ Dictionary with capture results
+ """
+ result = {
+ "url": url,
+ "output": output_path,
+ "viewport": viewport,
+ "success": False,
+ "error": None,
+ }
+
+ if viewport not in VIEWPORTS:
+ result["error"] = f"Invalid viewport: {viewport}. Choose from: {list(VIEWPORTS.keys())}"
+ return result
+
+ vp = VIEWPORTS[viewport]
+
+ try:
+ with sync_playwright() as p:
+ browser = p.chromium.launch(headless=True)
+ context = browser.new_context(
+ viewport={"width": vp["width"], "height": vp["height"]},
+ device_scale_factor=2 if viewport == "mobile" else 1,
+ )
+ page = context.new_page()
+
+ # Navigate and wait for network idle
+ page.goto(url, wait_until="networkidle", timeout=timeout)
+
+ # Wait a bit more for any lazy-loaded content
+ page.wait_for_timeout(1000)
+
+ # Capture screenshot
+ page.screenshot(path=output_path, full_page=full_page)
+
+ result["success"] = True
+ browser.close()
+
+ except PlaywrightTimeout:
+ result["error"] = f"Page load timed out after {timeout}ms"
+ except Exception as e:
+ result["error"] = str(e)
+
+ return result
+
+
+def main():
+ parser = argparse.ArgumentParser(description="Capture web page screenshots")
+ parser.add_argument("url", help="URL to capture")
+ parser.add_argument("--output", "-o", default="screenshots", help="Output directory")
+ parser.add_argument("--viewport", "-v", default="desktop", choices=VIEWPORTS.keys())
+ parser.add_argument("--all", "-a", action="store_true", help="Capture all viewports")
+ parser.add_argument("--full", "-f", action="store_true", help="Capture full page")
+ parser.add_argument("--timeout", "-t", type=int, default=30000, help="Timeout in ms")
+
+ args = parser.parse_args()
+
+ # Create output directory
+ os.makedirs(args.output, exist_ok=True)
+
+ # Generate filename from URL
+ parsed = urlparse(args.url)
+ base_name = parsed.netloc.replace(".", "_")
+
+ viewports = VIEWPORTS.keys() if args.all else [args.viewport]
+
+ for viewport in viewports:
+ filename = f"{base_name}_{viewport}.png"
+ output_path = os.path.join(args.output, filename)
+
+ print(f"Capturing {viewport} screenshot...")
+ result = capture_screenshot(
+ args.url,
+ output_path,
+ viewport=viewport,
+ full_page=args.full,
+ timeout=args.timeout,
+ )
+
+ if result["success"]:
+ print(f" ✓ Saved to {output_path}")
+ else:
+ print(f" ✗ Failed: {result['error']}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/scripts/fetch_page.py b/scripts/fetch_page.py
new file mode 100755
index 0000000..72853e2
--- /dev/null
+++ b/scripts/fetch_page.py
@@ -0,0 +1,142 @@
+#!/usr/bin/env python3
+"""
+Fetch a web page with proper headers and error handling.
+
+Usage:
+ python fetch_page.py https://example.com
+ python fetch_page.py https://example.com --output page.html
+"""
+
+import argparse
+import sys
+from typing import Optional
+from urllib.parse import urlparse
+
+try:
+ import requests
+except ImportError:
+ print("Error: requests library required. Install with: pip install requests")
+ sys.exit(1)
+
+
+DEFAULT_HEADERS = {
+ "User-Agent": "Mozilla/5.0 (compatible; SEO-PRO/1.0; +https://github.com/AgriciDaniel/claude-seo)",
+ "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",
+ "Accept-Language": "en-US,en;q=0.5",
+ "Accept-Encoding": "gzip, deflate",
+ "Connection": "keep-alive",
+}
+
+
+def fetch_page(
+ url: str,
+ timeout: int = 30,
+ follow_redirects: bool = True,
+ max_redirects: int = 5,
+) -> dict:
+ """
+ Fetch a web page and return response details.
+
+ Args:
+ url: The URL to fetch
+ timeout: Request timeout in seconds
+ follow_redirects: Whether to follow redirects
+ max_redirects: Maximum number of redirects to follow
+
+ Returns:
+ Dictionary with:
+ - url: Final URL after redirects
+ - status_code: HTTP status code
+ - content: Response body
+ - headers: Response headers
+ - redirect_chain: List of redirect URLs
+ - error: Error message if failed
+ """
+ result = {
+ "url": url,
+ "status_code": None,
+ "content": None,
+ "headers": {},
+ "redirect_chain": [],
+ "error": None,
+ }
+
+ # Validate URL
+ parsed = urlparse(url)
+ if not parsed.scheme:
+ url = f"https://{url}"
+ parsed = urlparse(url)
+
+ if parsed.scheme not in ("http", "https"):
+ result["error"] = f"Invalid URL scheme: {parsed.scheme}"
+ return result
+
+ try:
+ session = requests.Session()
+ session.max_redirects = max_redirects
+
+ response = session.get(
+ url,
+ headers=DEFAULT_HEADERS,
+ timeout=timeout,
+ allow_redirects=follow_redirects,
+ )
+
+ result["url"] = response.url
+ result["status_code"] = response.status_code
+ result["content"] = response.text
+ result["headers"] = dict(response.headers)
+
+ # Track redirect chain
+ if response.history:
+ result["redirect_chain"] = [r.url for r in response.history]
+
+ except requests.exceptions.Timeout:
+ result["error"] = f"Request timed out after {timeout} seconds"
+ except requests.exceptions.TooManyRedirects:
+ result["error"] = f"Too many redirects (max {max_redirects})"
+ except requests.exceptions.SSLError as e:
+ result["error"] = f"SSL error: {e}"
+ except requests.exceptions.ConnectionError as e:
+ result["error"] = f"Connection error: {e}"
+ except requests.exceptions.RequestException as e:
+ result["error"] = f"Request failed: {e}"
+
+ return result
+
+
+def main():
+ parser = argparse.ArgumentParser(description="Fetch a web page for SEO analysis")
+ parser.add_argument("url", help="URL to fetch")
+ parser.add_argument("--output", "-o", help="Output file path")
+ parser.add_argument("--timeout", "-t", type=int, default=30, help="Timeout in seconds")
+ parser.add_argument("--no-redirects", action="store_true", help="Don't follow redirects")
+
+ args = parser.parse_args()
+
+ result = fetch_page(
+ args.url,
+ timeout=args.timeout,
+ follow_redirects=not args.no_redirects,
+ )
+
+ if result["error"]:
+ print(f"Error: {result['error']}", file=sys.stderr)
+ sys.exit(1)
+
+ if args.output:
+ with open(args.output, "w", encoding="utf-8") as f:
+ f.write(result["content"])
+ print(f"Saved to {args.output}")
+ else:
+ print(result["content"])
+
+ # Print metadata to stderr
+ print(f"\nURL: {result['url']}", file=sys.stderr)
+ print(f"Status: {result['status_code']}", file=sys.stderr)
+ if result["redirect_chain"]:
+ print(f"Redirects: {' -> '.join(result['redirect_chain'])}", file=sys.stderr)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/scripts/parse_html.py b/scripts/parse_html.py
new file mode 100755
index 0000000..748f0d6
--- /dev/null
+++ b/scripts/parse_html.py
@@ -0,0 +1,190 @@
+#!/usr/bin/env python3
+"""
+Parse HTML and extract SEO-relevant elements.
+
+Usage:
+ python parse_html.py page.html
+ python parse_html.py --url https://example.com
+"""
+
+import argparse
+import json
+import re
+import sys
+from typing import Optional
+from urllib.parse import urljoin, urlparse
+
+try:
+ from bs4 import BeautifulSoup
+except ImportError:
+ print("Error: beautifulsoup4 required. Install with: pip install beautifulsoup4")
+ sys.exit(1)
+
+
+def parse_html(html: str, base_url: Optional[str] = None) -> dict:
+ """
+ Parse HTML and extract SEO-relevant elements.
+
+ Args:
+ html: HTML content to parse
+ base_url: Base URL for resolving relative links
+
+ Returns:
+ Dictionary with extracted SEO data
+ """
+ soup = BeautifulSoup(html, "lxml" if "lxml" in sys.modules else "html.parser")
+
+ result = {
+ "title": None,
+ "meta_description": None,
+ "meta_robots": None,
+ "canonical": None,
+ "h1": [],
+ "h2": [],
+ "h3": [],
+ "images": [],
+ "links": {
+ "internal": [],
+ "external": [],
+ },
+ "schema": [],
+ "open_graph": {},
+ "twitter_card": {},
+ "word_count": 0,
+ "hreflang": [],
+ }
+
+ # Title
+ title_tag = soup.find("title")
+ if title_tag:
+ result["title"] = title_tag.get_text(strip=True)
+
+ # Meta tags
+ for meta in soup.find_all("meta"):
+ name = meta.get("name", "").lower()
+ property_attr = meta.get("property", "").lower()
+ content = meta.get("content", "")
+
+ if name == "description":
+ result["meta_description"] = content
+ elif name == "robots":
+ result["meta_robots"] = content
+
+ # Open Graph
+ if property_attr.startswith("og:"):
+ result["open_graph"][property_attr] = content
+
+ # Twitter Card
+ if name.startswith("twitter:"):
+ result["twitter_card"][name] = content
+
+ # Canonical
+ canonical = soup.find("link", rel="canonical")
+ if canonical:
+ result["canonical"] = canonical.get("href")
+
+ # Hreflang
+ for link in soup.find_all("link", rel="alternate"):
+ hreflang = link.get("hreflang")
+ if hreflang:
+ result["hreflang"].append({
+ "lang": hreflang,
+ "href": link.get("href"),
+ })
+
+ # Headings
+ for tag in ["h1", "h2", "h3"]:
+ for heading in soup.find_all(tag):
+ text = heading.get_text(strip=True)
+ if text:
+ result[tag].append(text)
+
+ # Images
+ for img in soup.find_all("img"):
+ src = img.get("src", "")
+ if base_url and src:
+ src = urljoin(base_url, src)
+
+ result["images"].append({
+ "src": src,
+ "alt": img.get("alt"),
+ "width": img.get("width"),
+ "height": img.get("height"),
+ "loading": img.get("loading"),
+ })
+
+ # Links
+ if base_url:
+ base_domain = urlparse(base_url).netloc
+
+ for a in soup.find_all("a", href=True):
+ href = a.get("href", "")
+ if not href or href.startswith("#") or href.startswith("javascript:"):
+ continue
+
+ full_url = urljoin(base_url, href)
+ parsed = urlparse(full_url)
+
+ link_data = {
+ "href": full_url,
+ "text": a.get_text(strip=True)[:100],
+ "rel": a.get("rel", []),
+ }
+
+ if parsed.netloc == base_domain:
+ result["links"]["internal"].append(link_data)
+ else:
+ result["links"]["external"].append(link_data)
+
+ # Schema (JSON-LD)
+ for script in soup.find_all("script", type="application/ld+json"):
+ try:
+ schema_data = json.loads(script.string)
+ result["schema"].append(schema_data)
+ except (json.JSONDecodeError, TypeError):
+ pass
+
+ # Word count (visible text only)
+ for element in soup(["script", "style", "nav", "footer", "header"]):
+ element.decompose()
+
+ text = soup.get_text(separator=" ", strip=True)
+ words = re.findall(r"\b\w+\b", text)
+ result["word_count"] = len(words)
+
+ return result
+
+
+def main():
+ parser = argparse.ArgumentParser(description="Parse HTML for SEO analysis")
+ parser.add_argument("file", nargs="?", help="HTML file to parse")
+ parser.add_argument("--url", "-u", help="Base URL for resolving links")
+ parser.add_argument("--json", "-j", action="store_true", help="Output as JSON")
+
+ args = parser.parse_args()
+
+ if args.file:
+ with open(args.file, "r", encoding="utf-8") as f:
+ html = f.read()
+ else:
+ html = sys.stdin.read()
+
+ result = parse_html(html, args.url)
+
+ if args.json:
+ print(json.dumps(result, indent=2))
+ else:
+ print(f"Title: {result['title']}")
+ print(f"Meta Description: {result['meta_description']}")
+ print(f"Canonical: {result['canonical']}")
+ print(f"H1 Tags: {len(result['h1'])}")
+ print(f"H2 Tags: {len(result['h2'])}")
+ print(f"Images: {len(result['images'])}")
+ print(f"Internal Links: {len(result['links']['internal'])}")
+ print(f"External Links: {len(result['links']['external'])}")
+ print(f"Schema Blocks: {len(result['schema'])}")
+ print(f"Word Count: {result['word_count']}")
+
+
+if __name__ == "__main__":
+ main()
diff --git a/seo-pro/SKILL.md b/seo-pro/SKILL.md
new file mode 100644
index 0000000..da7b979
--- /dev/null
+++ b/seo-pro/SKILL.md
@@ -0,0 +1,112 @@
+---
+name: seo
+description: >
+ Comprehensive SEO analysis for any website or business type. Use when the user
+ asks to analyze a website's SEO, audit technical SEO, check schema markup,
+ optimize images, analyze content quality, generate sitemaps, plan SEO strategy,
+ or optimize for AI search / AI Overviews. Triggers on: "SEO", "audit site",
+ "check schema", "page speed", "Core Web Vitals", "sitemap", "E-E-A-T",
+ "content analysis", "image optimization", "AI Overviews", "GEO".
+---
+
+# SEO PRO — Universal SEO Skill
+
+Comprehensive SEO analysis across all industries (SaaS, local services,
+e-commerce, publishers, agencies). Orchestrates 9 specialized sub-skills
+and 6 subagents.
+
+## Quick Reference
+
+| Command | What it does |
+|---------|-------------|
+| `/seo audit <url>` | Full website audit with parallel subagent delegation |
+| `/seo page <url>` | Deep single-page analysis |
+| `/seo sitemap <url or generate>` | Analyze or generate XML sitemaps |
+| `/seo schema <url>` | Detect, validate, and generate Schema.org markup |
+| `/seo images <url>` | Image optimization analysis |
+| `/seo technical <url>` | Technical SEO audit (8 categories) |
+| `/seo content <url>` | E-E-A-T and content quality analysis |
+| `/seo geo <url>` | AI Overviews / Generative Engine Optimization |
+| `/seo plan <business-type>` | Strategic SEO planning |
+
+## Orchestration Logic
+
+When the user invokes `/seo audit`, delegate to subagents in parallel:
+1. Detect business type (SaaS, local, ecommerce, publisher, agency, other)
+2. Spawn subagents: seo-technical, seo-content, seo-schema, seo-sitemap, seo-performance, seo-visual
+3. Collect results and generate unified report with SEO Health Score (0-100)
+4. Create prioritized action plan (Critical → High → Medium → Low)
+
+For individual commands, load the relevant sub-skill directly.
+
+## Industry Detection
+
+Detect business type from homepage signals:
+- **SaaS**: pricing page, /features, /integrations, /docs, "free trial", "sign up"
+- **Local Service**: phone number, address, service area, "serving [city]", Google Maps embed
+- **E-commerce**: /products, /collections, /cart, "add to cart", product schema
+- **Publisher**: /blog, /articles, /topics, article schema, author pages, publication dates
+- **Agency**: /case-studies, /portfolio, /industries, "our work", client logos
+
+## Quality Gates
+
+Read `references/quality-gates.md` for thin content thresholds per page type.
+Hard rules:
+- ⚠️ WARNING at 30+ location pages (enforce 60%+ unique content)
+- 🛑 HARD STOP at 50+ location pages (require user justification)
+- Never recommend HowTo schema (deprecated Sept 2023)
+- FAQ schema only for government and healthcare sites
+- All Core Web Vitals references use INP, never FID
+
+## Reference Files
+
+Load these on-demand as needed — do NOT load all at startup:
+- `references/cwv-thresholds.md` — Current Core Web Vitals thresholds and measurement details
+- `references/schema-types.md` — All supported schema types with deprecation status
+- `references/eeat-framework.md` — E-E-A-T evaluation criteria (Sept 2025 QRG update)
+- `references/quality-gates.md` — Content length minimums, uniqueness thresholds
+
+## Scoring Methodology
+
+### SEO Health Score (0-100)
+Weighted aggregate of all categories:
+
+| Category | Weight |
+|----------|--------|
+| Technical SEO | 25% |
+| Content Quality | 25% |
+| On-Page SEO | 20% |
+| Schema / Structured Data | 10% |
+| Performance (CWV) | 10% |
+| Images | 5% |
+| AI Search Readiness | 5% |
+
+### Priority Levels
+- **Critical**: Blocks indexing or causes penalties (immediate fix required)
+- **High**: Significantly impacts rankings (fix within 1 week)
+- **Medium**: Optimization opportunity (fix within 1 month)
+- **Low**: Nice to have (backlog)
+
+## Sub-Skills
+
+This skill orchestrates 9 specialized sub-skills:
+
+1. **seo-audit** — Full website audit with parallel delegation
+2. **seo-page** — Deep single-page analysis
+3. **seo-technical** — Technical SEO (8 categories)
+4. **seo-content** — E-E-A-T and content quality
+5. **seo-schema** — Schema markup detection and generation
+6. **seo-images** — Image optimization
+7. **seo-sitemap** — Sitemap analysis and generation
+8. **seo-geo** — AI Overviews / GEO optimization
+9. **seo-plan** — Strategic planning with templates
+
+## Subagents
+
+For parallel analysis during audits:
+- `seo-technical` — Crawlability, indexability, security, CWV
+- `seo-content` — E-E-A-T, readability, thin content
+- `seo-schema` — Detection, validation, generation
+- `seo-sitemap` — Structure, coverage, quality gates
+- `seo-performance` — Core Web Vitals measurement
+- `seo-visual` — Screenshots, mobile testing, above-fold
diff --git a/seo-pro/references/cwv-thresholds.md b/seo-pro/references/cwv-thresholds.md
new file mode 100644
index 0000000..59ca5de
--- /dev/null
+++ b/seo-pro/references/cwv-thresholds.md
@@ -0,0 +1,69 @@
+# Core Web Vitals Thresholds (February 2026)
+
+## Current Metrics
+
+| Metric | Good | Needs Improvement | Poor |
+|--------|------|-------------------|------|
+| LCP (Largest Contentful Paint) | ≤2.5s | 2.5s–4.0s | >4.0s |
+| INP (Interaction to Next Paint) | ≤200ms | 200ms–500ms | >500ms |
+| CLS (Cumulative Layout Shift) | ≤0.1 | 0.1–0.25 | >0.25 |
+
+## Key Facts
+- INP replaced FID (First Input Delay) on **March 12, 2024**. FID is fully deprecated.
+- Evaluation uses the **75th percentile** of real user data (field data from CrUX).
+- Google assesses at the **page level** and the **origin level**.
+- Core Web Vitals are a **tiebreaker** ranking signal — they matter most when content quality is similar between competitors.
+
+## Measurement Sources
+
+### Field Data (Real Users)
+- Chrome User Experience Report (CrUX)
+- PageSpeed Insights (uses CrUX data)
+- Search Console Core Web Vitals report
+
+### Lab Data (Simulated)
+- Lighthouse
+- WebPageTest
+- Chrome DevTools
+
+> Field data is what Google uses for ranking. Lab data is useful for debugging.
+
+## Common Bottlenecks
+
+### LCP (Largest Contentful Paint)
+- Unoptimized hero images (compress, use WebP/AVIF, add preload)
+- Render-blocking CSS/JS (defer, async, critical CSS inlining)
+- Slow server response (TTFB >200ms — use edge CDN, caching)
+- Third-party script blocking (defer analytics, chat widgets)
+- Web font loading delay (use font-display: swap + preload)
+
+### INP (Interaction to Next Paint)
+- Long JavaScript tasks on main thread (break into smaller tasks <50ms)
+- Heavy event handlers (debounce, use requestAnimationFrame)
+- Excessive DOM size (>1,500 elements is concerning)
+- Third-party scripts hijacking main thread
+- Synchronous XHR or localStorage operations
+- Layout thrashing (multiple forced reflows)
+
+### CLS (Cumulative Layout Shift)
+- Images/iframes without width/height dimensions
+- Dynamically injected content above existing content
+- Web fonts causing layout shift (use font-display: swap + preload)
+- Ads/embeds without reserved space
+- Late-loading content pushing down the page
+
+## Optimization Priority
+
+1. **LCP** — Most impactful for perceived performance
+2. **CLS** — Most common issue affecting user experience
+3. **INP** — Matters most for interactive applications
+
+## Tools
+
+```bash
+# PageSpeed Insights API
+curl "https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=URL&key=API_KEY"
+
+# Lighthouse CLI
+npx lighthouse URL --output json --output-path report.json
+```
diff --git a/seo-pro/references/eeat-framework.md b/seo-pro/references/eeat-framework.md
new file mode 100644
index 0000000..7a2e21b
--- /dev/null
+++ b/seo-pro/references/eeat-framework.md
@@ -0,0 +1,176 @@
+# E-E-A-T Evaluation Framework
+## Updated per Google Quality Rater Guidelines — September 11, 2025
+
+## Overview
+
+E-E-A-T = **E**xperience, **E**xpertise, **A**uthoritativeness, **T**rustworthiness
+
+Trustworthiness is the most important factor. It is assessed based on the
+other three signals plus direct trust indicators.
+
+## YMYL (Your Money or Your Life)
+
+Topics requiring highest E-E-A-T standards:
+- Health and safety
+- Financial advice and transactions
+- Legal information
+- News and current events
+- **Elections and civic trust** (added Sept 2025)
+- **Democratic processes** (added Sept 2025)
+- Groups of people (potential for harm)
+
+---
+
+## Experience (Weight: 20%)
+
+First-hand knowledge and personal involvement with the topic.
+
+### Signals to Check
+- [ ] Author has demonstrable first-hand experience with the topic
+- [ ] Content includes original photos, screenshots, or data
+- [ ] Case studies or real-world examples with specific details
+- [ ] Personal process documentation or methodology descriptions
+- [ ] Before/after results or outcome data
+- [ ] Specific anecdotes that couldn't be fabricated
+
+### Scoring
+- **Strong**: Multiple first-hand experience signals, original content
+- **Moderate**: Some personal experience evident
+- **Weak**: Generic information, no personal touch
+- **None**: Clearly AI-generated or scraped content
+
+---
+
+## Expertise (Weight: 25%)
+
+Formal qualifications, training, and demonstrated knowledge.
+
+### Signals to Check
+- [ ] Author credentials relevant to topic (bio, certifications)
+- [ ] Technical accuracy and depth appropriate for audience
+- [ ] Claims supported by evidence or sources
+- [ ] Specialized vocabulary used correctly
+- [ ] Up-to-date with current developments in the field
+- [ ] Byline with author name and credentials visible
+
+### Scoring
+- **Strong**: Verified credentials, deep technical accuracy
+- **Moderate**: Demonstrable knowledge, some credentials
+- **Weak**: Surface-level information, no credentials
+- **None**: Factual errors, misinformation
+
+---
+
+## Authoritativeness (Weight: 25%)
+
+Recognition by others as a go-to source.
+
+### Signals to Check
+- [ ] Site recognized as authority in its niche
+- [ ] Author recognized as expert (external citations, speaking, publications)
+- [ ] Content cited by other authoritative sources
+- [ ] Industry awards, certifications, or accreditations
+- [ ] Consistent publication history in the topic area
+- [ ] Featured in reputable media outlets
+- [ ] Professional affiliations
+
+### Scoring
+- **Strong**: Widely recognized authority, cited by others
+- **Moderate**: Growing recognition, some external validation
+- **Weak**: No external recognition
+- **None**: Negative reputation, known for misinformation
+
+---
+
+## Trustworthiness (Weight: 30%)
+
+The most important factor — overall reliability and transparency.
+
+### Signals to Check
+- [ ] Clear contact information (physical address, phone, email)
+- [ ] Privacy policy and terms of service
+- [ ] HTTPS with valid certificate
+- [ ] Transparent about who creates content and why
+- [ ] Customer reviews and testimonials
+- [ ] Corrections and update history visible
+- [ ] No deceptive practices (hidden ads, clickbait)
+- [ ] Secure payment processing (for e-commerce)
+- [ ] Return/refund policy visible
+
+### Scoring
+- **Strong**: Full transparency, verified business, positive reputation
+- **Moderate**: Good trust signals, minor gaps
+- **Weak**: Missing key trust signals
+- **None**: Deceptive practices, scam indicators
+
+---
+
+## September 2025 QRG Updates
+
+### AI Content Assessment
+Raters now formally evaluate whether content appears AI-generated:
+- AI content is **acceptable** if it demonstrates genuine E-E-A-T
+- Low-quality AI content (generic, no unique value) is penalized
+- The presence of AI-generated content is not inherently penalizing
+- What matters: does the content provide unique value regardless of creation method?
+
+### Markers of Low-Quality AI Content
+- Generic phrasing without specificity
+- Lack of original insight or unique perspective
+- No first-hand experience signals
+- Factual inaccuracies
+- Repetitive structure across multiple pages
+- No author attribution or expertise signals
+
+### New Spam Categories
+- **Expired domain abuse**: Buying expired domains for their backlinks
+- **Site reputation abuse**: Using reputable site to host low-quality content
+- **Scaled content abuse**: Mass-producing content without value
+
+### AI Overview Evaluation
+Raters assess quality of AI-generated summaries in search results.
+
+---
+
+## Overall Scoring Guide
+
+| Score | Description |
+|-------|-------------|
+| 90-100 | Exceptional E-E-A-T — authority site, recognized expert, full transparency |
+| 70-89 | Strong E-E-A-T — demonstrated expertise, good trust signals |
+| 50-69 | Moderate E-E-A-T — some signals, room for improvement |
+| 30-49 | Weak E-E-A-T — minimal signals, significant gaps |
+| 0-29 | Very low E-E-A-T — no visible signals, potential trust issues |
+
+---
+
+## Improvement Recommendations by Score
+
+### 0-29 (Critical)
+1. Add contact information and about page
+2. Establish author identity with credentials
+3. Implement HTTPS
+4. Remove deceptive elements
+
+### 30-49 (Major)
+1. Add author bios with credentials
+2. Include first-hand experience content
+3. Get external citations/mentions
+4. Add customer testimonials
+
+### 50-69 (Moderate)
+1. Deepen content with original research
+2. Build topical authority through content clusters
+3. Pursue industry recognition
+4. Document processes and methodologies
+
+### 70-89 (Minor)
+1. Maintain freshness with regular updates
+2. Expand author presence across platforms
+3. Pursue speaking/publication opportunities
+4. Add video/multimedia demonstrating expertise
+
+### 90-100 (Maintenance)
+1. Continue publishing high-quality content
+2. Monitor and respond to reputation issues
+3. Keep credentials and certifications current
diff --git a/seo-pro/references/quality-gates.md b/seo-pro/references/quality-gates.md
new file mode 100644
index 0000000..0086529
--- /dev/null
+++ b/seo-pro/references/quality-gates.md
@@ -0,0 +1,155 @@
+# Content Quality Gates
+
+## Minimum Word Counts by Page Type
+
+| Page Type | Min Words | Unique Content % | Notes |
+|-----------|-----------|-----------------|-------|
+| Homepage | 500 | 100% | Must clearly communicate value proposition |
+| Service / Feature Page | 800 | 100% | Detailed explanation of offering |
+| Location (Primary) | 600 | 60%+ | City headquarters or main service area |
+| Location (Secondary) | 500 | 40%+ | Satellite locations |
+| Blog Post | 1,500 | 100% | In-depth, valuable content |
+| Product Page | 400 | 80%+ | Unique descriptions, specs |
+| Category Page | 400 | 100% | Unique intro, not just product listings |
+| About Page | 400 | 100% | Company story, team, values |
+| Landing Page | 600 | 100% | Focused conversion content |
+| FAQ Page | 800 | 100% | Comprehensive Q&A |
+
+---
+
+## Location Page Thresholds
+
+### Warning Level (30+ pages)
+- ⚠️ **WARNING** at 30+ location pages
+- Enforce 60%+ unique content per page
+- Content must include:
+ - Unique local information (landmarks, neighborhoods)
+ - Location-specific services or offerings
+ - Local team or staff information
+ - Genuine customer testimonials from that area
+
+### Hard Stop (50+ pages)
+- 🛑 **HARD STOP** at 50+ location pages
+- Require explicit user justification
+- Must demonstrate:
+ - Legitimate business presence in each location
+ - Unique content strategy for each page
+ - Local signals (Google Business Profile, local reviews)
+
+### Why This Matters
+Google's doorway page algorithm penalizes programmatic location pages with thin/duplicate content. Signs of doorway pages:
+- Only city/state name changed between pages
+- No unique local information
+- No local business signals
+- Keyword-stuffed URLs
+
+---
+
+## Safe vs. Risky Programmatic Pages
+
+### Safe at Scale ✅
+| Page Type | Why It's Safe |
+|-----------|---------------|
+| Integration pages | Real setup documentation, unique technical content |
+| Template/tool pages | Downloadable assets, unique functionality |
+| Glossary pages | 200+ word unique definitions |
+| Product pages | Unique specs, images, reviews |
+| User profile pages | User-generated unique content |
+
+### Penalty Risk ❌
+| Page Type | Why It's Risky |
+|-----------|----------------|
+| Location pages with only city swapped | Duplicate content, doorway pages |
+| "Best [tool] for [industry]" | Often thin, no industry-specific value |
+| "[Competitor] alternative" | Requires genuine comparison data |
+| AI-generated mass content | No unique value, E-E-A-T failure |
+
+---
+
+## Title Tag Requirements
+
+| Aspect | Requirement |
+|--------|-------------|
+| Minimum length | 30 characters |
+| Maximum length | 60 characters (Google truncates ~60) |
+| Primary keyword | Near the beginning |
+| Brand name | At end (if included) |
+| Uniqueness | Each page must have unique title |
+
+### Good Examples
+- "Emergency Plumbing Services in Austin | ABC Plumbing"
+- "How to Fix a Leaky Faucet: Step-by-Step Guide"
+- "Enterprise SEO Software | Comprehensive Platform"
+
+### Bad Examples
+- "Home" (too short, not descriptive)
+- "Best Plumbing Services for All Your Plumbing Needs in Austin Texas and Surrounding Areas" (too long)
+- "ABC Plumbing - Plumbing - Plumber - Plumbing Services" (keyword stuffing)
+
+---
+
+## Meta Description Requirements
+
+| Aspect | Requirement |
+|--------|-------------|
+| Minimum length | 120 characters |
+| Maximum length | 160 characters (Google truncates ~155-160) |
+| Call-to-action | Include compelling CTA |
+| Primary keyword | Include naturally |
+| Uniqueness | Each page must have unique description |
+
+---
+
+## Image Alt Text Requirements
+
+| Aspect | Requirement |
+|--------|-------------|
+| Required on | All non-decorative images |
+| Length | 10-125 characters |
+| Content | Describe the image content, not "image" or filename |
+| Keywords | Include naturally where relevant |
+| Decorative images | Use `alt=""` or `role="presentation"` |
+
+### Good Examples
+- "Professional plumber repairing kitchen sink faucet"
+- "Red 2024 Toyota Camry sedan front view"
+- "Team meeting in modern office conference room"
+
+### Bad Examples
+- "image.jpg" (filename, not description)
+- "plumber plumbing plumber services" (keyword stuffing)
+- "Click here" (not descriptive)
+
+---
+
+## Internal Linking Guidelines
+
+| Page Type | Internal Links Target |
+|-----------|----------------------|
+| Blog post (1,500+ words) | 5-10 internal links |
+| Service page | 3-5 internal links |
+| Category page | Links to all child pages |
+| Product page | 2-4 internal links |
+
+### Anchor Text Rules
+- Use descriptive anchor text (not "click here")
+- Vary anchor text (don't always use exact match keywords)
+- Link to relevant, related content
+- Ensure no orphan pages (every page linked from at least one other page)
+
+---
+
+## Content Freshness Signals
+
+| Content Type | Update Frequency |
+|--------------|------------------|
+| News/current events | Within hours/days |
+| Blog posts (evergreen) | Review annually |
+| Product pages | When specs change |
+| Service pages | Review quarterly |
+| Company info | When changes occur |
+
+### Required Elements
+- Publication date visible (for articles/blogs)
+- Last updated date (if significantly revised)
+- Changelog for major updates (optional but good)
diff --git a/seo-pro/references/schema-types.md b/seo-pro/references/schema-types.md
new file mode 100644
index 0000000..0710c4c
--- /dev/null
+++ b/seo-pro/references/schema-types.md
@@ -0,0 +1,86 @@
+# Schema.org Types — Status & Recommendations (February 2026)
+
+## Format Preference
+Always use **JSON-LD** (`<script type="application/ld+json">`).
+Google's documentation explicitly recommends JSON-LD over Microdata and RDFa.
+
+---
+
+## Active — Recommend freely
+
+| Type | Use Case | Key Properties |
+|------|----------|----------------|
+| Organization | Company info | name, url, logo, contactPoint, sameAs |
+| LocalBusiness | Physical businesses | name, address, telephone, openingHours, geo, priceRange |
+| SoftwareApplication | SaaS products | name, operatingSystem, applicationCategory, offers, aggregateRating |
+| Product | Physical/digital products | name, image, description, sku, brand, offers, review |
+| Offer | Pricing | price, priceCurrency, availability, url, validFrom |
+| Service | Service businesses | name, provider, areaServed, description, offers |
+| Article | Blog posts, news | headline, author, datePublished, dateModified, image, publisher |
+| BlogPosting | Blog content | Same as Article + blog-specific context |
+| NewsArticle | News content | Same as Article + news-specific context |
+| Review | Individual reviews | reviewRating, author, itemReviewed, reviewBody |
+| AggregateRating | Rating summaries | ratingValue, reviewCount, bestRating, worstRating |
+| BreadcrumbList | Navigation | itemListElement with position, name, item |
+| WebSite | Site-level | name, url, potentialAction (SearchAction for sitelinks search) |
+| WebPage | Page-level | name, description, datePublished, dateModified |
+| Person | Author/team | name, jobTitle, url, sameAs, image, worksFor |
+| ContactPage | Contact pages | name, url |
+| VideoObject | Video content | name, description, thumbnailUrl, uploadDate, duration, contentUrl |
+| ImageObject | Image content | contentUrl, caption, creator, copyrightHolder |
+| Event | Events | name, startDate, endDate, location, organizer, offers |
+| JobPosting | Job listings | title, description, datePosted, hiringOrganization, jobLocation |
+| Course | Educational content | name, description, provider, hasCourseInstance |
+| DiscussionForumPosting | Forum threads | headline, author, datePublished, text, url |
+
+---
+
+## Restricted — Only for specific site types
+
+| Type | Restriction | Since |
+|------|------------|-------|
+| FAQPage | Government and healthcare authority sites ONLY | August 2023 |
+
+> Google severely limited FAQ rich results. Only authoritative sources (government, health organizations) now receive FAQ rich results. Do NOT recommend FAQPage schema for commercial sites.
+
+---
+
+## Deprecated — Never recommend
+
+| Type | Status | Since | Notes |
+|------|--------|-------|-------|
+| HowTo | Rich results fully removed | September 2023 | Google stopped showing how-to rich results |
+| SpecialAnnouncement | Deprecated | July 31, 2025 | COVID-era schema, no longer processed |
+| CourseInfo | Retired from rich results | June 2025 | Merged into Course |
+| EstimatedSalary | Retired from rich results | June 2025 | No longer displayed |
+| LearningVideo | Retired from rich results | June 2025 | Use VideoObject instead |
+
+---
+
+## Recent Additions (2024-2026)
+
+| Type/Feature | Added | Notes |
+|-------------|-------|-------|
+| Product Certification markup | April 2025 | Energy ratings, safety certifications |
+| DiscussionForumPosting | 2024 | For forum/community content |
+| Speakable | Updated 2024 | For voice search optimization |
+
+---
+
+## Validation Checklist
+
+For any schema block, verify:
+
+1. ✅ `@context` is `"https://schema.org"` (not http)
+2. ✅ `@type` is a valid, non-deprecated type
+3. ✅ All required properties are present
+4. ✅ Property values match expected data types
+5. ✅ No placeholder text (e.g., "[Business Name]")
+6. ✅ URLs are absolute, not relative
+7. ✅ Dates are in ISO 8601 format
+8. ✅ Images have valid URLs
+
+## Testing Tools
+
+- [Google Rich Results Test](https://search.google.com/test/rich-results)
+- [Schema.org Validator](https://validator.schema.org/)
diff --git a/skills/seo-audit/SKILL.md b/skills/seo-audit/SKILL.md
new file mode 100644
index 0000000..98d8845
--- /dev/null
+++ b/skills/seo-audit/SKILL.md
@@ -0,0 +1,107 @@
+---
+name: seo-audit
+description: >
+ Full website SEO audit with parallel subagent delegation. Crawls up to 500
+ pages, detects business type, delegates to 6 specialists, generates health
+ score. Use when user says "audit", "full SEO check", "analyze my site",
+ or "website health check".
+---
+
+# Full Website SEO Audit
+
+## Process
+
+1. **Fetch homepage** — use `scripts/fetch_page.py` to retrieve HTML
+2. **Detect business type** — analyze homepage signals per seo-pro orchestrator
+3. **Crawl site** — follow internal links up to 500 pages, respect robots.txt
+4. **Delegate to subagents** (if available, otherwise run inline sequentially):
+ - `seo-technical` — robots.txt, sitemaps, canonicals, Core Web Vitals, security headers
+ - `seo-content` — E-E-A-T, readability, thin content, AI citation readiness
+ - `seo-schema` — detection, validation, generation recommendations
+ - `seo-sitemap` — structure analysis, quality gates, missing pages
+ - `seo-performance` — LCP, INP, CLS measurements
+ - `seo-visual` — screenshots, mobile testing, above-fold analysis
+5. **Score** — aggregate into SEO Health Score (0-100)
+6. **Report** — generate prioritized action plan
+
+## Crawl Configuration
+
+```
+Max pages: 500
+Respect robots.txt: Yes
+Follow redirects: Yes (max 3 hops)
+Timeout per page: 30 seconds
+Concurrent requests: 5
+Delay between requests: 1 second
+```
+
+## Output Files
+
+- `FULL-AUDIT-REPORT.md` — Comprehensive findings
+- `ACTION-PLAN.md` — Prioritized recommendations (Critical → High → Medium → Low)
+- `screenshots/` — Desktop + mobile captures (if Playwright available)
+
+## Scoring Weights
+
+| Category | Weight |
+|----------|--------|
+| Technical SEO | 25% |
+| Content Quality | 25% |
+| On-Page SEO | 20% |
+| Schema / Structured Data | 10% |
+| Performance (CWV) | 10% |
+| Images | 5% |
+| AI Search Readiness | 5% |
+
+## Report Structure
+
+### Executive Summary
+- Overall SEO Health Score (0-100)
+- Business type detected
+- Top 5 critical issues
+- Top 5 quick wins
+
+### Technical SEO
+- Crawlability issues
+- Indexability problems
+- Security concerns
+- Core Web Vitals status
+
+### Content Quality
+- E-E-A-T assessment
+- Thin content pages
+- Duplicate content issues
+- Readability scores
+
+### On-Page SEO
+- Title tag issues
+- Meta description problems
+- Heading structure
+- Internal linking gaps
+
+### Schema & Structured Data
+- Current implementation
+- Validation errors
+- Missing opportunities
+
+### Performance
+- LCP, INP, CLS scores
+- Resource optimization needs
+- Third-party script impact
+
+### Images
+- Missing alt text
+- Oversized images
+- Format recommendations
+
+### AI Search Readiness
+- Citability score
+- Structural improvements
+- Authority signals
+
+## Priority Definitions
+
+- **Critical**: Blocks indexing or causes penalties (fix immediately)
+- **High**: Significantly impacts rankings (fix within 1 week)
+- **Medium**: Optimization opportunity (fix within 1 month)
+- **Low**: Nice to have (backlog)
diff --git a/skills/seo-content/SKILL.md b/skills/seo-content/SKILL.md
new file mode 100644
index 0000000..c5a5915
--- /dev/null
+++ b/skills/seo-content/SKILL.md
@@ -0,0 +1,136 @@
+---
+name: seo-content
+description: >
+ Content quality and E-E-A-T analysis with AI citation readiness assessment.
+ Use when user says "content quality", "E-E-A-T", "content analysis",
+ "readability check", "thin content", or "content audit".
+---
+
+# Content Quality & E-E-A-T Analysis
+
+## E-E-A-T Framework (updated Sept 2025 QRG)
+
+Read `seo-pro/references/eeat-framework.md` for full criteria.
+
+### Experience (first-hand signals)
+- Original research, case studies, before/after results
+- Personal anecdotes, process documentation
+- Unique data, proprietary insights
+- Photos/videos from direct experience
+
+### Expertise
+- Author credentials, certifications, bio
+- Professional background relevant to topic
+- Technical depth appropriate for audience
+- Accurate, well-sourced claims
+
+### Authoritativeness
+- External citations, backlinks from authoritative sources
+- Brand mentions, industry recognition
+- Published in recognized outlets
+- Cited by other experts
+
+### Trustworthiness
+- Contact information, physical address
+- Privacy policy, terms of service
+- Customer testimonials, reviews
+- Date stamps, transparent corrections
+- Secure site (HTTPS)
+
+## Content Metrics
+
+### Word Count Analysis
+Compare against page type minimums:
+| Page Type | Minimum |
+|-----------|---------|
+| Homepage | 500 |
+| Service page | 800 |
+| Blog post | 1,500 |
+| Product page | 400 |
+| Location page | 500-600 |
+
+### Readability
+- Flesch Reading Ease: target 60-70 for general audience
+- Grade level: match target audience
+- Sentence length: average 15-20 words
+- Paragraph length: 2-4 sentences
+
+### Keyword Optimization
+- Primary keyword in title, H1, first 100 words
+- Natural density (1-3%)
+- Semantic variations present
+- No keyword stuffing
+
+### Content Structure
+- Logical heading hierarchy (H1 → H2 → H3)
+- Scannable sections with descriptive headings
+- Bullet/numbered lists where appropriate
+- Table of contents for long-form content
+
+### Multimedia
+- Relevant images with proper alt text
+- Videos where appropriate
+- Infographics for complex data
+- Charts/graphs for statistics
+
+### Internal Linking
+- 3-5 relevant internal links per 1000 words
+- Descriptive anchor text
+- Links to related content
+- No orphan pages
+
+### External Linking
+- Cite authoritative sources
+- Open in new tab for user experience
+- Reasonable count (not excessive)
+
+## AI Content Assessment (Sept 2025 QRG addition)
+
+Google's raters now formally assess whether content appears AI-generated.
+
+### Acceptable AI Content
+- Demonstrates genuine E-E-A-T
+- Provides unique value
+- Has human oversight and editing
+- Contains original insights
+
+### Low-Quality AI Content Markers
+- Generic phrasing, lack of specificity
+- No original insight
+- Repetitive structure across pages
+- No author attribution
+- Factual inaccuracies
+
+## AI Citation Readiness (GEO signals)
+
+Optimize for AI search engines (ChatGPT, Perplexity, Google AI Overviews):
+
+- Clear, quotable statements with statistics/facts
+- Structured data (especially for data points)
+- Strong heading hierarchy (H1→H2→H3 flow)
+- Answer-first formatting for key questions
+- Tables and lists for comparative data
+- Clear attribution and source citations
+
+## Content Freshness
+
+- Publication date visible
+- Last updated date if content has been revised
+- Flag content older than 12 months without update for fast-changing topics
+
+## Output
+
+### Content Quality Score: XX/100
+
+### E-E-A-T Breakdown
+| Factor | Score | Key Signals |
+|--------|-------|-------------|
+| Experience | XX/25 | ... |
+| Expertise | XX/25 | ... |
+| Authoritativeness | XX/25 | ... |
+| Trustworthiness | XX/25 | ... |
+
+### AI Citation Readiness: XX/100
+
+### Issues Found
+### Recommendations
diff --git a/skills/seo-geo/SKILL.md b/skills/seo-geo/SKILL.md
new file mode 100644
index 0000000..342d8b9
--- /dev/null
+++ b/skills/seo-geo/SKILL.md
@@ -0,0 +1,142 @@
+---
+name: seo-geo
+description: >
+ Optimize content for AI Overviews (formerly SGE), ChatGPT web search,
+ Perplexity, and other AI-powered search experiences. Generative Engine
+ Optimization (GEO) analysis. Use when user says "AI Overviews", "SGE",
+ "GEO", "AI search", "LLM optimization", "Perplexity", or "AI citations".
+---
+
+# AI Search / GEO Optimization
+
+## Background
+
+AI Overviews (rebranded from SGE in May 2024) now appear on ~15-25% of queries
+across 200+ countries. AI-sourced search sessions are growing 500%+ year-over-year.
+This is the largest shift in search since mobile-first indexing.
+
+## GEO Analysis Criteria
+
+### 1. Citability Score (25%)
+
+How likely is this content to be cited by AI systems?
+
+**Strong signals:**
+- Clear, quotable sentences with specific facts/statistics
+- Unique data points not found elsewhere
+- Claims attributed with specific sources
+- Answer-first formatting (conclusion, then explanation)
+- Definitions following "X is..." or "X refers to..." patterns
+
+**Weak signals:**
+- Vague, general statements
+- Opinion without evidence
+- Buried conclusions
+- No specific data points
+
+### 2. Structural Readability (25%)
+
+How easy is it for AI to parse and extract information?
+
+**Strong signals:**
+- Clean H1→H2→H3 heading hierarchy
+- Short paragraphs (2-4 sentences)
+- Tables for comparative data
+- Ordered/unordered lists for step-by-step or multi-item content
+- Definition patterns
+- FAQ sections with clear Q&A format
+
+**Weak signals:**
+- Wall of text with no structure
+- Inconsistent heading hierarchy
+- No lists or tables
+- Information buried in paragraphs
+
+### 3. Entity Clarity (15%)
+
+Are key concepts clearly defined and contextualized?
+
+**Strong signals:**
+- Key entities (people, organizations, concepts) clearly defined
+- Sufficient context for AI to understand relationships
+- Technical terms explained on first use
+- Consistent terminology throughout
+
+**Weak signals:**
+- Undefined jargon
+- Ambiguous references
+- Inconsistent naming
+
+### 4. Authority Signals (20%)
+
+Does the content demonstrate credibility?
+
+**Strong signals:**
+- Author byline with credentials
+- Publication date and last-updated date
+- Citations to primary sources (studies, official docs, data)
+- Organization credentials and affiliations
+- Expert quotes with attribution
+
+**Weak signals:**
+- Anonymous authorship
+- No dates
+- No sources cited
+- Generic content
+
+### 5. Structured Data Support (15%)
+
+Is there machine-readable context?
+
+**Strong signals:**
+- JSON-LD schema matching content type
+- FAQ schema (gov/health sites only)
+- Speakable schema for voice-search content
+- BreadcrumbList for navigation context
+- Author/Person schema
+
+**Weak signals:**
+- No structured data
+- Invalid or incomplete schema
+- Schema doesn't match content
+
+## Recommendations Framework
+
+For each page analyzed, provide:
+
+1. **Current GEO readiness score (0-100)**
+2. **Top 3 highest-impact changes**
+3. **Content reformatting suggestions**
+4. **Schema additions for AI discoverability**
+5. **Comparison vs top-ranking competitors** (if query provided)
+
+## Optimization Tactics
+
+### Quick Wins
+- Add "What is [topic]?" definition early in content
+- Include specific statistics with sources
+- Add table summarizing key points
+- Structure with clear H2/H3 hierarchy
+- Add publication/update dates
+
+### Medium Effort
+- Create FAQ section with common questions
+- Add author bio with credentials
+- Include original data or research
+- Add comparison tables
+- Implement appropriate schema markup
+
+### High Impact
+- Conduct original research/surveys
+- Add expert interviews/quotes
+- Create comprehensive topic coverage
+- Build topical authority through content clusters
+- Develop unique tools or calculators
+
+## Output
+
+- `GEO-ANALYSIS.md` — Full AI search optimization report
+- GEO Readiness Score: XX/100
+- Category breakdown
+- Specific rewriting suggestions for key sections
+- Schema recommendations
diff --git a/skills/seo-images/SKILL.md b/skills/seo-images/SKILL.md
new file mode 100644
index 0000000..819c947
--- /dev/null
+++ b/skills/seo-images/SKILL.md
@@ -0,0 +1,129 @@
+---
+name: seo-images
+description: >
+ Image optimization analysis for SEO and performance. Checks alt text, file
+ sizes, formats, responsive images, lazy loading, and CLS prevention. Use when
+ user says "image optimization", "alt text", "image SEO", "image size",
+ or "image audit".
+---
+
+# Image Optimization Analysis
+
+## Checks
+
+### Alt Text
+- Present on all `<img>` elements (except decorative: `role="presentation"`)
+- Descriptive: describes the image content, not "image.jpg" or "photo"
+- Includes relevant keywords where natural, not keyword-stuffed
+- Length: 10-125 characters
+
+**Good examples:**
+- "Professional plumber repairing kitchen sink faucet"
+- "Red 2024 Toyota Camry sedan front view"
+- "Team meeting in modern office conference room"
+
+**Bad examples:**
+- "image.jpg" (filename, not description)
+- "plumber plumbing plumber services" (keyword stuffing)
+- "Click here" (not descriptive)
+
+### File Size
+| Status | Threshold |
+|--------|-----------|
+| ✅ Good | <100KB |
+| ⚠️ Warning | >200KB |
+| 🛑 Critical | >500KB |
+
+Recommend compression to <100KB where possible without quality loss.
+
+### Format
+| Format | Browser Support | Use Case |
+|--------|-----------------|----------|
+| WebP | 97%+ | Default recommendation |
+| AVIF | 92%+ | Best compression, newer |
+| JPEG | 100% | Fallback for photos |
+| PNG | 100% | Graphics with transparency |
+| SVG | 100% | Icons, logos, illustrations |
+
+Recommend WebP/AVIF over JPEG/PNG. Check for `<picture>` element with format fallbacks.
+
+### Responsive Images
+- `srcset` attribute for multiple sizes
+- `sizes` attribute matching layout breakpoints
+- Appropriate resolution for device pixel ratios
+
+```html
+<img
+ src="image-800.jpg"
+ srcset="image-400.jpg 400w, image-800.jpg 800w, image-1200.jpg 1200w"
+ sizes="(max-width: 600px) 400px, (max-width: 1200px) 800px, 1200px"
+ alt="Description"
+>
+```
+
+### Lazy Loading
+- `loading="lazy"` on below-fold images
+- Do NOT lazy-load above-fold/hero images (hurts LCP)
+- Check for native vs JavaScript-based lazy loading
+
+```html
+<!-- Below fold - lazy load -->
+<img src="photo.jpg" loading="lazy" alt="Description">
+
+<!-- Above fold - eager load (default) -->
+<img src="hero.jpg" alt="Hero image">
+```
+
+### CLS Prevention
+- `width` and `height` attributes set on all `<img>` elements
+- `aspect-ratio` CSS as alternative
+- Flag images without dimensions
+
+```html
+<!-- Good - dimensions set -->
+<img src="photo.jpg" width="800" height="600" alt="Description">
+
+<!-- Good - CSS aspect ratio -->
+<img src="photo.jpg" style="aspect-ratio: 4/3" alt="Description">
+
+<!-- Bad - no dimensions -->
+<img src="photo.jpg" alt="Description">
+```
+
+### File Names
+- Descriptive: `blue-running-shoes.webp` not `IMG_1234.jpg`
+- Hyphenated, lowercase, no special characters
+- Include relevant keywords
+
+### CDN Usage
+- Check if images served from CDN (different domain, CDN headers)
+- Recommend CDN for image-heavy sites
+- Check for edge caching headers
+
+## Output
+
+### Image Audit Summary
+
+| Metric | Status | Count |
+|--------|--------|-------|
+| Total Images | - | XX |
+| Missing Alt Text | ❌ | XX |
+| Oversized (>200KB) | ⚠️ | XX |
+| Wrong Format | ⚠️ | XX |
+| No Dimensions | ⚠️ | XX |
+| Not Lazy Loaded | ⚠️ | XX |
+
+### Prioritized Optimization List
+
+Sorted by file size impact (largest savings first):
+
+| Image | Current Size | Format | Issues | Est. Savings |
+|-------|--------------|--------|--------|--------------|
+| ... | ... | ... | ... | ... |
+
+### Recommendations
+1. Convert X images to WebP format (est. XX KB savings)
+2. Add alt text to X images
+3. Add dimensions to X images
+4. Enable lazy loading on X below-fold images
+5. Compress X oversized images
diff --git a/skills/seo-page/SKILL.md b/skills/seo-page/SKILL.md
new file mode 100644
index 0000000..83114ce
--- /dev/null
+++ b/skills/seo-page/SKILL.md
@@ -0,0 +1,74 @@
+---
+name: seo-page
+description: >
+ Deep single-page SEO analysis covering on-page elements, content quality,
+ technical meta tags, schema, images, and performance. Use when user says
+ "analyze this page", "check page SEO", or provides a single URL for review.
+---
+
+# Single Page Analysis
+
+## What to Analyze
+
+### On-Page SEO
+- Title tag: 50-60 characters, includes primary keyword, unique
+- Meta description: 150-160 characters, compelling, includes keyword
+- H1: exactly one, matches page intent, includes keyword
+- H2-H6: logical hierarchy (no skipped levels), descriptive
+- URL: short, descriptive, hyphenated, no parameters
+- Internal links: sufficient, relevant anchor text, no orphan pages
+- External links: to authoritative sources, reasonable count
+
+### Content Quality
+- Word count vs page type minimums (see quality-gates.md)
+- Readability: Flesch Reading Ease score, grade level
+- Keyword density: natural (1-3%), semantic variations present
+- E-E-A-T signals: author bio, credentials, first-hand experience markers
+- Content freshness: publication date, last updated date
+
+### Technical Elements
+- Canonical tag: present, self-referencing or correct
+- Meta robots: index/follow unless intentionally blocked
+- Open Graph: og:title, og:description, og:image, og:url
+- Twitter Card: twitter:card, twitter:title, twitter:description
+- Hreflang: if multi-language, correct implementation
+
+### Schema Markup
+- Detect all types (JSON-LD preferred)
+- Validate required properties
+- Identify missing opportunities
+- NEVER recommend HowTo (deprecated) or FAQ (restricted to gov/health)
+
+### Images
+- Alt text: present, descriptive, includes keywords where natural
+- File size: flag >200KB (warning), >500KB (critical)
+- Format: recommend WebP/AVIF over JPEG/PNG
+- Dimensions: width/height set for CLS prevention
+- Lazy loading: loading="lazy" on below-fold images
+
+### Core Web Vitals (reference only — not measurable from HTML alone)
+- Flag potential LCP issues (huge hero images, render-blocking resources)
+- Flag potential INP issues (heavy JS, no async/defer)
+- Flag potential CLS issues (missing image dimensions, injected content)
+
+## Output
+
+### Page Score Card
+```
+Overall Score: XX/100
+
+On-Page SEO: XX/100 ████████░░
+Content Quality: XX/100 ██████████
+Technical: XX/100 ███████░░░
+Schema: XX/100 █████░░░░░
+Images: XX/100 ████████░░
+```
+
+### Issues Found
+Organized by priority: Critical → High → Medium → Low
+
+### Recommendations
+Specific, actionable improvements with expected impact
+
+### Schema Suggestions
+Ready-to-use JSON-LD code for detected opportunities
diff --git a/skills/seo-plan/SKILL.md b/skills/seo-plan/SKILL.md
new file mode 100644
index 0000000..705d565
--- /dev/null
+++ b/skills/seo-plan/SKILL.md
@@ -0,0 +1,106 @@
+---
+name: seo-plan
+description: >
+ Strategic SEO planning for new or existing websites. Industry-specific
+ templates, competitive analysis, content strategy, and implementation
+ roadmap. Use when user says "SEO plan", "SEO strategy", "content strategy",
+ "site architecture", or "SEO roadmap".
+---
+
+# Strategic SEO Planning
+
+## Process
+
+### 1. Discovery
+- Business type, target audience, competitors, goals
+- Current site assessment (if exists)
+- Budget and timeline constraints
+- Key performance indicators (KPIs)
+
+### 2. Competitive Analysis
+- Identify top 5 competitors
+- Analyze their content strategy, schema usage, technical setup
+- Identify keyword gaps and content opportunities
+- Assess their E-E-A-T signals
+- Estimate their domain authority
+
+### 3. Architecture Design
+- Load industry template from `assets/` directory
+- Design URL hierarchy and content pillars
+- Plan internal linking strategy
+- Sitemap structure with quality gates applied
+- Information architecture for user journeys
+
+### 4. Content Strategy
+- Content gaps vs competitors
+- Page types and estimated counts
+- Blog/resource topics and publishing cadence
+- E-E-A-T building plan (author bios, credentials, experience signals)
+- Content calendar with priorities
+
+### 5. Technical Foundation
+- Hosting and performance requirements
+- Schema markup plan per page type
+- Core Web Vitals baseline targets
+- AI search readiness requirements
+- Mobile-first considerations
+
+### 6. Implementation Roadmap (4 phases)
+
+#### Phase 1 — Foundation (weeks 1-4)
+- Technical setup and infrastructure
+- Core pages (home, about, contact, main services)
+- Essential schema implementation
+- Analytics and tracking setup
+
+#### Phase 2 — Expansion (weeks 5-12)
+- Content creation for primary pages
+- Blog launch with initial posts
+- Internal linking structure
+- Local SEO setup (if applicable)
+
+#### Phase 3 — Scale (weeks 13-24)
+- Advanced content development
+- Link building and outreach
+- GEO optimization
+- Performance optimization
+
+#### Phase 4 — Authority (months 7-12)
+- Thought leadership content
+- PR and media mentions
+- Advanced schema implementation
+- Continuous optimization
+
+## Industry Templates
+
+Load from `assets/` directory:
+- `saas.md` — SaaS/software companies
+- `local-service.md` — Local service businesses
+- `ecommerce.md` — E-commerce stores
+- `publisher.md` — Content publishers/media
+- `agency.md` — Agencies and consultancies
+- `generic.md` — General business template
+
+## Output
+
+### Deliverables
+- `SEO-STRATEGY.md` — Complete strategic plan
+- `COMPETITOR-ANALYSIS.md` — Competitive insights
+- `CONTENT-CALENDAR.md` — Content roadmap
+- `IMPLEMENTATION-ROADMAP.md` — Phased action plan
+- `SITE-STRUCTURE.md` — URL hierarchy and architecture
+
+### KPI Targets
+| Metric | Baseline | 3 Month | 6 Month | 12 Month |
+|--------|----------|---------|---------|----------|
+| Organic Traffic | ... | ... | ... | ... |
+| Keyword Rankings | ... | ... | ... | ... |
+| Domain Authority | ... | ... | ... | ... |
+| Indexed Pages | ... | ... | ... | ... |
+| Core Web Vitals | ... | ... | ... | ... |
+
+### Success Criteria
+- Clear, measurable goals per phase
+- Resource requirements defined
+- Dependencies identified
+- Risk mitigation strategies
diff --git a/skills/seo-plan/assets/agency.md b/skills/seo-plan/assets/agency.md
new file mode 100644
index 0000000..38aff30
--- /dev/null
+++ b/skills/seo-plan/assets/agency.md
@@ -0,0 +1,163 @@
+# Agency/Consultancy SEO Strategy Template
+
+## Industry Characteristics
+
+- Service-based, high-value transactions
+- Expertise and trust are paramount
+- Long consideration cycles
+- Portfolio/case study driven decisions
+- Relationship-based sales
+- Niche specialization benefits
+
+## Recommended Site Architecture
+
+```
+/
+├── Home
+├── /services
+│ ├── /service-1
+│ │ ├── /sub-service-1
+│ │ └── ...
+│ └── /service-2
+├── /industries
+│ ├── /industry-1
+│ ├── /industry-2
+│ └── ...
+├── /work (or /case-studies)
+│ ├── /case-study-1
+│ ├── /case-study-2
+│ └── ...
+├── /about
+│ ├── /team
+│ │ ├── /team-member-1
+│ │ └── ...
+│ ├── /culture
+│ └── /careers
+├── /insights (or /blog)
+│ ├── /articles
+│ ├── /guides
+│ ├── /webinars
+│ └── /podcasts
+├── /contact
+├── /process
+└── /faq
+```
+
+## Schema Recommendations
+
+| Page Type | Schema Types |
+|-----------|-------------|
+| Homepage | Organization, ProfessionalService |
+| Service Page | Service, ProfessionalService |
+| Case Study | Article, Organization (client) |
+| Team Member | Person, ProfilePage |
+| Blog | Article, BlogPosting |
+
+### ProfessionalService Schema Example
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "ProfessionalService",
+ "name": "Agency Name",
+ "description": "What the agency does",
+ "url": "https://example.com",
+ "logo": "https://example.com/logo.png",
+ "address": {
+ "@type": "PostalAddress",
+ "streetAddress": "123 Agency St",
+ "addressLocality": "City",
+ "addressRegion": "State",
+ "postalCode": "12345"
+ },
+ "telephone": "+1-555-555-5555",
+ "areaServed": "National",
+ "hasOfferCatalog": {
+ "@type": "OfferCatalog",
+ "name": "Services",
+ "itemListElement": [
+ {
+ "@type": "Offer",
+ "itemOffered": {
+ "@type": "Service",
+ "name": "Service 1"
+ }
+ }
+ ]
+ }
+}
+```
+
+## E-E-A-T Requirements
+
+### Team Pages Must Include
+- Professional headshots
+- Detailed bios with credentials
+- Industry experience
+- Speaking engagements
+- Publications
+- Social profiles
+
+### Case Studies Must Include
+- Client name (with permission) or industry
+- Challenge/problem statement
+- Approach/methodology
+- Results with specific metrics
+- Timeline
+- Testimonial quote
+
+## Content Priorities
+
+### High Priority
+1. Service pages (detailed, specific)
+2. Industry pages (vertical expertise)
+3. 3-5 detailed case studies
+4. Team/leadership pages
+
+### Medium Priority
+1. Methodology/process page
+2. Blog with thought leadership
+3. Comparison content (vs alternatives)
+4. FAQ page
+
+### Thought Leadership Topics
+- Industry trend analysis
+- How-to guides (non-competitive)
+- Original research/surveys
+- Event recaps and insights
+- Expert interviews
+- Tool/technology reviews
+
+## Content Strategy
+
+### Service Pages (min 800 words)
+- Clear value proposition
+- Methodology overview
+- Deliverables list
+- Relevant case studies
+- Team members who deliver this service
+- CTA to schedule consultation
+
+### Industry Pages (min 800 words)
+- Industry-specific challenges
+- How you solve them differently
+- Relevant case studies
+- Industry credentials/experience
+- Client logos (with permission)
+
+### Case Studies (min 1,000 words)
+- Executive summary
+- Client background
+- Challenge details
+- Solution approach
+- Implementation process
+- Measurable results
+- Client testimonial
+- Related services/CTA
+
+## Key Metrics to Track
+
+- Organic traffic to service pages
+- Case study page views
+- Contact form submissions from organic
+- Time on page for key content
+- Blog → service page conversion
diff --git a/skills/seo-plan/assets/ecommerce.md b/skills/seo-plan/assets/ecommerce.md
new file mode 100644
index 0000000..1b82cc5
--- /dev/null
+++ b/skills/seo-plan/assets/ecommerce.md
@@ -0,0 +1,144 @@
+# E-commerce SEO Strategy Template
+
+## Industry Characteristics
+
+- High transaction intent
+- Product comparison behavior
+- Price sensitivity
+- Visual-first decision making
+- Seasonal demand patterns
+- Competitive marketplace listings
+
+## Recommended Site Architecture
+
+```
+/
+├── Home
+├── /collections (or /categories)
+│ ├── /category-1
+│ │ ├── /subcategory-1
+│ │ └── ...
+│ ├── /category-2
+│ └── ...
+├── /products
+│ ├── /product-1
+│ ├── /product-2
+│ └── ...
+├── /brands
+│ ├── /brand-1
+│ └── ...
+├── /sale (or /deals)
+├── /new-arrivals
+├── /best-sellers
+├── /gift-guide
+├── /blog
+│ ├── /buying-guides
+│ ├── /how-to
+│ └── /trends
+├── /about
+├── /contact
+├── /shipping
+├── /returns
+└── /faq
+```
+
+## Schema Recommendations
+
+| Page Type | Schema Types |
+|-----------|-------------|
+| Product Page | Product, Offer, AggregateRating, Review, BreadcrumbList |
+| Category Page | CollectionPage, ItemList, BreadcrumbList |
+| Brand Page | Brand, Organization |
+| Blog | Article, BlogPosting |
+
+### Product Schema Example
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "Product",
+ "name": "Product Name",
+ "image": ["https://example.com/product.jpg"],
+ "description": "Product description",
+ "sku": "SKU123",
+ "brand": {
+ "@type": "Brand",
+ "name": "Brand Name"
+ },
+ "offers": {
+ "@type": "Offer",
+ "price": "99.99",
+ "priceCurrency": "USD",
+ "availability": "https://schema.org/InStock",
+ "url": "https://example.com/product"
+ },
+ "aggregateRating": {
+ "@type": "AggregateRating",
+ "ratingValue": "4.5",
+ "reviewCount": "42"
+ }
+}
+```
+
+## Content Requirements
+
+### Product Pages (min 400 words)
+- Unique product descriptions (not manufacturer copy)
+- Feature highlights
+- Use cases / who it's for
+- Specifications table
+- Size/fit guide (for apparel)
+- Care instructions
+- Customer reviews
+
+### Category Pages (min 400 words)
+- Category introduction
+- Buying guide excerpt
+- Featured products
+- Subcategory links
+- Filter/sort options
+
+## Technical Considerations
+
+### Pagination
+- Use rel="next"/rel="prev" or load-more
+- Ensure all products are crawlable
+- Canonical to main category page
+
+### Faceted Navigation
+- Noindex filter combinations that create duplicate content
+- Use canonical tags appropriately
+- Ensure popular filters are indexable
+
+### Product Variations
+- Single URL for parent product with variants
+- Or separate URLs with canonical to parent
+- Structured data for all variants
+
+## Content Priorities
+
+### High Priority
+1. Category pages (top level)
+2. Best-selling product pages
+3. Homepage
+4. Buying guides for main categories
+
+### Medium Priority
+1. Subcategory pages
+2. Brand pages
+3. Comparison content
+4. Seasonal landing pages
+
+### Blog Topics
+- Buying guides ("How to Choose...")
+- Product comparisons
+- Trend reports
+- Use cases and inspiration
+- Care and maintenance guides
+
+## Key Metrics to Track
+
+- Revenue from organic search
+- Product page rankings
+- Category page rankings
+- Click-through rate (rich results)
+- Average order value from organic
diff --git a/skills/seo-plan/assets/generic.md b/skills/seo-plan/assets/generic.md
new file mode 100644
index 0000000..0ebfaab
--- /dev/null
+++ b/skills/seo-plan/assets/generic.md
@@ -0,0 +1,132 @@
+# Generic Business SEO Strategy Template
+
+## Overview
+
+This template applies to businesses that don't fit neatly into SaaS, local service, e-commerce, publisher, or agency categories. Customize based on your specific business model.
+
+## Recommended Site Architecture
+
+```
+/
+├── Home
+├── /products (or /services)
+│ ├── /product-1
+│ ├── /product-2
+│ └── ...
+├── /solutions (if applicable)
+│ ├── /solution-1
+│ └── ...
+├── /about
+│ ├── /team
+│ ├── /history
+│ └── /values
+├── /resources
+│ ├── /blog
+│ ├── /guides
+│ ├── /faq
+│ └── /glossary
+├── /contact
+├── /support
+└── /legal
+ ├── /privacy
+ └── /terms
+```
+
+## Universal SEO Principles
+
+### Every Page Should Have
+- Unique title tag (30-60 chars)
+- Unique meta description (120-160 chars)
+- Single H1 matching page intent
+- Logical heading hierarchy (H1→H2→H3)
+- Internal links to related content
+- Clear call-to-action
+
+### Schema for All Sites
+| Page Type | Schema Types |
+|-----------|-------------|
+| Homepage | Organization, WebSite |
+| About | Organization, AboutPage |
+| Contact | ContactPage |
+| Blog | Article, BlogPosting |
+| FAQ | (FAQPage only for gov/health) |
+| Product/Service | Product or Service |
+
+## Content Quality Standards
+
+### Minimum Word Counts
+| Page Type | Min Words |
+|-----------|-----------|
+| Homepage | 500 |
+| Product/Service | 800 |
+| Blog Post | 1,500 |
+| About Page | 400 |
+| Landing Page | 600 |
+
+### E-E-A-T Essentials
+1. **Experience**: Share real examples and case studies
+2. **Expertise**: Display credentials and qualifications
+3. **Authoritativeness**: Earn mentions and citations
+4. **Trustworthiness**: Full contact info, policies visible
+
+## Technical Foundations
+
+### Must-Haves
+- [ ] HTTPS enabled
+- [ ] Mobile-responsive design
+- [ ] robots.txt configured
+- [ ] XML sitemap submitted
+- [ ] Google Search Console verified
+- [ ] Core Web Vitals passing (LCP <2.5s, INP <200ms, CLS <0.1)
+
+### Should-Haves
+- [ ] Structured data on key pages
+- [ ] Internal linking strategy
+- [ ] 404 error page optimized
+- [ ] Redirect chains eliminated
+- [ ] Image optimization (WebP, lazy loading)
+
+## Content Priorities
+
+### Phase 1: Foundation (weeks 1-4)
+1. Homepage optimization
+2. Core product/service pages
+3. About and contact pages
+4. Basic schema implementation
+
+### Phase 2: Expansion (weeks 5-12)
+1. Blog launch (2-4 posts/month)
+2. FAQ page
+3. Additional product/service pages
+4. Internal linking audit
+
+### Phase 3: Growth (weeks 13-24)
+1. Consistent content publishing
+2. Link building outreach
+3. GEO optimization
+4. Performance optimization
+
+### Phase 4: Authority (months 7-12)
+1. Thought leadership content
+2. Original research
+3. PR and media mentions
+4. Advanced schema
+
+## Key Metrics to Track
+
+- Organic traffic (overall and by section)
+- Keyword rankings (branded and non-branded)
+- Conversion rate from organic
+- Pages indexed
+- Core Web Vitals scores
+- Backlinks acquired
+
+## Customization Points
+
+Adjust this template based on:
+
+1. **Business Model**: B2B vs B2C vs D2C
+2. **Geographic Scope**: Local, national, or international
+3. **Content Type**: Product-focused vs content-heavy
+4. **Competition Level**: Niche vs competitive market
+5. **Resources**: Budget and team capacity
diff --git a/skills/seo-plan/assets/local-service.md b/skills/seo-plan/assets/local-service.md
new file mode 100644
index 0000000..31648e6
--- /dev/null
+++ b/skills/seo-plan/assets/local-service.md
@@ -0,0 +1,127 @@
+# Local Service Business SEO Strategy Template
+
+## Industry Characteristics
+
+- Geographic-focused searches
+- High intent, quick decision making
+- Reviews heavily influence decisions
+- Phone calls are primary conversion
+- Mobile-first user behavior
+- Emergency/urgent service needs
+
+## Recommended Site Architecture
+
+```
+/
+├── Home
+├── /services
+│ ├── /service-1
+│ ├── /service-2
+│ └── ...
+├── /locations
+│ ├── /city-1
+│ │ ├── /service-1-city-1
+│ │ └── ...
+│ ├── /city-2
+│ └── ...
+├── /about
+├── /reviews
+├── /gallery (or /portfolio)
+├── /blog
+├── /contact
+├── /emergency (if applicable)
+└── /faq
+```
+
+## Quality Gates
+
+### Location Page Limits
+- ⚠️ **WARNING** at 30+ location pages
+- 🛑 **HARD STOP** at 50+ location pages
+
+### Unique Content Requirements
+| Page Type | Min Words | Unique % |
+|-----------|-----------|----------|
+| Primary Location | 600 | 60%+ |
+| Service Area | 500 | 40%+ |
+| Service Page | 800 | 100% |
+
+### What Makes Location Pages Unique
+- Local landmarks and neighborhoods
+- Specific services offered at that location
+- Local team members
+- Location-specific testimonials
+- Community involvement
+- Local regulations or considerations
+
+## Schema Recommendations
+
+| Page Type | Schema Types |
+|-----------|-------------|
+| Homepage | LocalBusiness, Organization |
+| Service Pages | Service, LocalBusiness |
+| Location Pages | LocalBusiness (with geo) |
+| Contact | ContactPage, LocalBusiness |
+| Reviews | LocalBusiness (with AggregateRating) |
+
+### LocalBusiness Schema Example
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "LocalBusiness",
+ "name": "Business Name",
+ "address": {
+ "@type": "PostalAddress",
+ "streetAddress": "123 Main St",
+ "addressLocality": "City",
+ "addressRegion": "State",
+ "postalCode": "12345"
+ },
+ "telephone": "+1-555-555-5555",
+ "openingHours": "Mo-Fr 08:00-18:00",
+ "geo": {
+ "@type": "GeoCoordinates",
+ "latitude": "40.7128",
+ "longitude": "-74.0060"
+ },
+ "areaServed": ["City 1", "City 2"],
+ "priceRange": "$$"
+}
+```
+
+## Google Business Profile Integration
+
+- Ensure NAP consistency (Name, Address, Phone)
+- Sync service categories
+- Regular post updates
+- Photo uploads
+- Review response strategy
+
+## Content Priorities
+
+### High Priority
+1. Homepage with clear service area
+2. Core service pages
+3. Primary city page
+4. Contact page with all locations
+
+### Medium Priority
+1. Service + location combination pages
+2. FAQ page
+3. About/team page
+4. Reviews/testimonials page
+
+### Blog Topics
+- Seasonal maintenance tips
+- How to choose a [service provider]
+- Warning signs of [problem]
+- DIY vs professional comparisons
+- Local regulations and permits
+
+## Key Metrics to Track
+
+- Local pack rankings
+- Phone call volume from organic
+- Direction requests
+- Google Business Profile insights
+- Reviews count and rating
diff --git a/skills/seo-plan/assets/publisher.md b/skills/seo-plan/assets/publisher.md
new file mode 100644
index 0000000..c95c554
--- /dev/null
+++ b/skills/seo-plan/assets/publisher.md
@@ -0,0 +1,142 @@
+# Publisher/Media SEO Strategy Template
+
+## Industry Characteristics
+
+- High content volume
+- Time-sensitive content (news)
+- Ad revenue dependent on traffic
+- Authority and trust critical
+- Competing with social platforms
+- AI Overviews impact on traffic
+
+## Recommended Site Architecture
+
+```
+/
+├── Home
+├── /news (or /latest)
+├── /topics
+│ ├── /topic-1
+│ ├── /topic-2
+│ └── ...
+├── /authors
+│ ├── /author-1
+│ └── ...
+├── /opinion
+├── /reviews
+├── /guides
+├── /videos
+├── /podcasts
+├── /newsletter
+├── /about
+│ ├── /editorial-policy
+│ ├── /corrections
+│ └── /contact
+└── /[year]/[month]/[slug] (article URLs)
+```
+
+## Schema Recommendations
+
+| Page Type | Schema Types |
+|-----------|-------------|
+| Article | NewsArticle or Article, Person (author), Organization (publisher) |
+| Author Page | Person, ProfilePage |
+| Topic Page | CollectionPage, ItemList |
+| Homepage | WebSite, Organization |
+| Video | VideoObject |
+| Podcast | PodcastEpisode, PodcastSeries |
+
+### NewsArticle Schema Example
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "NewsArticle",
+ "headline": "Article Headline",
+ "datePublished": "2026-02-07T10:00:00Z",
+ "dateModified": "2026-02-07T14:30:00Z",
+ "author": {
+ "@type": "Person",
+ "name": "Author Name",
+ "url": "https://example.com/authors/author-name"
+ },
+ "publisher": {
+ "@type": "Organization",
+ "name": "Publication Name",
+ "logo": {
+ "@type": "ImageObject",
+ "url": "https://example.com/logo.png"
+ }
+ },
+ "image": ["https://example.com/article-image.jpg"],
+ "mainEntityOfPage": {
+ "@type": "WebPage",
+ "@id": "https://example.com/article-url"
+ }
+}
+```
+
+## E-E-A-T Requirements
+
+Publishers face highest E-E-A-T scrutiny.
+
+### Author Pages Must Include
+- Full name and photo
+- Bio and credentials
+- Areas of expertise
+- Contact information
+- Social profiles (sameAs)
+- Previous articles by this author
+
+### Editorial Standards
+- Clear correction policy
+- Transparent editorial process
+- Fact-checking procedures
+- Conflict of interest disclosures
+
+## Content Priorities
+
+### High Priority
+1. Breaking news (speed matters)
+2. Evergreen guides on core topics
+3. Author pages with credentials
+4. Topic hubs/pillar pages
+
+### Medium Priority
+1. Opinion/analysis pieces
+2. Video content
+3. Interactive content
+4. Newsletter landing pages
+
+### GEO Considerations
+- Clear, quotable facts in articles
+- Tables for data-heavy content
+- Expert quotes with attribution
+- Update dates prominently displayed
+- Structured headings (H2/H3)
+
+## Technical Considerations
+
+### Core Web Vitals
+- Ad placement affects CLS
+- Lazy load ads and images below fold
+- Optimize hero images for LCP
+- Minimize render-blocking resources
+
+### AMP (if used)
+- Consider dropping AMP (no longer required for Top Stories)
+- Ensure canonical setup is correct
+- Monitor performance vs non-AMP
+
+### Pagination
+- Proper pagination for multi-page articles
+- Or infinite scroll with proper indexing
+- Canonical to page 1 or full article
+
+## Key Metrics to Track
+
+- Page views from organic
+- Time on page
+- Pages per session
+- Newsletter signups from organic
+- Google News/Discover traffic
+- AI Overview appearances
diff --git a/skills/seo-plan/assets/saas.md b/skills/seo-plan/assets/saas.md
new file mode 100644
index 0000000..53bbd81
--- /dev/null
+++ b/skills/seo-plan/assets/saas.md
@@ -0,0 +1,100 @@
+# SaaS SEO Strategy Template
+
+## Industry Characteristics
+
+- Long sales cycles with multiple touchpoints
+- Feature-focused decision making
+- Comparison shopping behavior
+- Heavy research phase before purchase
+- Integration and ecosystem considerations
+
+## Recommended Site Architecture
+
+```
+/
+├── Home
+├── /product (or /platform)
+│ ├── /features
+│ │ ├── /feature-1
+│ │ ├── /feature-2
+│ │ └── ...
+│ ├── /integrations
+│ │ ├── /integration-1
+│ │ └── ...
+│ └── /security
+├── /solutions
+│ ├── /by-industry
+│ │ ├── /industry-1
+│ │ └── ...
+│ └── /by-use-case
+│ ├── /use-case-1
+│ └── ...
+├── /pricing
+├── /customers
+│ ├── /case-studies
+│ │ ├── /case-study-1
+│ │ └── ...
+│ └── /testimonials
+├── /resources
+│ ├── /blog
+│ ├── /guides
+│ ├── /webinars
+│ ├── /templates
+│ └── /glossary
+├── /docs (or /help)
+│ └── /api
+├── /company
+│ ├── /about
+│ ├── /careers
+│ ├── /press
+│ └── /contact
+└── /compare
+ ├── /vs-competitor-1
+ └── /vs-competitor-2
+```
+
+## Content Priorities
+
+### High Priority Pages
+1. Homepage (value proposition, social proof)
+2. Features overview
+3. Pricing page
+4. Key integrations
+5. Top 3-5 use case pages
+
+### Medium Priority Pages
+1. Individual feature pages
+2. Industry solution pages
+3. Case studies (2-3 detailed ones)
+4. Comparison pages (vs competitors)
+
+### Content Marketing Focus
+1. Bottom-of-funnel: Comparison guides, ROI calculators
+2. Middle-of-funnel: How-to guides, best practices
+3. Top-of-funnel: Industry trends, educational content
+
+## Schema Recommendations
+
+| Page Type | Schema Types |
+|-----------|-------------|
+| Homepage | Organization, WebSite, SoftwareApplication |
+| Product/Features | SoftwareApplication, Offer |
+| Pricing | SoftwareApplication, Offer (with pricing) |
+| Blog | Article, BlogPosting |
+| Case Studies | Article, Organization (customer) |
+| Documentation | TechArticle |
+
+## Key Metrics to Track
+
+- Organic traffic to pricing page
+- Demo/trial signups from organic
+- Blog → pricing page conversion
+- Comparison page rankings
+- Integration page performance
+
+## Competitive Considerations
+
+- Monitor competitor feature releases
+- Track competitor content strategies
+- Identify keyword gaps in feature coverage
+- Watch for new comparison opportunities
diff --git a/skills/seo-schema/SKILL.md b/skills/seo-schema/SKILL.md
new file mode 100644
index 0000000..74fb028
--- /dev/null
+++ b/skills/seo-schema/SKILL.md
@@ -0,0 +1,139 @@
+---
+name: seo-schema
+description: >
+ Detect, validate, and generate Schema.org structured data. JSON-LD format
+ preferred. Use when user says "schema", "structured data", "rich results",
+ "JSON-LD", or "markup".
+---
+
+# Schema Markup Analysis & Generation
+
+## Detection
+
+1. Scan page source for JSON-LD `<script type="application/ld+json">`
+2. Check for Microdata (`itemscope`, `itemprop`)
+3. Check for RDFa (`typeof`, `property`)
+4. Always recommend JSON-LD as primary format (Google's stated preference)
+
+## Validation
+
+- Check required properties per schema type
+- Validate against Google's supported rich result types
+- Test for common errors:
+ - Missing @context
+ - Invalid @type
+ - Wrong data types
+ - Placeholder text
+ - Relative URLs (should be absolute)
+ - Invalid date formats
+- Flag deprecated types (see below)
+
+## Schema Type Status (as of Feb 2026)
+
+Read `references/schema-types.md` for the full list. Key rules:
+
+### ACTIVE — recommend freely:
+Organization, LocalBusiness, SoftwareApplication, Product (with Certification markup as of April 2025), Offer, Service, Article, BlogPosting, NewsArticle, Review, AggregateRating, BreadcrumbList, WebSite, WebPage, Person, ContactPage, VideoObject, ImageObject, Event, JobPosting, Course, DiscussionForumPosting
+
+### RESTRICTED — only for specific sites:
+- **FAQ**: ONLY for government and healthcare authority sites (restricted Aug 2023)
+
+### DEPRECATED — never recommend:
+- **HowTo**: Rich results removed September 2023
+- **SpecialAnnouncement**: Deprecated July 31, 2025
+- **CourseInfo, EstimatedSalary, LearningVideo**: Retired June 2025
+
+## Generation
+
+When generating schema for a page:
+1. Identify page type from content analysis
+2. Select appropriate schema type(s)
+3. Generate valid JSON-LD with all required + recommended properties
+4. Include only truthful, verifiable data — use placeholders clearly marked for user to fill
+5. Validate output before presenting
+
+## Common Schema Templates
+
+### Organization
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "Organization",
+ "name": "[Company Name]",
+ "url": "[Website URL]",
+ "logo": "[Logo URL]",
+ "contactPoint": {
+ "@type": "ContactPoint",
+ "telephone": "[Phone]",
+ "contactType": "customer service"
+ },
+ "sameAs": [
+ "[Facebook URL]",
+ "[LinkedIn URL]",
+ "[Twitter URL]"
+ ]
+}
+```
+
+### LocalBusiness
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "LocalBusiness",
+ "name": "[Business Name]",
+ "address": {
+ "@type": "PostalAddress",
+ "streetAddress": "[Street]",
+ "addressLocality": "[City]",
+ "addressRegion": "[State]",
+ "postalCode": "[ZIP]",
+ "addressCountry": "US"
+ },
+ "telephone": "[Phone]",
+ "openingHours": "Mo-Fr 09:00-17:00",
+ "geo": {
+ "@type": "GeoCoordinates",
+ "latitude": "[Lat]",
+ "longitude": "[Long]"
+ }
+}
+```
+
+### Article/BlogPosting
+```json
+{
+ "@context": "https://schema.org",
+ "@type": "Article",
+ "headline": "[Title]",
+ "author": {
+ "@type": "Person",
+ "name": "[Author Name]"
+ },
+ "datePublished": "[YYYY-MM-DD]",
+ "dateModified": "[YYYY-MM-DD]",
+ "image": "[Image URL]",
+ "publisher": {
+ "@type": "Organization",
+ "name": "[Publisher]",
+ "logo": {
+ "@type": "ImageObject",
+ "url": "[Logo URL]"
+ }
+ }
+}
+```
+
+## Output
+
+- `SCHEMA-REPORT.md` — detection and validation results
+- `generated-schema.json` — ready-to-use JSON-LD snippets
+
+### Validation Results
+| Schema | Type | Status | Issues |
+|--------|------|--------|--------|
+| ... | ... | ✅/⚠️/❌ | ... |
+
+### Recommendations
+- Missing schema opportunities
+- Validation fixes needed
+- Generated code for implementation
diff --git a/skills/seo-sitemap/SKILL.md b/skills/seo-sitemap/SKILL.md
new file mode 100644
index 0000000..edc318d
--- /dev/null
+++ b/skills/seo-sitemap/SKILL.md
@@ -0,0 +1,104 @@
+---
+name: seo-sitemap
+description: >
+ Analyze existing XML sitemaps or generate new ones with industry templates.
+ Validates format, URLs, and structure. Use when user says "sitemap",
+ "generate sitemap", "sitemap issues", or "XML sitemap".
+---
+
+# Sitemap Analysis & Generation
+
+## Mode 1: Analyze Existing Sitemap
+
+### Validation Checks
+- Valid XML format
+- URL count <50,000 per file (protocol limit)
+- All URLs return HTTP 200
+- `<lastmod>` dates are accurate (not all identical)
+- No deprecated tags: `<priority>` and `<changefreq>` are ignored by Google
+- Sitemap referenced in robots.txt
+- Compare crawled pages vs sitemap — flag missing pages
+
+### Quality Signals
+- Sitemap index file if >50k URLs
+- Split by content type (pages, posts, images, videos)
+- No non-canonical URLs in sitemap
+- No noindexed URLs in sitemap
+- No redirected URLs in sitemap
+- HTTPS URLs only (no HTTP)
+
+### Common Issues
+| Issue | Severity | Fix |
+|-------|----------|-----|
+| >50k URLs in single file | Critical | Split with sitemap index |
+| Non-200 URLs | High | Remove or fix broken URLs |
+| Noindexed URLs included | High | Remove from sitemap |
+| Redirected URLs included | Medium | Update to final URLs |
+| All identical lastmod | Low | Use actual modification dates |
+| Priority/changefreq used | Info | Can remove (ignored by Google) |
+
+## Mode 2: Generate New Sitemap
+
+### Process
+1. Ask for business type (or auto-detect from existing site)
+2. Load industry template from `assets/` directory
+3. Interactive structure planning with user
+4. Apply quality gates:
+ - ⚠️ WARNING at 30+ location pages (require 60%+ unique content)
+ - 🛑 HARD STOP at 50+ location pages (require justification)
+5. Generate valid XML using `scripts/generate_sitemap.py`
+6. Split at 50k URLs with sitemap index
+7. Generate STRUCTURE.md documentation
+
+### Safe Programmatic Pages (OK at scale)
+✅ Integration pages (with real setup docs)
+✅ Template/tool pages (with downloadable content)
+✅ Glossary pages (200+ word definitions)
+✅ Product pages (unique specs, reviews)
+✅ User profile pages (user-generated content)
+
+### Penalty Risk (avoid at scale)
+❌ Location pages with only city name swapped
+❌ "Best [tool] for [industry]" without industry-specific value
+❌ "[Competitor] alternative" without real comparison data
+❌ AI-generated pages without human review and unique value
+
+## Sitemap Format
+
+### Standard Sitemap
+```xml
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <url>
+ <loc>https://example.com/page</loc>
+ <lastmod>2026-02-07</lastmod>
+ </url>
+</urlset>
+```
+
+### Sitemap Index (for >50k URLs)
+```xml
+<?xml version="1.0" encoding="UTF-8"?>
+<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+ <sitemap>
+ <loc>https://example.com/sitemap-pages.xml</loc>
+ <lastmod>2026-02-07</lastmod>
+ </sitemap>
+ <sitemap>
+ <loc>https://example.com/sitemap-posts.xml</loc>
+ <lastmod>2026-02-07</lastmod>
+ </sitemap>
+</sitemapindex>
+```
+
+## Output
+
+### For Analysis
+- `VALIDATION-REPORT.md` — analysis results
+- Issues list with severity
+- Recommendations
+
+### For Generation
+- `sitemap.xml` (or split files with index)
+- `STRUCTURE.md` — site architecture documentation
+- URL count and organization summary
diff --git a/skills/seo-technical/SKILL.md b/skills/seo-technical/SKILL.md
new file mode 100644
index 0000000..38e3f64
--- /dev/null
+++ b/skills/seo-technical/SKILL.md
@@ -0,0 +1,97 @@
+---
+name: seo-technical
+description: >
+ Technical SEO audit across 8 categories: crawlability, indexability, security,
+ URL structure, mobile, Core Web Vitals, structured data, and JavaScript
+ rendering. Use when user says "technical SEO", "crawl issues", "robots.txt",
+ "Core Web Vitals", "site speed", or "security headers".
+---
+
+# Technical SEO Audit
+
+## Categories
+
+### 1. Crawlability
+- robots.txt: exists, valid, not blocking important resources
+- XML sitemap: exists, referenced in robots.txt, valid format
+- Noindex tags: intentional vs accidental
+- Crawl depth: important pages within 3 clicks of homepage
+- JavaScript rendering: check if critical content requires JS execution
+- Crawl budget: for large sites (>10k pages), efficiency matters
+
+### 2. Indexability
+- Canonical tags: self-referencing, no conflicts with noindex
+- Duplicate content: near-duplicates, parameter URLs, www vs non-www
+- Thin content: pages below minimum word counts per type
+- Pagination: rel=next/prev or load-more pattern
+- Hreflang: correct for multi-language/multi-region sites
+- Index bloat: unnecessary pages consuming crawl budget
+
+### 3. Security
+- HTTPS: enforced, valid SSL certificate, no mixed content
+- Security headers:
+ - Content-Security-Policy (CSP)
+ - Strict-Transport-Security (HSTS)
+ - X-Frame-Options
+ - X-Content-Type-Options
+ - Referrer-Policy
+- HSTS preload: check preload list inclusion for high-security sites
+
+### 4. URL Structure
+- Clean URLs: descriptive, hyphenated, no query parameters for content
+- Hierarchy: logical folder structure reflecting site architecture
+- Redirects: no chains (max 1 hop), 301 for permanent moves
+- URL length: flag >100 characters
+- Trailing slashes: consistent usage
+
+### 5. Mobile Optimization
+- Responsive design: viewport meta tag, responsive CSS
+- Touch targets: minimum 48x48px with 8px spacing
+- Font size: minimum 16px base
+- No horizontal scroll
+- Mobile-first indexing: Google indexes mobile version
+
+### 6. Core Web Vitals
+- **LCP** (Largest Contentful Paint): target <2.5s
+- **INP** (Interaction to Next Paint): target <200ms
+ - INP replaced FID on March 12, 2024. Do NOT reference FID anywhere.
+- **CLS** (Cumulative Layout Shift): target <0.1
+- Evaluation uses 75th percentile of real user data
+- Use PageSpeed Insights API or CrUX data if MCP available
+
+### 7. Structured Data
+- Detection: JSON-LD (preferred), Microdata, RDFa
+- Validation against Google's supported types
+- See seo-schema skill for full analysis
+
+### 8. JavaScript Rendering
+- Check if content visible in initial HTML vs requires JS
+- Identify client-side rendered (CSR) vs server-side rendered (SSR)
+- Flag SPA frameworks (React, Vue, Angular) that may cause indexing issues
+- Verify dynamic rendering setup if applicable
+
+### 9. IndexNow Protocol
+- Check if site supports IndexNow for Bing, Yandex, Naver
+- Supported by search engines other than Google
+- Recommend implementation for faster indexing on non-Google engines
+
+## Output
+
+### Technical Score: XX/100
+
+### Category Breakdown
+| Category | Status | Score |
+|----------|--------|-------|
+| Crawlability | ✅/⚠️/❌ | XX/100 |
+| Indexability | ✅/⚠️/❌ | XX/100 |
+| Security | ✅/⚠️/❌ | XX/100 |
+| URL Structure | ✅/⚠️/❌ | XX/100 |
+| Mobile | ✅/⚠️/❌ | XX/100 |
+| Core Web Vitals | ✅/⚠️/❌ | XX/100 |
+| Structured Data | ✅/⚠️/❌ | XX/100 |
+| JS Rendering | ✅/⚠️/❌ | XX/100 |
+
+### Critical Issues (fix immediately)
+### High Priority (fix within 1 week)
+### Medium Priority (fix within 1 month)
+### Low Priority (backlog)
diff --git a/uninstall.sh b/uninstall.sh
new file mode 100755
index 0000000..efd0260
--- /dev/null
+++ b/uninstall.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+set -euo pipefail
+
+main() {
+ echo "→ Uninstalling SEO PRO..."
+
+ # Remove main skill
+ rm -rf "${HOME}/.claude/skills/seo-pro"
+
+ # Remove sub-skills
+ for skill in seo-audit seo-page seo-sitemap seo-schema seo-images seo-technical seo-content seo-geo seo-plan; do
+ rm -rf "${HOME}/.claude/skills/${skill}"
+ done
+
+ # Remove agents
+ for agent in seo-technical seo-content seo-schema seo-sitemap seo-performance seo-visual; do
+ rm -f "${HOME}/.claude/agents/${agent}.md"
+ done
+
+ echo "✓ SEO PRO uninstalled."
+}
+
+main "$@"