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: v1.6.0 - local SEO skill, installer fixes, ecosystem cross-linking
Danielb84fa2e0dafe
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex aedcf3e..f7ebec7 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "claude-seo",- "version": "1.5.0",- "description": "Comprehensive SEO analysis skill for Claude Code. Covers technical SEO, content quality (E-E-A-T), schema markup, image optimization, sitemap architecture, AI search optimization (GEO), and strategic planning across all industries.",+ "version": "1.6.0",+ "description": "Comprehensive SEO analysis skill for Claude Code. Covers technical SEO, content quality (E-E-A-T), schema markup, image optimization, sitemap architecture, AI search optimization (GEO), local SEO (GBP, citations, reviews, map pack), and strategic planning across all industries.","author": "AgriciDaniel","license": "MIT","homepage": "https://github.com/AgriciDaniel/claude-seo",@@ -20,6 +20,7 @@"skills/seo-programmatic/SKILL.md","skills/seo-competitor-pages/SKILL.md","skills/seo-hreflang/SKILL.md",+ "skills/seo-local/SKILL.md","extensions/dataforseo/skills/seo-dataforseo/SKILL.md","extensions/banana/skills/seo-image-gen/SKILL.md"],@@ -31,6 +32,7 @@"agents/seo-performance.md","agents/seo-visual.md","agents/seo-geo.md",+ "agents/seo-local.md","extensions/dataforseo/agents/seo-dataforseo.md","extensions/banana/agents/seo-image-gen.md"]diff --git a/CLAUDE.md b/CLAUDE.mdindex ea2ee8e..b73d38a 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -4,9 +4,10 @@This repository contains **Claude SEO**, a Tier 4 Claude Code skill for comprehensiveSEO analysis across all industries. It follows the Agent Skills open standard and the-3-layer architecture (directive, orchestration, execution). 13 sub-skills, 7 parallel+3-layer architecture (directive, orchestration, execution). 13 sub-skills, 8 parallelsubagents, and an extensible reference system cover technical SEO, content quality,-schema markup, image optimization, sitemap architecture, and AI search optimization.+schema markup, image optimization, sitemap architecture, AI search optimization,+and local SEO (GBP, citations, reviews, map pack).## Architecture@@ -20,7 +21,7 @@ claude-seo/scripts/ # Python execution scriptshooks/ # Quality gate hooksschema/ # Schema.org JSON-LD templates- skills/ # 12 specialized sub-skills+ skills/ # 13 specialized sub-skillsseo-audit/SKILL.md # Full site audit with parallel agentsseo-page/SKILL.md # Deep single-page analysisseo-technical/SKILL.md # Technical SEO (9 categories)@@ -29,11 +30,12 @@ claude-seo/seo-sitemap/SKILL.md # XML sitemap analysis/generationseo-images/SKILL.md # Image optimization analysisseo-geo/SKILL.md # AI search / GEO optimization+ seo-local/SKILL.md # Local SEO (GBP, citations, reviews, map pack)seo-plan/SKILL.md # Strategic SEO planningseo-programmatic/SKILL.md # Programmatic SEO at scaleseo-competitor-pages/SKILL.md # Competitor comparison pagesseo-hreflang/SKILL.md # International SEO / hreflang- agents/ # 7 parallel subagents+ agents/ # 8 parallel subagentsseo-technical.md # Crawlability, indexability, securityseo-content.md # E-E-A-T, readability, thin contentseo-schema.md # Structured data validation@@ -41,9 +43,10 @@ claude-seo/seo-performance.md # Core Web Vitals, page speedseo-visual.md # Screenshots, mobile renderingseo-geo.md # AI crawler access, GEO, citability+ seo-local.md # GBP, NAP, citations, reviews, local schemaextensions/ # Optional add-on capabilitiesdataforseo/ # Live SEO data via DataForSEO MCP- banana/ # AI image generation via Gemini MCP+ banana/ # AI image generation via Gemini MCP (see github.com/AgriciDaniel/banana-claude)docs/ # Extended documentationARCHITECTURE.md # System design overviewCOMMANDS.md # Full command reference@@ -56,7 +59,7 @@ claude-seo/| Command | Purpose ||---------|---------|-| `/seo audit <url>` | Full site audit with 7 parallel subagents |+| `/seo audit <url>` | Full site audit with 8 parallel subagents || `/seo page <url>` | Deep single-page analysis || `/seo technical <url>` | Technical SEO audit (9 categories) || `/seo content <url>` | E-E-A-T and content quality analysis |@@ -67,6 +70,7 @@ claude-seo/| `/seo plan <type>` | Strategic SEO planning by industry || `/seo programmatic` | Programmatic SEO analysis and planning || `/seo competitor-pages` | Competitor comparison page generation |+| `/seo local <url>` | Local SEO analysis (GBP, citations, reviews, map pack) || `/seo hreflang <url>` | International SEO / hreflang audit || `/seo image-gen [use-case] <desc>` | AI image generation for SEO assets (extension) |@@ -80,9 +84,15 @@ claude-seo/- Python dependencies install into `~/.claude/skills/seo/.venv/`- Test with `python -m pytest tests/` after changes (if applicable)+## Ecosystem++Part of the Claude Code skill family:+- [Claude Banana](https://github.com/AgriciDaniel/banana-claude) -- standalone image gen (bundled as extension here)+- [Claude Blog](https://github.com/AgriciDaniel/claude-blog) -- companion blog engine, consumes SEO findings+## Key Principles1. **Progressive Disclosure**: Metadata always loaded, instructions on activation, resources on demand2. **Industry Detection**: Auto-detect SaaS, e-commerce, local, publisher, agency-3. **Parallel Execution**: Full audits spawn 7 subagents simultaneously+3. **Parallel Execution**: Full audits spawn 8 subagents simultaneously4. **Extension System**: DataForSEO MCP for live data, Banana MCP for AI image generationdiff --git a/README.md b/README.mdindex 6922d9f..152b54c 100644--- a/README.md+++ b/README.md@@ -2,7 +2,7 @@-# Claude SEO v1.5.0 -- SEO Audit Skill for Claude Code+# Claude SEO v1.6.0 -- SEO Audit Skill for Claude CodeComprehensive 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.@@ -21,6 +21,7 @@ Comprehensive SEO analysis skill for Claude Code. Covers technical SEO, on-page- [Features](#features)- [Architecture](#architecture)- [Extensions](#extensions)+- [Ecosystem](#ecosystem)- [Documentation](#documentation)- [Requirements](#requirements)- [Uninstall](#uninstall)@@ -263,6 +264,42 @@ Live SERP data, keyword research, backlinks, on-page analysis, content analysis,See [DataForSEO Extension](extensions/dataforseo/README.md) for full documentation.+### Banana (AI Image Generation)++Generate SEO images (OG previews, blog heroes, product photos, infographics) using the+[Claude Banana](https://github.com/AgriciDaniel/banana-claude) Creative Director pipeline.++```bash+# Install extension+./extensions/banana/install.sh+```++```bash+# Example commands+/seo image-gen og "Professional SaaS dashboard"+/seo image-gen hero "AI-powered content creation"+/seo image-gen batch "Product photography" 3+```++See [Banana Extension](extensions/banana/README.md) for full documentation.+Already using standalone Claude Banana? The extension reuses your existing nanobanana-mcp setup.++## Ecosystem++Claude SEO is part of a family of Claude Code skills that work together:++| Skill | What it does | How it connects |+|-------|-------------|-----------------|+| [Claude SEO](https://github.com/AgriciDaniel/claude-seo) | SEO analysis, audits, schema, GEO | Core -- analyzes sites, generates action plans |+| [Claude Blog](https://github.com/AgriciDaniel/claude-blog) | Blog writing, optimization, scoring | Companion -- write content optimized by SEO findings |+| [Claude Banana](https://github.com/AgriciDaniel/banana-claude) | AI image generation via Gemini | Shared -- generates images for SEO assets and blog posts |++**Workflow example:**+1. `/seo audit https://example.com` -- identify content gaps and image issues+2. `/blog write "target keyword"` -- create SEO-optimized blog posts+3. `/seo image-gen hero "blog topic"` -- generate hero images (banana extension)+4. `/seo geo https://example.com/blog/post` -- optimize for AI citations+## Documentation- [Installation Guide](docs/INSTALLATION.md)diff --git a/agents/seo-local.md b/agents/seo-local.mdnew file mode 100644index 0000000..176c7da--- /dev/null+++ b/agents/seo-local.md@@ -0,0 +1,76 @@+---+name: seo-local+description: Local SEO specialist. Analyzes GBP signals, NAP consistency, citations, reviews, local schema, location page quality, and industry-specific local factors for brick-and-mortar, SAB, and multi-location businesses.+tools: Read, Bash, WebFetch, Glob, Grep, Write+---++You are a Local SEO specialist. When given a URL:++1. Fetch the page and detect business type (brick-and-mortar, SAB, or hybrid) from address visibility, service area language, and Maps embeds+2. Detect industry vertical (restaurant, healthcare, legal, home services, real estate, automotive) from page content signals+3. Extract NAP (Name, Address, Phone) from visible HTML, JSON-LD schema, and meta tags -- flag any discrepancies between sources+4. Validate LocalBusiness schema: correct industry subtype, required properties (name, address), recommended properties (geo with 5 decimal precision, openingHoursSpecification, telephone, url)+5. Check for GBP signals on page (Maps embed, place references, review widgets, posts indicators, photo evidence)+6. Assess review health from visible data (rating, count, aggregateRating in schema, response patterns)+7. Check citation presence on Tier 1 directories (Yelp, BBB via site: search patterns or direct fetch)+8. Evaluate location page quality for multi-location sites (unique content %, doorway page swap test, internal linking depth)++## Local SEO Score (0-100)++| Dimension | Weight |+|-----------|--------|+| GBP Signals | 25% |+| Reviews & Reputation | 20% |+| Local On-Page SEO | 20% |+| NAP Consistency & Citations | 15% |+| Local Schema Markup | 10% |+| Local Link & Authority Signals | 10% |++## Key Detection Signals++**Business type:**+- Brick-and-mortar: visible street address, Maps embed, directions link+- SAB: no visible address, "serving [area]", "we come to you"+- Hybrid: both address and service area present++**Industry vertical:**+- Restaurant: /menu, cuisine types, reservations, food ordering+- Healthcare: insurance, NPI, "Dr.", HIPAA notice, appointments+- Legal: attorney, practice areas, bar admission, case results+- Home Services: service area, emergency, estimates, licensed/insured+- Real Estate: listings, MLS, agent bio, brokerage, open house+- Automotive: inventory, VIN, dealership, service department++## Critical Ranking Factors (Whitespark 2026)++- Primary GBP category: **#1 factor** (score: 193). Wrong category = **#1 negative factor** (score: 176)+- Review velocity: **18-day rule** -- rankings cliff if no reviews for 3 weeks (Sterling Sky)+- Dedicated service pages: **#1 local organic factor, #2 AI visibility factor**+- 3 of top 5 AI visibility factors are citation-related+- Proximity accounts for 55.2% of ranking variance (Search Atlas ML study) -- outside our control, note in report++## Industry-Specific Checks++Load `seo/references/local-schema-types.md` for:+- Correct schema subtype per vertical (e.g., `Restaurant` not `LocalBusiness`, `LegalService` not deprecated `Attorney`)+- Industry-specific citation source recommendations+- Schema pattern templates (Menu for restaurants, Physician for healthcare, etc.)++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `local_business_data` for live GBP data and `google_local_pack_serp` for real-time local pack positions.++## Output Format++Provide a structured report with:+- Local SEO Score (0-100) with dimension breakdown+- Business type detected (brick-and-mortar / SAB / hybrid)+- Industry vertical detected with industry-specific findings+- NAP consistency audit (source comparison table)+- GBP optimization checklist (detected vs missing)+- Review health snapshot (rating, count, velocity, response rate)+- Citation presence status (Tier 1 directories)+- Local schema validation (correct subtype, property completeness)+- Location page quality (if multi-location)+- Top 10 prioritized actions (Critical > High > Medium > Low)+- Limitations disclaimer (what could not be assessed without paid tools)diff --git a/extensions/banana/README.md b/extensions/banana/README.mdindex b2c9d6f..4b15e31 100644--- a/extensions/banana/README.md+++ b/extensions/banana/README.md@@ -6,6 +6,9 @@ banana Creative Director pipeline.## Prerequisites+> This extension wraps [Claude Banana](https://github.com/AgriciDaniel/banana-claude)+> for SEO-specific use cases. Install the standalone skill for general-purpose image generation.+- **Claude SEO** installed (`~/.claude/skills/seo/`)- **Node.js 18+** with npx- **Google AI API key** (free at [aistudio.google.com/apikey](https://aistudio.google.com/apikey))@@ -83,7 +86,7 @@ The agent never auto-generates images. It produces a plan for your review../extensions/banana/uninstall.sh```-This removes the skill and agent. If you also use the standalone banana skill,+This removes the skill and agent. If you also use [Claude Banana](https://github.com/AgriciDaniel/banana-claude),the MCP server config is preserved.## Troubleshootingdiff --git a/extensions/banana/skills/seo-image-gen/SKILL.md b/extensions/banana/skills/seo-image-gen/SKILL.mdindex 5522f50..33b4d67 100644--- a/extensions/banana/skills/seo-image-gen/SKILL.md+++ b/extensions/banana/skills/seo-image-gen/SKILL.md@@ -20,6 +20,9 @@ aspect ratios, and resolution defaults.## Architecture Note+This extension is built on [Claude Banana](https://github.com/AgriciDaniel/banana-claude),+the standalone AI image generation skill for Claude Code.+This skill has two components with distinct roles:- **SKILL.md** (this file): Handles interactive `/seo image-gen` commands for generating images- **Agent** (`agents/seo-image-gen.md`): Audit-only analyst spawned during `/seo audit` to assess existing OG/social images and produce a generation plan (never auto-generates)diff --git a/install.ps1 b/install.ps1index 354af25..948da9b 100644--- a/install.ps1+++ b/install.ps1@@ -3,10 +3,10 @@$ErrorActionPreference = "Stop"-Write-Host "════════════════════════════════════════" -ForegroundColor Cyan-Write-Host "║ Claude SEO - Installer ║" -ForegroundColor Cyan-Write-Host "║ Claude Code SEO Skill ║" -ForegroundColor Cyan-Write-Host "════════════════════════════════════════" -ForegroundColor Cyan+Write-Host "========================================" -ForegroundColor Cyan+Write-Host "| Claude SEO - Installer |" -ForegroundColor Cyan+Write-Host "| Claude Code SEO Skill |" -ForegroundColor Cyan+Write-Host "========================================" -ForegroundColor CyanWrite-Host ""function Resolve-Python {@@ -61,23 +61,23 @@ function Invoke-External {# Check prerequisites$python = Resolve-Pythonif ($null -eq $python) {- Write-Host "✗ Python is required but was not found (tried 'python' and 'py')." -ForegroundColor Red+ Write-Host "[x] Python is required but was not found (tried 'python' and 'py')." -ForegroundColor Redexit 1}try {$pythonVersion = & $python.Exe @($python.Args + @('--version')) 2>&1- Write-Host "✓ $pythonVersion detected" -ForegroundColor Green+ Write-Host "[+] $pythonVersion detected" -ForegroundColor Green} catch {- Write-Host "✗ Python is installed but could not be executed." -ForegroundColor Red+ Write-Host "[x] Python is installed but could not be executed." -ForegroundColor Redexit 1}try {git --version | Out-Null- Write-Host "✓ Git detected" -ForegroundColor Green+ Write-Host "[+] Git detected" -ForegroundColor Green} catch {- Write-Host "✗ Git is required but not installed." -ForegroundColor Red+ Write-Host "[x] Git is required but not installed." -ForegroundColor Redexit 1}@@ -87,7 +87,7 @@ $AgentDir = "$env:USERPROFILE\.claude\agents"$RepoUrl = "https://github.com/AgriciDaniel/claude-seo"# Pin to a specific release tag to prevent silent updates from main.# Override: $env:CLAUDE_SEO_TAG = 'main'; .\install.ps1-$RepoTag = if ($env:CLAUDE_SEO_TAG) { $env:CLAUDE_SEO_TAG } else { 'v1.4.0' }+$RepoTag = if ($env:CLAUDE_SEO_TAG) { $env:CLAUDE_SEO_TAG } else { 'v1.6.0' }# Create directoriesNew-Item -ItemType Directory -Force -Path $SkillDir | Out-Null@@ -102,14 +102,14 @@ if (Test-Path $TempDir) {$keepTemp = ($env:CLAUDE_SEO_KEEP_TEMP -eq '1')try {- Write-Host "↓ Downloading Claude SEO ($RepoTag)..." -ForegroundColor Yellow+ Write-Host ">> Downloading Claude SEO ($RepoTag)..." -ForegroundColor Yellow$clone = Invoke-External -Exe 'git' -Args @('clone','--depth','1','--branch',$RepoTag,$RepoUrl,$TempDir) -Quietif ($clone.ExitCode -ne 0) {throw "git clone failed. Output:`n$($clone.Output -join "`n")"}# Copy skill files- Write-Host "→ Installing skill files..." -ForegroundColor Yellow+ Write-Host "=> Installing skill files..." -ForegroundColor Yellow$skillSource = Join-Path $TempDir 'seo'if (-not (Test-Path $skillSource)) {$skillSource = Join-Path $TempDir 'skills\seo'@@ -146,7 +146,7 @@ try {}# Copy agents- Write-Host "→ Installing subagents..." -ForegroundColor Yellow+ Write-Host "=> Installing subagents..." -ForegroundColor Yellow$AgentsPath = Join-Path $TempDir 'agents'if (Test-Path $AgentsPath) {Copy-Item -Force (Join-Path $AgentsPath '*.md') $AgentDir -ErrorAction SilentlyContinue@@ -168,6 +168,44 @@ try {Copy-Item -Recurse -Force "$HooksPath\*" $SkillHooks}+ # Copy extensions (optional add-ons: dataforseo, banana)+ $ExtensionsPath = Join-Path $TempDir 'extensions'+ if (Test-Path $ExtensionsPath) {+ Write-Host "=> Installing extensions..." -ForegroundColor Yellow+ Get-ChildItem -Directory $ExtensionsPath | ForEach-Object {+ $extName = $_.Name+ $extDir = $_.FullName+ # Extension skills+ $extSkills = Join-Path $extDir 'skills'+ if (Test-Path $extSkills) {+ Get-ChildItem -Directory $extSkills | ForEach-Object {+ $target = "$env:USERPROFILE\.claude\skills\$($_.Name)"+ New-Item -ItemType Directory -Force -Path $target | Out-Null+ Copy-Item -Recurse -Force "$($_.FullName)\*" $target+ }+ }+ # Extension agents+ $extAgents = Join-Path $extDir 'agents'+ if (Test-Path $extAgents) {+ Copy-Item -Force (Join-Path $extAgents '*.md') $AgentDir -ErrorAction SilentlyContinue+ }+ # Extension references+ $extRefs = Join-Path $extDir 'references'+ if (Test-Path $extRefs) {+ $refTarget = "$SkillDir\extensions\$extName\references"+ New-Item -ItemType Directory -Force -Path $refTarget | Out-Null+ Copy-Item -Recurse -Force "$extRefs\*" $refTarget+ }+ # Extension scripts+ $extScripts = Join-Path $extDir 'scripts'+ if (Test-Path $extScripts) {+ $scriptTarget = "$SkillDir\extensions\$extName\scripts"+ New-Item -ItemType Directory -Force -Path $scriptTarget | Out-Null+ Copy-Item -Recurse -Force "$extScripts\*" $scriptTarget+ }+ }+ }+# Copy requirements.txt to skill dir for retry$reqFile = Join-Path $TempDir 'requirements.txt'$installedReqFile = Join-Path $SkillDir 'requirements.txt'@@ -176,7 +214,7 @@ try {}# Install Python dependencies- Write-Host "→ Installing Python dependencies..." -ForegroundColor Yellow+ Write-Host "=> Installing Python dependencies..." -ForegroundColor Yellowif (Test-Path $reqFile) {try {$pip = Invoke-External -Exe $python.Exe -Args @($python.Args + @('-m','pip','install','-q','-r',$reqFile)) -Quiet@@ -184,26 +222,26 @@ try {throw ($pip.Output -join "`n")}} catch {- Write-Host " ⚠ Could not auto-install Python packages." -ForegroundColor Yellow+ Write-Host " [!] Could not auto-install Python packages." -ForegroundColor YellowWrite-Host " Try: $($python.Exe) $($python.Args -join ' ') -m pip install -r `"$installedReqFile`"" -ForegroundColor Yellow}} else {- Write-Host " ⚠ No requirements.txt found; skipping Python dependency install." -ForegroundColor Yellow+ Write-Host " [!] No requirements.txt found; skipping Python dependency install." -ForegroundColor Yellow}# Optional: Install Playwright browsers- Write-Host "→ Installing Playwright browsers (optional, for visual analysis)..." -ForegroundColor Yellow+ Write-Host "=> Installing Playwright browsers (optional, for visual analysis)..." -ForegroundColor Yellowtry {$pw = Invoke-External -Exe $python.Exe -Args @($python.Args + @('-m','playwright','install','chromium')) -Quietif ($pw.ExitCode -ne 0) {throw ($pw.Output -join "`n")}} catch {- Write-Host " ⚠ Playwright install failed. Visual analysis will use WebFetch fallback." -ForegroundColor Yellow+ Write-Host " [!] Playwright install failed. Visual analysis will use WebFetch fallback." -ForegroundColor Yellow}} catch {Write-Host ""- Write-Host "✗ Installation failed: $($_.Exception.Message)" -ForegroundColor Red+ Write-Host "[x] Installation failed: $($_.Exception.Message)" -ForegroundColor Redif ($keepTemp -and (Test-Path $TempDir)) {Write-Host "Temp dir kept at: $TempDir" -ForegroundColor Yellow}@@ -215,7 +253,7 @@ try {}Write-Host ""-Write-Host "✓ Claude SEO installed successfully!" -ForegroundColor Green+Write-Host "[+] Claude SEO installed successfully!" -ForegroundColor GreenWrite-Host ""Write-Host "Usage:" -ForegroundColor CyanWrite-Host " 1. Start Claude Code: claude"diff --git a/install.sh b/install.shindex 630739d..257ef24 100755--- a/install.sh+++ b/install.sh@@ -10,7 +10,7 @@ main() {REPO_URL="https://github.com/AgriciDaniel/claude-seo"# Pin to a specific release tag to prevent silent updates from main.# Override: CLAUDE_SEO_TAG=main bash install.sh- REPO_TAG="${CLAUDE_SEO_TAG:-v1.4.0}"+ REPO_TAG="${CLAUDE_SEO_TAG:-v1.6.0}"echo "════════════════════════════════════════"echo "║ Claude SEO - Installer ║"@@ -86,6 +86,39 @@ main() {chmod +x "${SKILL_DIR}/hooks/"*.py 2>/dev/null || truefi+ # Copy extensions (optional add-ons: dataforseo, banana)+ if [ -d "${TEMP_DIR}/claude-seo/extensions" ]; then+ echo "=> Installing extensions..."+ for ext_dir in "${TEMP_DIR}/claude-seo/extensions"/*/; do+ [ -d "${ext_dir}" ] || continue+ ext_name=$(basename "${ext_dir}")+ # Extension skills+ if [ -d "${ext_dir}skills" ]; then+ for ext_skill in "${ext_dir}skills"/*/; do+ [ -d "${ext_skill}" ] || continue+ ext_skill_name=$(basename "${ext_skill}")+ target="${HOME}/.claude/skills/${ext_skill_name}"+ mkdir -p "${target}"+ cp -r "${ext_skill}"* "${target}/"+ done+ fi+ # Extension agents+ if [ -d "${ext_dir}agents" ]; then+ cp -r "${ext_dir}agents/"*.md "${AGENT_DIR}/" 2>/dev/null || true+ fi+ # Extension references+ if [ -d "${ext_dir}references" ]; then+ mkdir -p "${SKILL_DIR}/extensions/${ext_name}/references"+ cp -r "${ext_dir}references/"* "${SKILL_DIR}/extensions/${ext_name}/references/"+ fi+ # Extension scripts+ if [ -d "${ext_dir}scripts" ]; then+ mkdir -p "${SKILL_DIR}/extensions/${ext_name}/scripts"+ cp -r "${ext_dir}scripts/"* "${SKILL_DIR}/extensions/${ext_name}/scripts/"+ fi+ done+ fi+# Copy requirements.txt to skill dir so users can retry latercp "${TEMP_DIR}/claude-seo/requirements.txt" "${SKILL_DIR}/requirements.txt" 2>/dev/null || truediff --git a/scripts/fetch_page.py b/scripts/fetch_page.pyindex 18e28be..816fd26 100755--- a/scripts/fetch_page.py+++ b/scripts/fetch_page.py@@ -75,6 +75,7 @@ def fetch_page("content": None,"headers": {},"redirect_chain": [],+ "redirect_details": [],"error": None,}@@ -118,9 +119,13 @@ def fetch_page(result["content"] = response.textresult["headers"] = dict(response.headers)- # Track redirect chain+ # Track redirect chain with status codesif response.history:result["redirect_chain"] = [r.url for r in response.history]+ result["redirect_details"] = [+ {"url": r.url, "status_code": r.status_code}+ for r in response.history+ ]except requests.exceptions.Timeout:result["error"] = f"Request timed out after {timeout} seconds"@@ -179,7 +184,11 @@ def main():# Print metadata to stderrprint(f"\nURL: {result['url']}", file=sys.stderr)print(f"Status: {result['status_code']}", file=sys.stderr)- if result["redirect_chain"]:+ if result["redirect_details"]:+ for rd in result["redirect_details"]:+ print(f" {rd['status_code']} -> {rd['url']}", file=sys.stderr)+ print(f" {result['status_code']} -> {result['url']} (final)", file=sys.stderr)+ elif result["redirect_chain"]:print(f"Redirects: {' -> '.join(result['redirect_chain'])}", file=sys.stderr)diff --git a/seo/SKILL.md b/seo/SKILL.mdindex 746d9a1..e07472f 100644--- a/seo/SKILL.md+++ b/seo/SKILL.md@@ -19,7 +19,7 @@ argument-hint: "[command] [url]"# SEO: Universal SEO Analysis SkillComprehensive SEO analysis across all industries (SaaS, local services,-e-commerce, publishers, agencies). Orchestrates 12 specialized sub-skills and 7 subagents+e-commerce, publishers, agencies). Orchestrates 13 specialized sub-skills and 8 subagents(+ optional extension sub-skills like seo-dataforseo).## Quick Reference@@ -37,6 +37,7 @@ e-commerce, publishers, agencies). Orchestrates 12 specialized sub-skills and 7| `/seo plan <business-type>` | Strategic SEO planning || `/seo programmatic [url\|plan]` | Programmatic SEO analysis and planning || `/seo competitor-pages [url\|generate]` | Competitor comparison page generation |+| `/seo local <url>` | Local SEO analysis (GBP, citations, reviews, map pack) || `/seo hreflang [url]` | Hreflang/i18n SEO audit and generation || `/seo dataforseo [command]` | Live SEO data via DataForSEO (extension) || `/seo image-gen [use-case] <description>` | AI image generation for SEO assets (extension) |@@ -55,7 +56,7 @@ For individual commands, load the relevant sub-skill directly.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+- **Local Service**: phone number, address, service area, "serving [city]", Google Maps embed --> auto-suggest `/seo local` for deeper analysis- **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@@ -77,6 +78,8 @@ Load these on-demand as needed (do NOT load all at startup):- `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+- `references/local-seo-signals.md`: Local ranking factors, review benchmarks, citation tiers, GBP status+- `references/local-schema-types.md`: LocalBusiness subtypes, industry-specific schema and citation sources## Scoring Methodology@@ -101,7 +104,7 @@ Weighted aggregate of all categories:## Sub-Skills-This skill orchestrates 12 specialized sub-skills (+ 2 extensions):+This skill orchestrates 13 specialized sub-skills (+ 2 extensions):1. **seo-audit** -- Full website audit with parallel delegation2. **seo-page** -- Deep single-page analysis@@ -115,8 +118,9 @@ This skill orchestrates 12 specialized sub-skills (+ 2 extensions):10. **seo-programmatic** -- Programmatic SEO analysis and planning11. **seo-competitor-pages** -- Competitor comparison page generation12. **seo-hreflang** -- Hreflang/i18n SEO audit and generation-13. **seo-dataforseo** -- Live SEO data via DataForSEO MCP (extension)-14. **seo-image-gen** -- AI image generation for SEO assets via Gemini (extension)+13. **seo-local** -- Local SEO (GBP, NAP, citations, reviews, local schema, multi-location)+14. **seo-dataforseo** -- Live SEO data via DataForSEO MCP (extension)+15. **seo-image-gen** -- AI image generation for SEO assets via Gemini (extension)## Subagents@@ -128,6 +132,7 @@ For parallel analysis during audits:- `seo-performance` -- Core Web Vitals measurement- `seo-visual` -- Screenshots, mobile testing, above-fold- `seo-geo` -- AI crawler access, llms.txt, citability, brand mention signals+- `seo-local` -- GBP signals, NAP consistency, reviews, local schema, industry-specific local factors (conditional: spawned when Local Service detected)- `seo-dataforseo` -- Live SERP, keyword, backlink, local SEO data (extension, optional)- `seo-image-gen` -- SEO image audit and generation plan (extension, optional)diff --git a/seo/references/local-schema-types.md b/seo/references/local-schema-types.mdnew file mode 100644index 0000000..7003e92--- /dev/null+++ b/seo/references/local-schema-types.md@@ -0,0 +1,230 @@+<!-- Updated: 2026-03-23 -->+# Local Schema Types & Industry-Specific Patterns (March 2026)++Schema is NOT a direct ranking factor (Confirmed: John Mueller, Gary Illyes). It indirectly impacts visibility through rich results (43% CTR increase, Webstix case study), better entity understanding, and AI search features.++---++## Google-Supported LocalBusiness Subtypes++### Food & Dining++| Schema Type | Use For |+|-------------|---------|+| `Restaurant` | Full-service restaurants |+| `CafeOrCoffeeShop` | Coffee shops, cafes |+| `BarOrPub` | Bars, pubs, taverns |+| `Bakery` | Bakeries |+| `FastFoodRestaurant` | Fast food, quick service |+| `IceCreamShop` | Ice cream, frozen yogurt |+| `FoodEstablishment` | Generic food (avoid if specific subtype exists) |++### Healthcare++| Schema Type | Use For |+|-------------|---------|+| `MedicalClinic` | Clinics, urgent care (eligible for rich results) |+| `Hospital` | Hospitals (eligible for rich results) |+| `Dentist` | Dental offices (eligible for rich results) |+| `Physician` | Individual doctor pages (use with Person) |+| `Optician` | Eye care, optical shops |+| `Pharmacy` | Pharmacies |+| `MedicalBusiness` | Generic medical (avoid if specific subtype exists) |++### Legal++| Schema Type | Use For | Notes |+|-------------|---------|-------|+| `LegalService` | Law firms, legal practices | **Correct type** |+| ~~`Attorney`~~ | ~~Individual attorneys~~ | **DEPRECATED by Schema.org. Use `LegalService` + `Person`** |++### Home Services++| Schema Type | Use For |+|-------------|---------|+| `Plumber` | Plumbing services |+| `Electrician` | Electrical services |+| `HVACBusiness` | Heating, ventilation, AC |+| `RoofingContractor` | Roofing |+| `GeneralContractor` | General contracting |+| `HousePainter` | Painting services |+| `Locksmith` | Locksmith services |+| `MovingCompany` | Moving services |+| `HomeAndConstructionBusiness` | Generic (avoid if specific subtype exists) |++### Real Estate++| Schema Type | Use For | Notes |+|-------------|---------|-------|+| `RealEstateAgent` | Both agents AND brokerages | No `RealEstateBrokerage` type exists |++### Automotive++| Schema Type | Use For |+|-------------|---------|+| `AutoDealer` | Sales departments |+| `AutoRepair` | Service departments |+| `AutoPartsStore` | Parts departments |++### Other Common Local Types++`AnimalShelter`, `BeautySalon`, `ChildCare`, `DaySpa`, `DryCleaningOrLaundry`, `EmergencyService`, `EmploymentAgency`, `EntertainmentBusiness`, `FinancialService`, `FireStation`, `FurnitureStore`, `GasStation`, `GolfCourse`, `GovernmentOffice`, `HealthClub`, `Hotel`, `InsuranceAgency`, `Library`, `LodgingBusiness`, `NightClub`, `PetStore`, `PoliceStation`, `PostOffice`, `RecyclingCenter`, `ShoppingCenter`, `SkiResort`, `SportsActivityLocation`, `Store`, `TouristInformationCenter`, `TravelAgency`, `VeterinaryCare`++---++## Required vs Recommended Properties++Per Google Developers documentation (updated December 10, 2025, Confirmed).++### Required (Minimum)++| Property | Type | Notes |+|----------|------|-------|+| `name` | Text | Business name, must match GBP exactly |+| `address` | PostalAddress | With streetAddress, addressLocality, addressRegion, postalCode |++### Recommended++| Property | Type | Notes |+|----------|------|-------|+| `aggregateRating` | AggregateRating | Rating summary with reviewCount |+| `geo` | GeoCoordinates | **Minimum 5 decimal places** (Confirmed, ~1.1m accuracy) |+| `openingHoursSpecification` | OpeningHoursSpecification | Standard, late-night, 24h, seasonal |+| `telephone` | Text | Must match GBP and page NAP |+| `url` | URL | Canonical URL for this location |+| `priceRange` | Text | Under 100 characters |+| `image` | URL | Business photo |+| `review` | Review | Individual reviews |+| `department` | LocalBusiness | For nested departments (auto dealers) |+| `menu` | URL or Menu | Restaurants only |+| `servesCuisine` | Text | Restaurants only |++### SAB-Specific++| Property | Type | Notes |+|----------|------|-------|+| `areaServed` | Place/GeoShape | NOT in Google's official recommended list but supported by Schema.org. Industry-recommended for SABs. Use named cities with `sameAs` links to Wikipedia/Wikidata. |++---++## Industry-Specific Schema Patterns++### Restaurant+```+Restaurant (or specific subtype)+ + Menu > MenuSection > MenuItem (name, price, nutrition, suitableForDiet)+ + ReserveAction (booking capabilities)+ + OrderAction (takeout/delivery)+ + servesCuisine, acceptsReservations+```+Note: Google Food Ordering (GFO) direct checkout discontinued June 2024. "Order Online" button now redirects to third-party platforms.++### Healthcare+```+MedicalClinic (or Hospital, Dentist)+ + Physician pages: Person + medicalSpecialty + hospitalAffiliation + hasCredential+ + MedicalSpecialty (helps match "hip replacement surgery" to relevant pages)+ + sameAs: link to NPI Registry entry and medical board page+```+**HIPAA constraint**: Cannot confirm/deny reviewer is a patient in review responses. Fine precedent: $30,000 (Manasa Health Center, 2023).++### Legal+```+LegalService (NOT Attorney -- deprecated)+ + Person on attorney bio pages: jobTitle, worksFor, alumniOf, hasCredential (bar admissions)+ + makesOffer > Service (one per practice area)+ + Practitioner GBP: unique phone per attorney, not sole lawyer at firm+```+Note: Reviews follow practitioner listing when attorney changes firms.++### Home Services+```+Specific subtype (Plumber, Electrician, etc.)+ + areaServed: named cities with sameAs to Wikipedia/Wikidata+ + Service on individual service pages, linked via provider+ + hasOfferCatalog for service listings+```+**SAB note**: Service area in GBP does NOT currently impact rankings -- rankings based on verification address (Sterling Sky, March 2025).++### Real Estate+```+RealEstateAgent (for both agent and brokerage)+ + Person on agent pages: memberOf (brokerage), credentials+ + RealEstateListing + SingleFamilyResidence/Apartment + Offer (pricing)+ + Event for open houses with organizing agent+```+Note: No `RealEstateBrokerage` type exists on Schema.org.++### Automotive+```+AutoDealer (sales)+ + Car/Vehicle: VIN, mileage, fuelType, vehicleTransmission+ + Offer: price, priceCurrency, availability+ + Separate GBP: AutoRepair (service), AutoPartsStore (parts)+```+**VehicleListing deprecated June 12, 2025** (Confirmed). Use Car + Offer instead. Feed-based Vehicle Listings via Google Merchant Center still functional.++---++## Industry-Specific Citation Sources++### Restaurant+Yelp, TripAdvisor (1B+ reviews), OpenTable (DA + bookings), DoorDash, UberEats, Grubhub, Foursquare (powers Apple Maps, Uber)++### Healthcare+Healthgrades (50% of Americans who see a doctor visit), Zocdoc (booking + lead gen), WebMD physician directory (high DA), Vitals, Doximity (80% of US physicians), NPI Registry (entity verification source of truth), state medical board directories++### Legal+FindLaw (DA~91, dofollow), Martindale-Hubbell (DA~84, peer review since 1868), Avvo (1-10 ratings, auto-created from bar data), Justia (DA~70, free profiles), Super Lawyers (top 5%, selection-based), state bar directories (entity verification)++Note: Internet Brands (KKR) owns Avvo + Martindale + Lawyers.com + Nolo. Thomson Reuters owns FindLaw + Super Lawyers + LawInfo.++### Home Services+Thumbtack ($400M revenue 2024, integrations with ChatGPT/Alexa/Zillow), BBB, Nextdoor, Yelp. **Declining**: Angi (revenue -30% from 2022 peak), Porch (pivoted to insurance), Houzz (pivoted to SaaS)++### Real Estate+Zillow (44% of all RE search traffic, integrated into ChatGPT Oct 2025), Homes.com (#2, overtook Realtor.com, 100M monthly visitors), Realtor.com, Redfin (acquired by Rocket Companies Mar 2025), local MLS sites++### Automotive+Cars.com, AutoTrader, CarGurus, DealerRater (reviews syndicate to Cars.com + OEM sites, supports salesperson ratings), Edmunds, Kelley Blue Book (pricing authority), OEM manufacturer dealer locators (entity verification)++---++## Multi-Location Schema Pattern++```json+// Homepage: Organization with branchOf references+{+ "@context": "https://schema.org",+ "@type": "Organization",+ "@id": "https://example.com/#org",+ "name": "Brand Name",+ "url": "https://example.com"+}++// Each location page: individual LocalBusiness+{+ "@context": "https://schema.org",+ "@type": "Dentist",+ "@id": "https://example.com/locations/downtown/#location",+ "name": "Brand Name - Downtown",+ "branchOf": { "@id": "https://example.com/#org" },+ "address": { ... },+ "geo": { "latitude": "40.71234", "longitude": "-74.00567" },+ "telephone": "+1-555-123-4567",+ "openingHoursSpecification": [ ... ]+}+```++Use `@id` for unique identifiers per location. Subdirectory structure recommended: `domain.com/locations/city-name/` (subdirectory consolidates link equity better than subdomain, Bruce Clay study: 50%+ traffic lift).++---++## Deprecated/Invalid Local Schema++| Type | Status | Date | Use Instead |+|------|--------|------|-------------|+| `Attorney` | Deprecated by Schema.org | -- | `LegalService` + `Person` |+| `VehicleListing` | Rich results removed | June 12, 2025 | `Car` + `Offer` |+| `HowTo` | Rich results removed | September 2023 | None |+| `SpecialAnnouncement` | Deprecated | July 31, 2025 | None |diff --git a/seo/references/local-seo-signals.md b/seo/references/local-seo-signals.mdnew file mode 100644index 0000000..36d84c9--- /dev/null+++ b/seo/references/local-seo-signals.md@@ -0,0 +1,218 @@+<!-- Updated: 2026-03-23 -->+# Local SEO Ranking Signals & Benchmarks (March 2026)++## Source Key++- **Confirmed**: Google official documentation or employee statements+- **Study**: Data-driven industry research from recognized firms+- **Consensus**: Practitioner agreement without controlled testing+- **Caution**: Single-source or unverified claims++---++## Whitespark 2026 Local Search Ranking Factors++Published November 6, 2025. 47 experts surveyed across 187 factors. (Study)++### Local Pack/Maps Factor Groups++| Factor Group | Weight | Trend |+|---|---|---|+| GBP Signals | **32%** | Stable (top group) |+| Review Signals | **~20%** | Up from ~16% in 2023 |+| On-Page Signals | ~15-19% | Slight decline |+| Link Signals | Declining | Continued multi-year drop |+| Behavioral/Engagement | Rising | Clicks, calls, direction requests |+| Citation Signals | Lower for Pack | But 3 of top 5 AI visibility factors are citation-related |+| Social Signals | New entry | First time measured |+| AI Search Signals | New category | Added for the first time |++### Top 15 Individual Local Pack Factors++1. Primary GBP category (score: 193)+2. Keywords in GBP business title (score: 181)+3. Proximity of address to search point (score: 176)+4. Verified GBP+5. Business open at time of search (Sterling Sky controlled study)+6. High numerical Google ratings+7. Quantity of native Google reviews+8. Additional GBP categories+9. Review recency/velocity+10. Dedicated service pages+11. Domain authority+12. NAP consistency+13. Spam listing removal+14. Quality backlinks+15. Review sentiment++### Top Negative Factors++1. Incorrect primary category (score: 176) -- single worst mistake+2. Duplicate profiles at same address (score: 142)++---++## Search Atlas ML Study (August 2025)++XGBoost regression model, explains 92-93% of variance. (Study)++| Factor | Variance Explained |+|--------|-------------------|+| Proximity | **55.2%** |+| Review Count | **19.2%** |+| Domain Power | 5.9% |+| Semantic Relevance in Reviews | 5.3% |+| All others | <5% each |++---++## Review Benchmarks++### Sterling Sky Findings (2025, Study)++- **Magic 10 threshold**: Significant ranking boost at 10 reviews. 9-to-10 = noticeable increase. 10-to-11 = no similar bump.+- **18-Day Rule**: Rankings "fall off a cliff" if no new reviews for 3 weeks. Velocity > volume.++### BrightLocal LCRS 2026 (February 2026, Study)++| Metric | Value |+|--------|-------|+| Only care about reviews in last 3 months | 74% |+| "Always" read reviews | 41% (up from 29% in 2025) |+| Only use 4.5+ stars | 31% (up from 17% in 2025) |+| Only use 4+ stars | 68% (up from 55% in 2025) |+| Consumers use average review sites | 6 platforms |++### Review Platform Usage (BrightLocal 2026)++| Platform | Usage | Trend |+|----------|-------|-------|+| Google | 71% | Down from 83% in 2025 |+| Instagram | 37% | Rising |+| TikTok | 29% | Rising |+| Apple Maps | 27% | Up from 14% in 2025 |++### Enforcement++- Google blocked/removed **240M+ policy-violating reviews** in 2024 (Confirmed, 40% increase over 2023)+- Review deletion rates up **600%+** Jan-Jul 2025; 38% of deleted were 5-star (Study, GMBapi.com)+- FTC Consumer Review Rule effective Oct 21, 2024: penalties up to **$53,088/violation** (Confirmed, US law)+- **Review gating prohibited** by both Google (fake engagement policy) and FTC (Confirmed)++---++## Citation Source Tiers++### Tier 1 (Universal, All Industries)++| Source | Why It Matters |+|--------|---------------|+| Google Business Profile | Primary local signal source |+| Apple Business Connect | Usage nearly doubled, from 14% to 27% (BrightLocal 2026). 1B+ iPhone users |+| Bing Places | Overhauled Oct 2025. Powers ChatGPT, Copilot, Alexa. 900M queries/day |+| Facebook | Social + citation signal |+| Yelp | Still ranks on page 1 for many local queries |++### Tier 2 (Broad Directories)++BBB, YellowPages, Manta, Superpages, Foursquare, Nextdoor++### Tier 3 (Data Aggregators)++| Aggregator | Partnerships |+|-----------|-------------|+| Data Axle (formerly Infogroup) | Google, Bing, Apple |+| Foursquare | Merged with Factual. Powers Uber, Nextdoor, Yahoo, ChatGPT. 500M+ devices |+| Neustar/TransUnion Digital | 80+ platform partnerships including Bing, Apple |++### Industry-specific directories: see `local-schema-types.md`++---++## GBP Feature Status (March 2026)++### Deprecated/Removed++| Feature | Date | Replacement |+|---------|------|------------|+| Q&A section | Dec 3, 2025 | Ask Maps (Gemini AI) |+| GBP Messaging/Chat | Removed | None |+| Call History/Tracking | Jul 31, 2024 | None |+| GBP-hosted websites | Discontinued | Redirect to social/website |+| School reviews/ratings | Apr 30, 2025 | None |++### Active Features++Posts (with scheduling), Services menu, Attributes (including identity: Women-led, Eco-friendly), Photos/Video, Local Lists (Local Gems, Trending, Top List), AI-generated "Suggest Description", Google Verified badge (replaced Guaranteed/Screened Oct 2025)++### Key GBP Insights++- **Posts**: No direct ranking impact (WebFX empirical testing). Can trigger Post Justifications. (Study)+- **Photos**: "Likely a ranking benefit adding some vs none, but not continued benefit adding more" (WebFX). Geotagging has NO impact. 45% more direction requests with photos. (Study/Confirmed mix)+- **Attributes**: Identity attributes have minor, targeted impact for attribute-specific searches only (WebFX/Sterling Sky). General attributes are filter/informational, NOT direct ranking factors. (Study)++---++## Algorithm Updates Affecting Local (2025-2026)++| Update | Date | Impact | Source |+|--------|------|--------|--------|+| March 2025 Core | Mar 13-27 | Emphasized E-E-A-T, penalized thin/AI content | Confirmed |+| June 2025 Core | Jun-Jul 17 | General quality focus | Confirmed |+| August 2025 Spam | Aug 26-Sep 22 | Targeted keyword stuffing, fake reviews, PBNs. Local Pack often stable | Confirmed |+| December 2025 Core | Dec 11-29 | Enhanced E-E-A-T, behavioral signal weighting | Confirmed |+| February 2026 Discover Core | Feb 5-27 | Discover-only; favored local expertise | Confirmed |+| "Diversity Update" | 2025 | Harder to rank in both map pack AND organic simultaneously | Study (Sterling Sky) |++---++## Voice Search & Assistants++- 58% of voice searches are for local business information (Study, BusinessDasher)+- Voice queries typically 4-7 words, phrased as complete questions (Consensus)+- 80%+ of Google Assistant voice answers come from top 3 search results (Study)++| Voice Assistant | Primary Data Source |+|-----------------|-------------------|+| Google Assistant | GBP (transitioning to Gemini) |+| Siri (Apple) | Apple Business Connect + Yelp |+| Alexa (Amazon) | Bing Places + Yelp + aggregators |++---++## AI Search Impact on Local++| Metric | Value | Source |+|--------|-------|--------|+| ChatGPT/AI for local recommendations | 45% of users (up from 6%) | BrightLocal LCRS 2026 |+| ChatGPT conversion rate | 15.9% | Seer Interactive |+| Google organic conversion rate | 1.76% | Seer Interactive |+| AI Overviews on local searches | Up to 68% | Whitespark Q2 2025 |+| AI Overview CTR reduction for pos 1 | -58% | Ahrefs, Feb 2026 |+| Brand cited in AIO = organic CTR boost | +35% | Seer Interactive |+| ChatGPT traffic vs Google for local | ~2% | Sterling Sky, Feb 2026 |+| Top 5 AI visibility factors: 3 are citation-related | -- | Whitespark 2026 |++**ChatGPT sources**: Bing web index (primary), Yelp, TripAdvisor, BBB, Reddit. Does NOT access GBP directly. (Study, Search Engine Land)++**Perplexity sources**: Authority-first. 40% more from high-authority sites. Averages 21.87 citations per question. (Study, Qwairy)++---++## Local Pack Structure++- Standard: **3 results** (universal)+- New: Curated Local Lists (Local Gems, Trending) around position 4 (SOCi, Nov 2025)+- AI-powered local packs (mobile US): Only 1-2 businesses, 32% fewer businesses shown (Sterling Sky)+- Local pack ads grew from ~1% to **22%** of tracked mobile keywords in 12 months (Sterling Sky/Places Scout)+- Zero-click rate for local-intent searches: up to **78%** on mobile (Similarweb)++---++## Proximity & Search Behavior++- 46% of all Google searches seek local information (Study)+- 76% of mobile "near me" searches lead to visit within 24 hours (Confirmed, Google)+- 900% increase in "near me" searches over two years (Confirmed/Study, Google)+- Proximity varies: urban 1-2 miles, rural 5-10+ miles, specialty/niche = wider (Consensus)+- Google uses dynamic weighting per query: "emergency plumber near me" = proximity-dominant; "best plastic surgeon" = prominence-dominant (Consensus)diff --git a/skills/seo-audit/SKILL.md b/skills/seo-audit/SKILL.mdindex f8b95e2..6d15de7 100644--- a/skills/seo-audit/SKILL.md+++ b/skills/seo-audit/SKILL.md@@ -31,6 +31,7 @@ allowed-tools:- `seo-performance` -- LCP, INP, CLS measurements- `seo-visual` -- screenshots, mobile testing, above-fold analysis- `seo-geo` -- AI crawler access, llms.txt, citability, brand mention signals+ - `seo-local` -- GBP signals, NAP consistency, reviews, local schema, industry-specific local factors (spawn when Local Service industry detected: brick-and-mortar, SAB, or hybrid business type)5. **Score** -- aggregate into SEO Health Score (0-100)6. **Report** -- generate prioritized action plandiff --git a/skills/seo-local/SKILL.md b/skills/seo-local/SKILL.mdnew file mode 100644index 0000000..24a08ef--- /dev/null+++ b/skills/seo-local/SKILL.md@@ -0,0 +1,315 @@+---+name: seo-local+description: >+ Local SEO analysis covering Google Business Profile optimization, NAP+ consistency, citation health, review signals, local schema markup,+ location page quality, multi-location SEO, and industry-specific+ recommendations. Detects business type (brick-and-mortar, SAB, hybrid)+ and industry vertical (restaurant, healthcare, legal, home services,+ real estate, automotive). Use when user says "local SEO", "Google+ Business Profile", "GBP", "map pack", "local pack", "citations",+ "NAP consistency", "local rankings", "service area", "multi-location",+ or "local search".+user-invokable: true+argument-hint: "[url]"+allowed-tools:+ - Read+ - Grep+ - Glob+ - Bash+ - WebFetch+ - Write+---++# Local SEO Analysis (March 2026)++## Key Statistics++| Metric | Value | Source |+|--------|-------|--------|+| GBP signals share of local pack weight | 32% | Whitespark 2026 |+| Proximity share of ranking variance | 55.2% | Search Atlas ML study |+| Review signals share (up from 16%) | ~20% | Whitespark 2026 |+| Google searches seeking local info | 46% | Industry data |+| Mobile "near me" searches leading to visit in 24h | 76% | Google confirmed |+| ChatGPT/AI usage for local recommendations | 45% (up from 6%) | BrightLocal LCRS 2026 |+| ChatGPT local conversion rate | 15.9% | Seer Interactive |+| Google organic local conversion rate | 1.76% | Seer Interactive |+| Local pack ads growth (Jan 2025 to Jan 2026) | 1% to 22% | Sterling Sky |++---++## Business Type Detection++Detect from page signals before analysis. This determines which checks apply.++### Brick-and-Mortar+- Physical street address visible in page content or footer+- Google Maps embed with pin/directions+- "Visit us at", "Located at", "Come see us"+- Structured address in LocalBusiness schema++### Service Area Business (SAB)+- No visible physical address+- Service area mentions: "serving [city/region]", "service area includes"+- "We come to you", "On-site service", "Mobile [service]"+- `areaServed` in schema without `address.streetAddress`++### Hybrid+- Both physical address AND service area language present+- "Visit our showroom" combined with "We also serve [areas]"++**Impact on checks**: SABs skip embedded map verification and physical address consistency. Brick-and-mortar gets full NAP + map checks.++---++## Industry Vertical Detection++Detect from page signals and GBP category patterns. Routes to industry-specific checks from `references/local-schema-types.md`.++| Vertical | Detection Signals |+|----------|------------------|+| **Restaurant** | /menu, menu items, reservations, cuisine types, food ordering, "dine-in", "takeout" |+| **Healthcare** | insurance accepted, patients, appointments, NPI, medical terms, "Dr.", HIPAA notice |+| **Legal** | attorney, lawyer, practice areas, bar admission, case results, "free consultation" |+| **Home Services** | service area, emergency service, "free estimate", licensed/insured/bonded, "24/7" |+| **Real Estate** | listings, MLS, properties for sale/rent, agent bio, brokerage, "open house" |+| **Automotive** | inventory, VIN, test drive, dealership, service department, "new/used/certified" |++If no vertical detected, use generic `LocalBusiness` analysis path.++---++## Analysis Dimensions++### 1. GBP Signals (25%)++Primary category is the **single most important local pack factor** (Whitespark #1, score: 193). Incorrect primary category is the **#1 negative factor** (score: 176).++**Check for:**+- GBP embed or reference detectable on page (Maps iframe, place ID, reviews widget)+- Primary category appropriateness (infer from page content vs visible GBP data)+- Evidence of secondary categories (optimal: 4 additional per BrightLocal)+- GBP posts presence (no direct ranking impact per WebFX, but triggers Post Justifications)+- Photos/video evidence (45% more direction requests with photos, Agency Jet)+- Q&A content (deprecated Dec 2025, replaced by Ask Maps Gemini AI -- recommend recreating Q&A content as FAQ sections on website; GBP removed existing Q&A with no export available)+- Google Verified badge eligibility (replaced Guaranteed/Screened in Oct 2025)+- GBP link URL strategy: do NOT link to strongest website page (Sterling Sky Diversity Update -- risks suppressing organic rankings)+- Business hours visibility on page (businesses open at search time rank higher, factor #5)++**Scoring guide:**+- Full: GBP embed present, category signals align, posts active, photos present+- Partial: Some GBP signals present but incomplete+- Low: No visible GBP integration on website++### 2. Reviews & Reputation (20%)++Review velocity matters more than total count. The **18-day rule** (Sterling Sky): rankings cliff if no new reviews for 3 weeks.++**Check for:**+- Total Google review count visible on page or schema (magic threshold: 10, Sterling Sky)+- Star rating (31% of consumers only use 4.5+, 68% only use 4+, BrightLocal 2026)+- Review recency indicators (74% only care about reviews in last 3 months)+- `aggregateRating` in schema (ratingValue, reviewCount, bestRating)+- Third-party review presence (consumers use average of 6 review sites, BrightLocal 2026)+- Owner response patterns (88% would use business that responds, BrightLocal)+- Review gating detection: any pre-screening of satisfaction before directing to review platform is prohibited by Google (fake engagement policy) and FTC ($53,088/violation)++**Industry-specific:**+- Healthcare: HIPAA prohibits confirming/denying reviewer is a patient in responses+- Legal: attorney-client privilege considerations in review responses++**Scoring guide:**+- Full: 10+ reviews, 4.5+ stars, recent activity, owner responses, multi-platform presence+- Partial: Some reviews but gaps in recency, rating, or response rate+- Low: <10 reviews, no recent activity, no responses, single platform only++### 3. Local On-Page SEO (20%)++Dedicated service pages = **#1 local organic factor AND #2 AI visibility factor** (Whitespark 2026).++**Check for:**+- Title tag contains city/service keywords+- H1 tag with local intent (city + service)+- NAP (Name, Address, Phone) visible in page HTML (footer, contact section, header)+- Dedicated service pages (one page per core service)+- Location page quality for multi-location sites:+ - **>60-70% unique content** minimum (industry consensus, no Google-confirmed threshold)+ - **Swap test**: if you can swap the city name and content still makes sense, it's a doorway page (RicketyRoo method). HVAC company lost 80% rankings + 63% traffic after March 2024 Core Update for this pattern+ - Local photos, area-specific testimonials, local FAQs+- Embedded Google Map (geographic signal reinforcement, not direct ranking factor -- lazy-load to mitigate speed impact)+- Click-to-call button (`tel:` link) and contact form above the fold+- Internal linking architecture: hub-and-spoke, every critical page within 3 clicks of homepage+- 2-5 contextual internal links per 1,000 words with descriptive anchor text++**Multi-location specific:**+- Store locator with individual crawlable URLs (SSR/SSG preferred over CSR)+- Subdirectory structure: `domain.com/locations/city-name/` (subdirectories consolidate link equity better, Bruce Clay: 50%+ traffic lift)+- Each location page has unique LocalBusiness schema with `@id`++**Scoring guide:**+- Full: City in title + H1, NAP visible, dedicated service pages, no doorway patterns, good internal linking+- Partial: Some local signals but missing service pages or doorway page risk+- Low: Generic title/H1, NAP not visible, thin location pages++### 4. NAP Consistency & Citations (15%)++Citations declining for traditional pack rankings but **3 of top 5 AI visibility factors are citation-related** (Whitespark 2026). Google's July 2025 documentation update removed "directories" from prominence definition.++**Check for:**+- NAP extraction: compare Name, Address, Phone from:+ 1. Visible page HTML (footer, contact page)+ 2. LocalBusiness JSON-LD schema+ 3. Any visible GBP data+ - Flag any discrepancies between these three sources+- Citation presence on Tier 1 directories (check via WebFetch or site: search patterns):+ - Google Business Profile signals on page+ - Yelp: `site:yelp.com "Business Name"`+ - BBB: `site:bbb.org "Business Name"`+ - Facebook business page references+- Apple Business Connect awareness (usage doubled to 27%, BrightLocal 2026 -- recommend claiming)+- Bing Places awareness (powers ChatGPT, Copilot, Alexa -- recommend claiming and optimizing)+- Industry-specific directory recommendations: load `references/local-schema-types.md` for per-vertical citation sources+- Data aggregator awareness: Data Axle, Foursquare, Neustar/TransUnion (recommend submission for downstream distribution)++**Scoring guide:**+- Full: Consistent NAP across page/schema, Tier 1 citations detected, industry directories present+- Partial: NAP present but inconsistencies, some citations missing+- Low: NAP discrepancies, no detectable citations, no schema address++### 5. Local Schema Markup (10%)++Schema is NOT a direct ranking factor (John Mueller confirmed). But enables rich results (43% CTR increase, Webstix case study) and helps AI systems parse business information.++**Check for:**+- LocalBusiness schema presence (extract JSON-LD blocks)+- Required properties: `name`, `address` with PostalAddress sub-properties+- Recommended properties: `geo` (minimum 5 decimal places, Confirmed), `openingHoursSpecification`, `telephone`, `url`, `priceRange` (<100 chars), `image`, `aggregateRating`+- **Correct subtype for industry** -- load `references/local-schema-types.md`:+ - Restaurant using `Restaurant` not generic `LocalBusiness`+ - Legal using `LegalService` not deprecated `Attorney`+ - Auto dealer using `AutoDealer` not deprecated `VehicleListing`+ - Healthcare using `MedicalClinic`/`Hospital`/`Dentist` not generic `MedicalBusiness`+- SAB-specific: `areaServed` with named cities (recommended, not in Google's official list but Schema.org supported)+- Multi-location: each location page has own LocalBusiness with unique `@id`, linked via `branchOf` to Organization on homepage+- Industry-specific schema patterns (per `references/local-schema-types.md`):+ - Restaurant: Menu + MenuSection + MenuItem + ReserveAction+ - Healthcare: Physician (Person) + MedicalSpecialty + sameAs to NPI+ - Legal: LegalService + Person + Service (practice areas)+ - Home Services: Subtype + areaServed + Service+ - Real Estate: RealEstateAgent + Person + RealEstateListing+ - Automotive: AutoDealer + Car + Offer (separate dept schemas)++**Scoring guide:**+- Full: Correct subtype, all recommended properties, industry-specific patterns, valid JSON-LD+- Partial: LocalBusiness present but generic type or missing recommended properties+- Low: No local schema, or schema with errors/placeholder content++### 6. Local Link & Authority Signals (10%)++Links declining for local pack but remain **~26% of local organic ranking** (Whitespark 2026, #2 factor group). "Best of" list placements = **#1 AI visibility citation factor**.++**Check for:**+- Local backlink indicators detectable from page:+ - Chamber of Commerce mentions or links (high Trust Flow, ~80% more consumer visits, GlueUp)+ - BBB accreditation/badge (Google uses BBB for business verification)+ - Local news/press mentions+ - Community involvement signals (sponsorships, local events, partnerships)+- "Best of" list presence (top AI visibility factor per Whitespark 2026)+- Digital PR signals: 66.2% of PR practitioners now track AI citations as KPI (BuzzStream 2026)+- Brand mentions correlate **3x more strongly** with AI visibility than traditional backlinks (Ahrefs: 0.664 vs 0.218 correlation)+- Link velocity benchmark: 5-10 quality local links/month for small businesses (consensus)++**Scoring guide:**+- Full: Local authority signals visible (chamber, BBB, press), community involvement evident+- Partial: Some authority signals but limited local link indicators+- Low: No detectable local authority signals++---++## AI Search Impact on Local++**Do not duplicate seo-geo analysis.** Provide local-specific AI context and recommend `/seo geo <url>` for full analysis.++Key local AI facts:+- AI Overviews appear on up to 68% of local searches (Whitespark Q2 2025)+- ChatGPT converts at 15.9% vs Google organic at 1.76% (Seer Interactive)+- 3 of top 5 AI visibility factors are citation-related (Whitespark 2026)+- ChatGPT does NOT access GBP directly -- sources from Bing index, Yelp, TripAdvisor, BBB, Reddit+- Bing Places is critical: powers ChatGPT, Copilot, Alexa+- AI-powered local packs (mobile US) show only 1-2 businesses, 32% fewer shown (Sterling Sky)++**Recommendation**: Run `/seo geo <url>` for comprehensive AI search visibility analysis including citability scoring, llms.txt check, and brand mention audit.++---++## Reference Files++Load on-demand as needed:+- `references/local-seo-signals.md`: Ranking factors, review benchmarks, citation tiers, GBP feature status, algorithm updates+- `references/local-schema-types.md`: LocalBusiness subtypes by industry, schema patterns, citation sources per vertical++---++## Output++Generate `LOCAL-SEO-ANALYSIS-{domain}.md` with:++1. **Local SEO Score: XX/100** with dimension breakdown table+2. **Business type**: Brick-and-mortar / SAB / Hybrid+3. **Industry vertical detected** + industry-specific findings+4. **GBP optimization checklist** (detected signals vs missing)+5. **Review health snapshot** (rating, count, velocity indicators, response patterns)+6. **NAP consistency audit** (page vs schema discrepancies, cross-source comparison)+7. **Citation presence check** (Tier 1 directory status)+8. **Local schema status** (present/missing/malformed + ready-to-use fix)+9. **Location page quality** (if multi-location: unique content %, doorway risk, store locator)+10. **Top 10 prioritized actions** (Critical > High > Medium > Low)+11. **Limitations disclaimer**: What this analysis could NOT assess (geo-grid ranking, Domain Authority, comprehensive backlinks, GBP Insights data, real-time local pack position) and which paid tools can fill those gaps++---++## Quick Wins++1. Claim and optimize Apple Business Connect (usage doubled to 27%)+2. Claim and optimize Bing Places (powers ChatGPT, Copilot, Alexa)+3. Fix any NAP discrepancies between page, schema, and GBP+4. Add LocalBusiness schema with correct industry subtype+5. Add `geo` coordinates with 5+ decimal precision+6. Ensure phone number uses `tel:` link for click-to-call+7. Add city + service keyword to title tag and H1++## Medium Effort++1. Create dedicated page for each core service (Whitespark: #1 local organic factor)+2. Build review generation strategy maintaining 18-day minimum cadence+3. Submit to three data aggregators (Data Axle, Foursquare, Neustar/TransUnion) for downstream distribution+4. Claim industry-specific directory listings (per vertical recommendations)+5. Add industry-specific schema patterns (Menu for restaurants, Physician for healthcare, etc.)+6. Implement hub-and-spoke internal linking for service/location pages++## High Impact++1. Build local digital PR strategy targeting "best of" lists (#1 AI visibility factor)+2. Develop unique, non-swappable content for each location page (>60% unique)+3. Establish presence on platforms ChatGPT sources from (Yelp, TripAdvisor, BBB, Reddit)+4. Pursue Chamber of Commerce and BBB membership (authority + verification signals)+5. Create community involvement content (sponsorships, local events, partnerships)++---++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `local_business_data` for live GBP data extraction, `google_local_pack_serp` for real-time local pack positions, and `business_listings` for automated citation auditing across directories.++---++## Error Handling++| Scenario | Action |+|----------|--------|+| URL unreachable (DNS failure, connection refused) | Report the error clearly. Do not guess site content. Suggest the user verify the URL and try again. |+| No local signals detected on page | Report that no local business indicators were found. Suggest the user confirm this is a local business and provide the GBP listing URL if available. |+| NAP not found in page HTML | Check schema and meta tags. If still absent, flag as Critical issue. Recommend adding visible NAP to footer and contact page. |+| Industry vertical unclear | Present the top two detected verticals with supporting signals. Ask the user to confirm before applying industry-specific recommendations. |+| Multi-location with 50+ location pages | Apply the quality gates from seo orchestrator: WARNING at 30+ pages (enforce 60%+ unique), HARD STOP at 50+ pages (require user justification before continuing). |