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.1 - plugin marketplace compliance and structural refactor
Daniel609eeff7f6e8
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonnew file mode 100644index 0000000..93a87c4--- /dev/null+++ b/.claude-plugin/marketplace.json@@ -0,0 +1,24 @@+{+ "name": "claude-seo-marketplace",+ "owner": {+ "name": "AgriciDaniel",+ "email": "[email protected]"+ },+ "metadata": {+ "description": "SEO analysis tools for Claude Code",+ "version": "1.0.0"+ },+ "plugins": [+ {+ "name": "claude-seo",+ "source": "./",+ "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, maps intelligence, and strategic planning across all industries.",+ "homepage": "https://github.com/AgriciDaniel/claude-seo",+ "repository": "https://github.com/AgriciDaniel/claude-seo",+ "license": "MIT",+ "keywords": ["seo", "technical-seo", "e-e-a-t", "schema-markup", "local-seo", "geo", "ai-search"],+ "category": "seo",+ "tags": ["seo", "audit", "technical", "content", "schema", "local", "geo"]+ }+ ]+}diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex f7ebec7..c526474 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,39 +1,26 @@{"name": "claude-seo",- "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",+ "version": "1.6.1",+ "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), maps intelligence, and strategic planning across all industries.",+ "author": {+ "name": "AgriciDaniel",+ "url": "https://github.com/AgriciDaniel"+ },"license": "MIT","homepage": "https://github.com/AgriciDaniel/claude-seo",- "entry_point": "seo/SKILL.md",- "skills": [- "seo/SKILL.md",- "skills/seo-audit/SKILL.md",- "skills/seo-page/SKILL.md",- "skills/seo-technical/SKILL.md",- "skills/seo-content/SKILL.md",- "skills/seo-schema/SKILL.md",- "skills/seo-sitemap/SKILL.md",- "skills/seo-images/SKILL.md",- "skills/seo-geo/SKILL.md",- "skills/seo-plan/SKILL.md",- "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"- ],- "agents": [- "agents/seo-technical.md",- "agents/seo-content.md",- "agents/seo-schema.md",- "agents/seo-sitemap.md",- "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"+ "repository": "https://github.com/AgriciDaniel/claude-seo",+ "keywords": [+ "seo",+ "technical-seo",+ "content-quality",+ "e-e-a-t",+ "schema-markup",+ "core-web-vitals",+ "local-seo",+ "geo",+ "ai-search",+ "sitemap",+ "image-optimization",+ "hreflang"]}diff --git a/.gitignore b/.gitignoreindex cceb5b3..89aa245 100644--- a/.gitignore+++ b/.gitignore@@ -85,3 +85,17 @@ Cover Image.jpegseo audit demo.gifseo command demo.gif.github-audit/++# Site-specific analysis outputs+LOCAL-SEO-ANALYSIS-*.md+LOCAL-SEO-ANALYSIS-*.html+GEO-ANALYSIS-*.md+MAPS-ANALYSIS-*.md+RELEASE-*.md+dirigo-seo-images-review.html++# Site-specific scripts+indexnow-submit.sh++# Generated site builds+site/diff --git a/CLAUDE.md b/CLAUDE.mdindex b73d38a..e962c9c 100644--- a/CLAUDE.md+++ b/CLAUDE.md@@ -4,62 +4,70 @@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, 8 parallel-subagents, and an extensible reference system cover technical SEO, content quality,+3-layer architecture (directive, orchestration, execution). 14 core sub-skills (+ 2+extensions), 9 core subagents (+ 2 extension agents), and an extensible reference+system cover technical SEO, content quality,schema markup, image optimization, sitemap architecture, AI search optimization,-and local SEO (GBP, citations, reviews, map pack).+local SEO (GBP, citations, reviews, map pack), and maps intelligence (geo-grid+rank tracking, GBP auditing, review intelligence, competitor radius mapping).## Architecture```claude-seo/CLAUDE.md # Project instructions (this file)- .claude-plugin/plugin.json # Plugin manifest v1.5.0- seo/ # Main orchestrator skill- SKILL.md # Entry point, routing table, core rules- references/ # On-demand knowledge files- scripts/ # Python execution scripts- hooks/ # Quality gate hooks- schema/ # Schema.org JSON-LD templates- skills/ # 13 specialized sub-skills- seo-audit/SKILL.md # Full site audit with parallel agents- seo-page/SKILL.md # Deep single-page analysis- seo-technical/SKILL.md # Technical SEO (9 categories)- seo-content/SKILL.md # E-E-A-T and content quality- seo-schema/SKILL.md # Schema.org markup detection/generation- seo-sitemap/SKILL.md # XML sitemap analysis/generation- seo-images/SKILL.md # Image optimization analysis- seo-geo/SKILL.md # AI search / GEO optimization- seo-local/SKILL.md # Local SEO (GBP, citations, reviews, map pack)- seo-plan/SKILL.md # Strategic SEO planning- seo-programmatic/SKILL.md # Programmatic SEO at scale- seo-competitor-pages/SKILL.md # Competitor comparison pages- seo-hreflang/SKILL.md # International SEO / hreflang- agents/ # 8 parallel subagents- seo-technical.md # Crawlability, indexability, security- seo-content.md # E-E-A-T, readability, thin content- seo-schema.md # Structured data validation- seo-sitemap.md # Sitemap quality gates- seo-performance.md # Core Web Vitals, page speed- seo-visual.md # Screenshots, mobile rendering- seo-geo.md # AI crawler access, GEO, citability- seo-local.md # GBP, NAP, citations, reviews, local schema- extensions/ # Optional add-on capabilities- dataforseo/ # Live SEO data via DataForSEO MCP- banana/ # AI image generation via Gemini MCP (see github.com/AgriciDaniel/banana-claude)- docs/ # Extended documentation- ARCHITECTURE.md # System design overview- COMMANDS.md # Full command reference- INSTALLATION.md # Install guide- MCP-INTEGRATION.md # DataForSEO MCP setup- TROUBLESHOOTING.md # Common issues+ .claude-plugin/+ plugin.json # Plugin manifest (v1.7.0)+ marketplace.json # Marketplace catalog for distribution+ skills/ # 17 skills (auto-discovered)+ seo/ # Main orchestrator skill+ SKILL.md # Entry point, routing table, core rules+ references/ # On-demand knowledge files (10 files)+ seo-audit/SKILL.md # Full site audit with parallel agents+ seo-page/SKILL.md # Deep single-page analysis+ seo-technical/SKILL.md # Technical SEO (9 categories)+ seo-content/SKILL.md # E-E-A-T and content quality+ seo-schema/SKILL.md # Schema.org markup detection/generation+ seo-sitemap/SKILL.md # XML sitemap analysis/generation+ seo-images/SKILL.md # Image optimization analysis+ seo-geo/SKILL.md # AI search / GEO optimization+ seo-local/SKILL.md # Local SEO (GBP, citations, reviews, map pack)+ seo-maps/SKILL.md # Maps intelligence (geo-grid, GBP audit, reviews, competitors)+ seo-plan/SKILL.md # Strategic SEO planning+ seo-programmatic/SKILL.md # Programmatic SEO at scale+ seo-competitor-pages/SKILL.md # Competitor comparison pages+ seo-hreflang/SKILL.md # International SEO / hreflang+ seo-dataforseo/SKILL.md # Live SEO data via DataForSEO MCP+ seo-image-gen/ # AI image generation for SEO assets+ SKILL.md+ references/ # Image gen reference files (7 files)+ agents/ # 11 subagents (auto-discovered)+ seo-technical.md # Crawlability, indexability, security+ seo-content.md # E-E-A-T, readability, thin content+ seo-schema.md # Structured data validation+ seo-sitemap.md # Sitemap quality gates+ seo-performance.md # Core Web Vitals, page speed+ seo-visual.md # Screenshots, mobile rendering+ seo-geo.md # AI crawler access, GEO, citability+ seo-local.md # GBP, NAP, citations, reviews, local schema+ seo-maps.md # Geo-grid, GBP audit, reviews, competitor radius+ seo-dataforseo.md # DataForSEO data analyst+ seo-image-gen.md # SEO image audit analyst+ hooks/ # Quality gate hooks+ hooks.json # PostToolUse schema validation+ scripts/ # Python execution scripts+ schema/ # Schema.org JSON-LD templates+ extensions/ # Optional add-on install helpers+ dataforseo/ # DataForSEO MCP install scripts+ banana/ # Banana MCP install scripts+ docs/ # Extended documentation```## Commands| Command | Purpose ||---------|---------|-| `/seo audit <url>` | Full site audit with 8 parallel subagents |+| `/seo audit <url>` | Full site audit with 9 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 |@@ -71,6 +79,7 @@ claude-seo/| `/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 maps [command] [args]` | Maps intelligence (geo-grid, GBP audit, reviews, competitors) || `/seo hreflang <url>` | International SEO / hreflang audit || `/seo image-gen [use-case] <desc>` | AI image generation for SEO assets (extension) |@@ -80,7 +89,7 @@ claude-seo/- Reference files should be focused and under 200 lines- Scripts must have docstrings, CLI interface, and JSON output- Follow kebab-case naming for all skill directories-- Agents invoked via Task tool with `context: fork`, never via Bash+- Agents invoked via Agent tool, never via Bash- Python dependencies install into `~/.claude/skills/seo/.venv/`- Test with `python -m pytest tests/` after changes (if applicable)@@ -94,5 +103,5 @@ Part of the Claude Code skill family:1. **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 8 subagents simultaneously+3. **Parallel Execution**: Full audits spawn up to 11 subagents simultaneously4. **Extension System**: DataForSEO MCP for live data, Banana MCP for AI image generationdiff --git a/TODO.md b/TODO.mdindex d4ccec9..fe87887 100644--- a/TODO.md+++ b/TODO.md@@ -60,7 +60,7 @@ Remaining phases (deferred):- [ ] **Phase 3: Screenshot DOM export** (Priority: Medium):Add `--export-html` flag to `capture_screenshot.py` so rendered DOM is available to other agents without a second browser launch.-- [ ] **Phase 4: Orchestrator SPA detection** (Priority: High):Add 6 SPA detection signals to `seo/SKILL.md` (empty root div, minimal body, prerenderReady, framework markers, large JS bundles, React/Vue/Angular attributes). Route agents to raw vs rendered HTML based on detection result.+- [ ] **Phase 4: Orchestrator SPA detection** (Priority: High):Add 6 SPA detection signals to `skills/seo/SKILL.md` (empty root div, minimal body, prerenderReady, framework markers, large JS bundles, React/Vue/Angular attributes). Route agents to raw vs rendered HTML based on detection result.- [ ] **Phase 5: Agent updates** (Priority: High):Update seo-technical, seo-content, seo-schema, seo-performance, seo-visual to use rendered DOM when SPA detected. Add WRS (Web Rendering Service) dependency risk deductions.diff --git a/agents/seo-content.md b/agents/seo-content.mdindex 1c40092..8459221 100644--- a/agents/seo-content.md+++ b/agents/seo-content.md@@ -1,6 +1,8 @@---name: seo-contentdescription: Content quality reviewer. Evaluates E-E-A-T signals, readability, content depth, AI citation readiness, and thin content detection.+model: sonnet+maxTurns: 15tools: Read, Bash, Write, Grep---diff --git a/agents/seo-dataforseo.md b/agents/seo-dataforseo.mdnew file mode 100644index 0000000..5f3c45a--- /dev/null+++ b/agents/seo-dataforseo.md@@ -0,0 +1,36 @@+---+name: seo-dataforseo+description: DataForSEO data analyst. Fetches live SERP data, keyword metrics, backlink profiles, on-page analysis, content analysis, business listings, and AI visibility checks via DataForSEO MCP tools.+model: sonnet+maxTurns: 25+tools: Read, Bash, Write, Glob, Grep+---++You are a DataForSEO data analyst. When delegated tasks during an SEO audit or analysis:++1. Check that DataForSEO MCP tools are available before attempting calls+2. Use the most efficient tool combination for the requested data+3. Apply default parameters: location_code=2840 (US), language_code=en unless specified+4. Format output to match claude-seo conventions (tables, priority levels, scores)++## Efficient Tool Usage++- **Prefer bulk endpoints** over multiple single calls to minimize API credits+- **Don't re-fetch** data already retrieved in the same session+- **Warn before expensive operations** (full backlink crawls, large keyword lists)+- **Use limits**: default to limit=100 for list endpoints unless user needs more++## Error Handling++- If a DataForSEO tool returns an error, report the error clearly to the user+- If credentials are invalid, suggest running the extension installer again+- If a module is not enabled, note which module is needed++## Output Format++Match existing claude-seo patterns:+- Tables for comparative data+- Scores as XX/100+- Priority: Critical > High > Medium > Low+- Note data source as "DataForSEO (live)" to distinguish from static HTML analysis+- Include timestamps for time-sensitive data (SERP positions, backlink counts)diff --git a/agents/seo-geo.md b/agents/seo-geo.mdindex 8f35b35..acb24f7 100644--- a/agents/seo-geo.md+++ b/agents/seo-geo.md@@ -1,6 +1,8 @@---name: seo-geodescription: GEO and AI search specialist. Analyzes AI crawler accessibility, llms.txt compliance, passage-level citability, brand mention signals, and platform-specific optimization for Google AI Overviews, ChatGPT, Perplexity, and Bing Copilot.+model: sonnet+maxTurns: 20tools: Read, Bash, WebFetch, Glob, Grep---diff --git a/agents/seo-image-gen.md b/agents/seo-image-gen.mdnew file mode 100644index 0000000..dc05885--- /dev/null+++ b/agents/seo-image-gen.md@@ -0,0 +1,61 @@+---+name: seo-image-gen+description: SEO image analyst. Audits existing OG/social preview images, identifies missing or low-quality images, and creates an image generation plan with prompts for key pages. Does NOT auto-generate images.+model: sonnet+maxTurns: 15+tools: Read, Bash, Glob, Grep+---++You are an SEO image analyst. When delegated tasks during an SEO audit:++1. Check that nanobanana-mcp tools are available before including generation recommendations+2. Analyze the site's existing image strategy for SEO impact+3. Output a structured generation plan. Never auto-generate (cost control)++## Analysis Scope++For each audited page, evaluate:+- **OG image presence**:Does `og:image` meta tag exist? Is it valid?+- **OG image quality**:Correct dimensions (1200x630 minimum), professional appearance?+- **Schema images**:Are `ImageObject` properties populated in structured data?+- **Alt text quality**:Descriptive, keyword-rich, not stuffed?+- **Image format**:Using modern formats (WebP, AVIF) vs legacy (PNG, JPEG)?+- **Image file size**:Under 200KB for hero, under 100KB for thumbnails?++## Output Format++Match existing claude-seo patterns:++### Image Audit Summary++| Metric | Value | Status |+|--------|-------|--------|+| Pages with OG images | X/Y | Pass/Fail |+| OG images correct size | X/Y | Pass/Fail |+| Schema ImageObject usage | X/Y | Pass/Fail |+| WebP/AVIF adoption | X% | Pass/Fail |+| Average image file size | XKB | Pass/Fail |++### Image Generation Plan++For each page missing or having low-quality images:++| Page | Issue | Suggested Use Case | Prompt Idea | Priority |+|------|-------|-------------------|-------------|----------|+| /homepage | Missing OG image | og | Professional SaaS dashboard overview | Critical |+| /blog/post-1 | Low-res hero | hero | [contextual suggestion] | High |++Priority levels: Critical > High > Medium > Low++### Recommendations++- Prioritize pages by traffic volume (highest traffic = fix first)+- Note estimated cost for full generation plan+- Suggest batch generation for efficiency+- Recommend WebP conversion pipeline for all generated assets++## Error Handling++- If nanobanana-mcp is not available, still audit existing images but note that generation requires the banana extension+- Report errors clearly with actionable next steps+- Note data source as "Image Audit (static analysis)" to distinguish from live checksdiff --git a/agents/seo-local.md b/agents/seo-local.mdindex 176c7da..2586730 100644--- a/agents/seo-local.md+++ b/agents/seo-local.md@@ -1,6 +1,8 @@---name: seo-localdescription: 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.+model: sonnet+maxTurns: 20tools: Read, Bash, WebFetch, Glob, Grep, Write---@@ -51,7 +53,7 @@ You are a Local SEO specialist. When given a URL:## Industry-Specific Checks-Load `seo/references/local-schema-types.md` for:+Load `skills/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.)diff --git a/agents/seo-maps.md b/agents/seo-maps.mdnew file mode 100644index 0000000..ae32b8e--- /dev/null+++ b/agents/seo-maps.md@@ -0,0 +1,79 @@+---+name: seo-maps+description: Maps intelligence specialist. Geo-grid rank tracking, GBP profile auditing, review intelligence, cross-platform NAP verification, and competitor radius mapping via DataForSEO and free APIs.+model: sonnet+maxTurns: 25+tools: Read, Bash, WebFetch, Glob, Grep, Write+---++You are a Maps Intelligence specialist. When delegated tasks during an SEO audit or given a business URL/name:++1. Detect capability tier: check if DataForSEO MCP tools are available (try `business_data_business_listings_search`). If available = Tier 1. If not = Tier 0 (free APIs only).+2. Identify the target business: extract name, location, and category from the URL or provided context+3. Geocode the business address using Nominatim (free) or DataForSEO (Tier 1)+4. Run available analyses based on tier (see below)+5. Score the business on the Maps Health Score rubric+6. Generate structured report with prioritized recommendations++## Tier 0 (Free) Capabilities++- Competitor discovery via Overpass API (radius query by business category)+- Structured POI search via Geoapify (if API key available)+- Address geocoding via Nominatim (1 req/sec, include User-Agent header)+- Static GBP completeness checklist (manual assessment from visible data)+- LocalBusiness schema generation from collected data+- Cross-platform NAP guidance (recommend claiming Google, Bing, Apple)++## Tier 1 (DataForSEO) Additional Capabilities++- Geo-grid rank tracking via Maps SERP API with `location_coordinate`+- Live GBP profile audit via My Business Info API+- Review intelligence via Reviews API (velocity, sentiment, distribution)+- GBP post activity audit via My Business Updates API+- Q&A gap analysis via Questions and Answers API+- Cross-platform reviews (Tripadvisor, Trustpilot)+- Business listings search for competitor discovery++## Maps Health Score (0-100)++| Dimension | Weight | Data Source |+|-----------|--------|-------------|+| Geo-Grid Visibility / SoLV | 25% | DataForSEO Maps SERP (Tier 1 only; skip and redistribute if Tier 0) |+| GBP Profile Completeness | 20% | DataForSEO My Business Info (Tier 1) or manual checklist (Tier 0) |+| Review Health | 20% | DataForSEO Reviews (Tier 1) or visible review signals (Tier 0) |+| Cross-Platform Presence | 15% | WebFetch checks for Bing, Apple, OSM listings |+| Competitor Position | 10% | Overpass/DataForSEO competitor count and relative rating |+| Schema & AI Readiness | 10% | Schema detection + AI citation signal check |++**Tier 0 weight redistribution:** When geo-grid is unavailable, redistribute its 25% across GBP (+10%), Review Health (+10%), Cross-Platform (+5%).++## Reference Files++Load on-demand:+- `skills/seo/references/maps-api-endpoints.md`: DataForSEO endpoint details and costs+- `skills/seo/references/maps-free-apis.md`: Overpass, Geoapify, Nominatim query templates+- `skills/seo/references/maps-geo-grid.md`: Grid algorithm, SoLV calculation, heatmap rendering+- `skills/seo/references/maps-gbp-checklist.md`: 25-field GBP audit checklist with industry weights+- `skills/seo/references/local-seo-signals.md`: Ranking factors, review benchmarks (shared with seo-local)+- `skills/seo/references/local-schema-types.md`: LocalBusiness subtypes by industry (shared with seo-local)++## Cross-Skill Delegation++- Do NOT duplicate seo-local on-page analysis. Recommend `/seo local <url>` for website-level checks.+- Do NOT duplicate seo-geo AI visibility analysis. Recommend `/seo geo <url>` for full GEO audit.+- Do NOT duplicate seo-schema validation. Recommend `/seo schema <url>` for schema fixes.++## Output Format++Provide a structured report with:+- Maps Health Score (0-100) with dimension breakdown+- Capability tier detected (Tier 0 or Tier 1)+- Geo-grid heatmap (if Tier 1) with SoLV percentage+- GBP profile completeness score with field-by-field breakdown+- Review health snapshot (rating, count, velocity, response rate, cross-platform)+- Competitor landscape (count in radius, top competitors by rating/reviews)+- Cross-platform presence status (Google, Bing, Apple, OSM)+- Generated LocalBusiness JSON-LD (if schema missing)+- Top 10 prioritized actions (Critical > High > Medium > Low)+- Cost report (DataForSEO credits consumed, if applicable)+- Limitations disclaimer (what could not be assessed at current tier)diff --git a/agents/seo-performance.md b/agents/seo-performance.mdindex 7f61c20..2261c7e 100644--- a/agents/seo-performance.md+++ b/agents/seo-performance.md@@ -1,6 +1,8 @@---name: seo-performancedescription: Performance analyzer. Measures and evaluates Core Web Vitals and page load performance.+model: sonnet+maxTurns: 15tools: Read, Bash, Write---@@ -57,7 +59,7 @@ Google evaluates the **75th percentile** of page visits, 75% of visits must meet**CrUX Vis** replaced the CrUX Dashboard (November 2025). The old Looker Studio dashboard was deprecated. Use [CrUX Vis](https://cruxvis.withgoogle.com) or the CrUX API directly.-**LCP subparts** (TTFB, resource load delay, resource load time, element render delay) are now available in CrUX data (February 2025). See `seo/references/cwv-thresholds.md` for details.+**LCP subparts** (TTFB, resource load delay, resource load time, element render delay) are now available in CrUX data (February 2025). See `skills/seo/references/cwv-thresholds.md` for details.## Toolsdiff --git a/agents/seo-schema.md b/agents/seo-schema.mdindex eb6f8cb..7e529d9 100644--- a/agents/seo-schema.md+++ b/agents/seo-schema.md@@ -1,6 +1,8 @@---name: seo-schemadescription: Schema markup expert. Detects, validates, and generates Schema.org structured data in JSON-LD format.+model: sonnet+maxTurns: 15tools: Read, Bash, Write---diff --git a/agents/seo-sitemap.md b/agents/seo-sitemap.mdindex a4969e0..859a71e 100644--- a/agents/seo-sitemap.md+++ b/agents/seo-sitemap.md@@ -1,6 +1,8 @@---name: seo-sitemapdescription: Sitemap architect. Validates XML sitemaps, generates new ones with industry templates, and enforces quality gates for location pages.+model: sonnet+maxTurns: 15tools: Read, Bash, Write, Glob---diff --git a/agents/seo-technical.md b/agents/seo-technical.mdindex 1ee78db..b4f4416 100644--- a/agents/seo-technical.md+++ b/agents/seo-technical.md@@ -1,6 +1,8 @@---name: seo-technicaldescription: Technical SEO specialist. Analyzes crawlability, indexability, security, URL structure, mobile optimization, Core Web Vitals, and JavaScript rendering.+model: sonnet+maxTurns: 20tools: Read, Bash, Write, Glob, Grep---diff --git a/agents/seo-visual.md b/agents/seo-visual.mdindex 45cb210..dd2701c 100644--- a/agents/seo-visual.md+++ b/agents/seo-visual.md@@ -1,6 +1,8 @@---name: seo-visualdescription: Visual analyzer. Captures screenshots, tests mobile rendering, and analyzes above-the-fold content using Playwright.+model: sonnet+maxTurns: 15tools: Read, Bash, Write---diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex 538468c..16eb310 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -178,7 +178,7 @@ User Request (e.g., /seo page)1. Create `skills/seo-newskill/SKILL.md`2. Add YAML frontmatter with name and description3. Write skill instructions-4. Update main `seo/SKILL.md` to route to new skill+4. Update main `skills/seo/SKILL.md` to route to new skill### Adding a New Subagentdiff --git a/extensions/banana/skills/seo-image-gen/SKILL.md b/extensions/banana/skills/seo-image-gen/SKILL.mdindex 33b4d67..8943f43 100644--- a/extensions/banana/skills/seo-image-gen/SKILL.md+++ b/extensions/banana/skills/seo-image-gen/SKILL.md@@ -3,13 +3,13 @@ name: seo-image-gendescription: "AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says \"generate image\", \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"create visual\", \"image-gen\", \"favicon\", \"schema image\", \"pinterest pin\", \"generate visual\", \"banner\", or \"thumbnail\"."argument-hint: "[og|hero|product|infographic|custom|batch] <description>"user-invokable: true-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+compatibility: "Requires nanobanana MCP server"+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# SEO Image Gen: AI Image Generation for SEO Assets (Extension)diff --git a/extensions/dataforseo/skills/seo-dataforseo/SKILL.md b/extensions/dataforseo/skills/seo-dataforseo/SKILL.mdindex d482bde..7f75c67 100644--- a/extensions/dataforseo/skills/seo-dataforseo/SKILL.md+++ b/extensions/dataforseo/skills/seo-dataforseo/SKILL.md@@ -11,13 +11,13 @@ description: >or "real search data".user-invokable: trueargument-hint: "[command] [query]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+compatibility: "Requires DataForSEO MCP server"+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# DataForSEO: Live SEO Data (Extension)diff --git a/hooks/hooks.json b/hooks/hooks.jsonnew file mode 100644index 0000000..c4677c9--- /dev/null+++ b/hooks/hooks.json@@ -0,0 +1,15 @@+{+ "hooks": {+ "PostToolUse": [+ {+ "matcher": "Edit|Write",+ "hooks": [+ {+ "type": "command",+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/validate-schema.py\" \"$FILE_PATH\""+ }+ ]+ }+ ]+ }+}diff --git a/skills/seo-audit/SKILL.md b/skills/seo-audit/SKILL.mdindex 6d15de7..92098c0 100644--- a/skills/seo-audit/SKILL.md+++ b/skills/seo-audit/SKILL.md@@ -2,18 +2,17 @@name: seo-auditdescription: >Full website SEO audit with parallel subagent delegation. Crawls up to 500- pages, detects business type, delegates to 7 specialists, generates health- score. Use when user says "audit", "full SEO check", "analyze my site",- or "website health check".+ pages, detects business type, delegates to 9 specialists (7 core + 2+ conditional local), generates health score. Use when user says "audit",+ "full SEO check", "analyze my site", or "website health check".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Agent+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Agent+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Full Website SEO Audit@@ -32,6 +31,7 @@ allowed-tools:- `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)+ - `seo-maps` -- Geo-grid rank tracking, GBP audit, review intelligence, competitor radius mapping (spawn when Local Service detected AND DataForSEO MCP available)5. **Score** -- aggregate into SEO Health Score (0-100)6. **Report** -- generate prioritized action plandiff --git a/skills/seo-competitor-pages/SKILL.md b/skills/seo-competitor-pages/SKILL.mdindex 1aab3b4..8944109 100644--- a/skills/seo-competitor-pages/SKILL.md+++ b/skills/seo-competitor-pages/SKILL.md@@ -4,15 +4,16 @@ description: >Generate SEO-optimized competitor comparison and alternatives pages. Covers"X vs Y" layouts, "alternatives to X" pages, feature matrices, schema markup,and conversion optimization. Use when user says "comparison page", "vs page",- "alternatives page", "competitor comparison", or "X vs Y".+ "alternatives page", "competitor comparison", "X vs Y", "versus",+ "compare competitors", or "alternative to".user-invokable: trueargument-hint: "[url or generate] [competitor]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Competitor Comparison & Alternatives Pagesdiff --git a/skills/seo-content/SKILL.md b/skills/seo-content/SKILL.mdindex 5dadf1f..719e9b0 100644--- a/skills/seo-content/SKILL.md+++ b/skills/seo-content/SKILL.md@@ -6,19 +6,19 @@ description: >"readability check", "thin content", or "content audit".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Content Quality & E-E-A-T Analysis## E-E-A-T Framework (updated Sept 2025 QRG)-Read `seo/references/eeat-framework.md` for full criteria.+Read `skills/seo/references/eeat-framework.md` for full criteria.### Experience (first-hand signals)- Original research, case studies, before/after resultsdiff --git a/skills/seo-dataforseo/SKILL.md b/skills/seo-dataforseo/SKILL.mdnew file mode 100644index 0000000..7f75c67--- /dev/null+++ b/skills/seo-dataforseo/SKILL.md@@ -0,0 +1,394 @@+---+name: seo-dataforseo+description: >+ Live SEO data via DataForSEO MCP server. SERP analysis (Google, Bing, Yahoo,+ YouTube), keyword research (volume, difficulty, intent, trends), backlink+ profiles, on-page analysis (Lighthouse, content parsing), competitor analysis,+ content analysis, business listings, AI visibility (ChatGPT scraper, LLM+ mention tracking), and domain analytics. Requires DataForSEO extension+ installed. Use when user says "dataforseo", "live SERP", "keyword volume",+ "backlink data", "competitor data", "AI visibility check", "LLM mentions",+ or "real search data".+user-invokable: true+argument-hint: "[command] [query]"+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+compatibility: "Requires DataForSEO MCP server"+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo+---++# DataForSEO: Live SEO Data (Extension)++Live search data via the DataForSEO MCP server. Provides real-time SERP results,+keyword metrics, backlink profiles, on-page analysis, content analysis, business+listings, AI visibility checking, and LLM mention tracking across+9 API modules with 79 MCP tools.++## Prerequisites++This skill requires the DataForSEO extension to be installed:+```bash+./extensions/dataforseo/install.sh+```++**Check availability:** Before using any DataForSEO tool, verify the MCP server+is connected by checking if `serp_organic_live_advanced` or any DataForSEO tool+is available. If tools are not available, inform the user the extension is not+installed and provide install instructions.++## API Credit Awareness++DataForSEO charges per API call. Be efficient:+- Prefer bulk endpoints over multiple single calls+- Use default parameters (US, English) unless user specifies otherwise+- Cache results mentally within a session; don't re-fetch the same data+- Warn user before running expensive operations (full backlink crawls, large keyword lists)++## Quick Reference++| Command | What it does |+|---------|-------------|+| `/seo dataforseo serp <keyword>` | Google organic SERP results |+| `/seo dataforseo serp-youtube <keyword>` | YouTube search results |+| `/seo dataforseo youtube <video_id>` | YouTube video deep analysis |+| `/seo dataforseo keywords <seed>` | Keyword ideas and suggestions |+| `/seo dataforseo volume <keywords>` | Search volume for keywords |+| `/seo dataforseo difficulty <keywords>` | Keyword difficulty scores |+| `/seo dataforseo intent <keywords>` | Search intent classification |+| `/seo dataforseo trends <keyword>` | Google Trends data |+| `/seo dataforseo backlinks <domain>` | Full backlink profile |+| `/seo dataforseo competitors <domain>` | Competitor domain analysis |+| `/seo dataforseo ranked <domain>` | Ranked keywords for domain |+| `/seo dataforseo intersection <domains>` | Keyword/backlink overlap |+| `/seo dataforseo traffic <domains>` | Bulk traffic estimation |+| `/seo dataforseo subdomains <domain>` | Subdomains with ranking data |+| `/seo dataforseo top-searches <domain>` | Top queries mentioning domain |+| `/seo dataforseo onpage <url>` | On-page analysis (Lighthouse + parsing) |+| `/seo dataforseo tech <domain>` | Technology stack detection |+| `/seo dataforseo whois <domain>` | WHOIS registration data |+| `/seo dataforseo content <keyword/url>` | Content analysis and trends |+| `/seo dataforseo listings <keyword>` | Business listings search |+| `/seo dataforseo ai-scrape <query>` | ChatGPT web scraper for GEO |+| `/seo dataforseo ai-mentions <keyword>` | LLM mention tracking for GEO |++---++## SERP Analysis++### `/seo dataforseo serp <keyword>`++Fetch live Google organic search results.++**MCP tools:** `serp_organic_live_advanced`++**Default parameters:** location_code=2840 (US), language_code=en, device=desktop, depth=100++**Also supports:** The `serp_organic_live_advanced` tool supports Google, Bing, and Yahoo via the `se` parameter. Specify "bing" or "yahoo" to switch search engines.++**Output:** Rank, URL, title, description, domain, featured snippets, AI overview references, People Also Ask.++### `/seo dataforseo serp-youtube <keyword>`++Fetch YouTube search results. Valuable for GEO. YouTube mentions correlate most strongly with AI citations.++**MCP tools:** `serp_youtube_organic_live_advanced`++**Output:** Video title, channel, views, upload date, description, URL.++### `/seo dataforseo youtube <video_id>`++Deep analysis of a specific YouTube video: info, comments, and subtitles. YouTube mentions have the strongest correlation (0.737) with AI visibility, making this critical for GEO analysis.++**MCP tools:** `serp_youtube_video_info_live_advanced`, `serp_youtube_video_comments_live_advanced`, `serp_youtube_video_subtitles_live_advanced`++**Parameters:** video_id (the YouTube video ID, e.g., "dQw4w9WgXcQ")++**Output:** Video metadata (title, channel, views, likes, description), top comments with engagement, subtitle/transcript text.++---++## Keyword Research++### `/seo dataforseo keywords <seed>`++Generate keyword ideas, suggestions, and related terms from a seed keyword.++**MCP tools:** `dataforseo_labs_google_keyword_ideas`, `dataforseo_labs_google_keyword_suggestions`, `dataforseo_labs_google_related_keywords`++**Default parameters:** location_code=2840 (US), language_code=en, limit=50++**Output:** Keyword, search volume, CPC, competition level, keyword difficulty, trend.++### `/seo dataforseo volume <keywords>`++Get search volume and metrics for a list of keywords.++**MCP tools:** `kw_data_google_ads_search_volume`++**Parameters:** keywords (array, comma-separated), location_code, language_code++**Output:** Keyword, monthly search volume, CPC, competition, monthly trend data.++### `/seo dataforseo difficulty <keywords>`++Calculate keyword difficulty scores for ranking competitiveness.++**MCP tools:** `dataforseo_labs_bulk_keyword_difficulty`++**Parameters:** keywords (array), location_code, language_code++**Output:** Keyword, difficulty score (0-100), interpretation (Easy/Medium/Hard/Very Hard).++### `/seo dataforseo intent <keywords>`++Classify keywords by user search intent.++**MCP tools:** `dataforseo_labs_search_intent`++**Parameters:** keywords (array), location_code, language_code++**Output:** Keyword, intent type (informational, navigational, commercial, transactional), confidence score.++### `/seo dataforseo trends <keyword>`++Analyze keyword trends over time using Google Trends data.++**MCP tools:** `kw_data_google_trends_explore`++**Parameters:** keywords (array), location_code, date_from, date_to, language_code++**Output:** Keyword, time series data, trend direction, seasonality signals.++---++## Domain & Competitor Analysis++### `/seo dataforseo backlinks <domain>`++Comprehensive backlink profile analysis.++**MCP tools:** `backlinks_summary`, `backlinks_backlinks`, `backlinks_anchors`, `backlinks_referring_domains`, `backlinks_bulk_spam_score`, `backlinks_timeseries_summary`++**Default parameters:** limit=100 per sub-call++**Output:** Total backlinks, referring domains, domain rank, spam score, top anchors, new/lost backlinks over time, dofollow ratio, top referring domains.++### `/seo dataforseo competitors <domain>`++Identify competing domains and estimate traffic.++**MCP tools:** `dataforseo_labs_google_competitors_domain`, `dataforseo_labs_google_domain_rank_overview`, `dataforseo_labs_bulk_traffic_estimation`++**Output:** Competitor domains, keyword overlap %, estimated traffic, domain rank, common keywords.++### `/seo dataforseo ranked <domain>`++List keywords a domain ranks for with positions and page data.++**MCP tools:** `dataforseo_labs_google_ranked_keywords`, `dataforseo_labs_google_relevant_pages`++**Default parameters:** limit=100, location_code=2840++**Output:** Keyword, position, URL, search volume, traffic share, SERP features.++### `/seo dataforseo intersection <domain1> <domain2> [...]`++Find shared keywords and backlink sources across 2-20 domains.++**MCP tools:** `dataforseo_labs_google_domain_intersection`, `backlinks_domain_intersection`++**Parameters:** domains (2-20 array)++**Output:** Shared keywords with positions per domain, shared backlink sources, unique keywords per domain.++### `/seo dataforseo traffic <domains>`++Estimate organic search traffic for one or more domains.++**MCP tools:** `dataforseo_labs_bulk_traffic_estimation`++**Parameters:** domains (array)++**Output:** Domain, estimated organic traffic, estimated traffic cost, top keywords.++### `/seo dataforseo subdomains <domain>`++Enumerate subdomains with their ranking data and traffic estimates.++**MCP tools:** `dataforseo_labs_google_subdomains`++**Parameters:** target (domain), location_code, language_code++**Output:** Subdomain, ranked keywords count, estimated traffic, organic cost.++### `/seo dataforseo top-searches <domain>`++Find the most popular search queries that mention a specific domain in results.++**MCP tools:** `dataforseo_labs_google_top_searches`++**Parameters:** target (domain), location_code, language_code++**Output:** Query, search volume, domain position, SERP features, traffic share.++---++## Technical / On-Page++### `/seo dataforseo onpage <url>`++Run on-page analysis including Lighthouse audit and content parsing.++**MCP tools:** `on_page_instant_pages`, `on_page_content_parsing`, `on_page_lighthouse`++**Usage:**+- `on_page_instant_pages`:Quick page analysis (status codes, meta tags, content size, page timing, broken links, on-page checks)+- `on_page_content_parsing`:Extract and parse page content (plain text, word count, structure)+- `on_page_lighthouse`:Full Lighthouse audit (performance score, accessibility, best practices, SEO, Core Web Vitals)++**Output:** Pages crawled, status codes, meta tags, titles, content size, load times, Lighthouse scores, broken links, resource analysis.++### `/seo dataforseo tech <domain>`++Detect technologies used on a domain.++**MCP tools:** `domain_analytics_technologies_domain_technologies`++**Output:** Technology name, version, category (CMS, analytics, CDN, framework, etc.).++### `/seo dataforseo whois <domain>`++Retrieve WHOIS registration data.++**MCP tools:** `domain_analytics_whois_overview`++**Output:** Registrar, creation date, expiration date, nameservers, registrant info (if public).++---++## Content & Business Data++### `/seo dataforseo content <keyword/url>`++Analyze content quality, search for content by topic, and track phrase trends.++**MCP tools:** `content_analysis_search`, `content_analysis_summary`, `content_analysis_phrase_trends`++**Parameters:** keyword (for search/trends) or URL (for summary)++**Output:** Content matches with quality scores, sentiment analysis, readability metrics, phrase trend data over time.++### `/seo dataforseo listings <keyword>`++Search business listings for local SEO competitive analysis.++**MCP tools:** `business_data_business_listings_search`++**Parameters:** keyword, location (optional)++**Output:** Business name, description, category, address, phone, domain, rating, review count, claimed status.++---++## AI Visibility / GEO++### `/seo dataforseo ai-scrape <query>`++Scrape what ChatGPT web search returns for a query. Real GEO visibility check: see which sources ChatGPT cites for your target keywords.++**MCP tools:** `ai_optimization_chat_gpt_scraper`++**Parameters:** query, location_code (optional), language_code (optional). Use `ai_optimization_chat_gpt_scraper_locations` to look up available locations.++**Output:** ChatGPT response content, cited sources/URLs, referenced domains.++### `/seo dataforseo ai-mentions <keyword>`++Track how LLMs mention brands, domains, and topics. Critical for GEO. Measures actual AI visibility across multiple LLM platforms.++**MCP tools:** `ai_opt_llm_ment_search`, `ai_opt_llm_ment_top_domains`, `ai_opt_llm_ment_top_pages`, `ai_opt_llm_ment_agg_metrics`++**Parameters:** keyword, location_code (optional), language_code (optional). Use `ai_opt_llm_ment_loc_and_lang` for available locations/languages and `ai_optimization_llm_models` for supported LLM models.++**Workflow:**+1. Search LLM mentions with `ai_opt_llm_ment_search` (find mentions of a brand/keyword across LLM responses)+2. Get top cited domains with `ai_opt_llm_ment_top_domains` (which domains are most cited for this topic)+3. Get top cited pages with `ai_opt_llm_ment_top_pages` (which specific pages are most cited)+4. Get aggregate metrics with `ai_opt_llm_ment_agg_metrics` (overall mention volume, trends)++**Output:** LLM mention count, top cited domains with frequency, top cited pages, mention trends over time, cross-platform visibility scores.++**Advanced:** Use `ai_opt_llm_ment_cross_agg_metrics` for cross-model comparison (how mentions differ across ChatGPT, Claude, Perplexity, etc.).++---++## Available Utility Tools++These DataForSEO tools are available for internal use by the agent but do not have dedicated commands:++- `serp_locations`:Location code lookups for SERP queries+- `serp_youtube_locations`:Location code lookups for YouTube queries+- `kw_data_google_ads_locations`:Location lookups for keyword data+- `kw_data_dfs_trends_demography`:Demographic data for trend analysis+- `kw_data_dfs_trends_subregion_interests`:Subregion interest data for trends+- `kw_data_dfs_trends_explore`:DFS proprietary trends data+- `kw_data_google_trends_categories`:Google Trends category lookups+- `dataforseo_labs_google_keyword_overview`:Quick keyword metrics overview+- `dataforseo_labs_google_historical_serp`:Historical SERP results for a keyword+- `dataforseo_labs_google_serp_competitors`:Competitors for a specific SERP+- `dataforseo_labs_google_keywords_for_site`:Keywords a site ranks for (alternative to ranked)+- `dataforseo_labs_google_page_intersection`:Page-level intersection analysis+- `dataforseo_labs_google_historical_rank_overview`:Historical domain rank data+- `dataforseo_labs_google_historical_keyword_data`:Historical keyword metrics+- `dataforseo_labs_available_filters`:Available filter options for Labs endpoints+- `backlinks_competitors`:Find domains with similar backlink profiles+- `backlinks_bulk_backlinks`:Bulk backlink counts for multiple targets+- `backlinks_bulk_new_lost_referring_domains`:Bulk new/lost referring domains+- `backlinks_bulk_new_lost_backlinks`:Bulk new/lost backlinks+- `backlinks_bulk_ranks`:Bulk rank overview for multiple targets+- `backlinks_bulk_referring_domains`:Bulk referring domain counts+- `backlinks_domain_pages_summary`:Summary of pages on a domain+- `backlinks_domain_pages`:List pages on a domain with backlink data+- `backlinks_page_intersection`:Shared backlink sources at page level+- `backlinks_referring_networks`:Referring network analysis+- `backlinks_timeseries_new_lost_summary`:Track new/lost backlinks over time+- `backlinks_bulk_pages_summary`:Bulk page summaries+- `backlinks_available_filters`:Available filter options for Backlinks endpoints+- `domain_analytics_whois_available_filters`:WHOIS filter options+- `domain_analytics_technologies_available_filters`:Technology detection filter options+- `ai_opt_kw_data_loc_and_lang`:AI optimization keyword data locations/languages+- `ai_optimization_keyword_data_search_volume`:AI-specific keyword volume data+- `ai_optimization_llm_response`:Direct LLM response analysis+- `ai_optimization_llm_mentions_filters`:Available filters for LLM mentions+- `ai_optimization_chat_gpt_scraper_locations`:Available locations for ChatGPT scraper++## Cross-Skill Integration++When DataForSEO MCP tools are available, other claude-seo skills can leverage live data:++- **seo-audit**:Spawn `seo-dataforseo` agent for real SERP, backlink, on-page, and listings data+- **seo-technical**:Use `on_page_instant_pages` / `on_page_lighthouse` for real crawl data, `domain_analytics_technologies_domain_technologies` for stack detection+- **seo-content**:Use `kw_data_google_ads_search_volume`, `dataforseo_labs_bulk_keyword_difficulty`, `dataforseo_labs_search_intent` for real keyword metrics, `content_analysis_summary` for content quality+- **seo-page**:Use `serp_organic_live_advanced` for real SERP positions, `backlinks_summary` for link data+- **seo-geo**:Use `ai_optimization_chat_gpt_scraper` for real ChatGPT visibility, `ai_opt_llm_ment_search` for LLM mention tracking+- **seo-plan**:Use `dataforseo_labs_google_competitors_domain`, `dataforseo_labs_google_domain_intersection`, `dataforseo_labs_bulk_traffic_estimation` for real competitive intelligence++## Error Handling++- **MCP server not connected**: Report that DataForSEO extension is not installed or MCP server is unreachable. Suggest running `./extensions/dataforseo/install.sh`+- **API authentication failed**: Report invalid credentials. Suggest checking DataForSEO API login/password in MCP config+- **Rate limit exceeded**: Report the limit hit and suggest waiting before retrying+- **No results returned**: Report "no data found" for the query rather than guessing. Suggest broadening the query or checking location/language codes+- **Invalid location code**: Report the error and suggest using the locations lookup tool to find the correct code++## Output Formatting++Match existing claude-seo output patterns:+- Use tables for comparative data+- Prioritize issues as Critical > High > Medium > Low+- Include specific, actionable recommendations+- Show scores as XX/100 where applicable+- Note data source as "DataForSEO (live)" to distinguish from static analysisdiff --git a/skills/seo-geo/SKILL.md b/skills/seo-geo/SKILL.mdindex 3846241..c106425 100644--- a/skills/seo-geo/SKILL.md+++ b/skills/seo-geo/SKILL.md@@ -10,12 +10,12 @@ description: >"ChatGPT search", or "AI visibility".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# AI Search / GEO Optimization (February 2026)diff --git a/skills/seo-hreflang/SKILL.md b/skills/seo-hreflang/SKILL.mdindex 56a41a3..be83d72 100644--- a/skills/seo-hreflang/SKILL.md+++ b/skills/seo-hreflang/SKILL.md@@ -7,12 +7,12 @@ description: >"international SEO", "multi-language", "multi-region", or "language tags".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Hreflang & International SEOdiff --git a/skills/seo-image-gen/SKILL.md b/skills/seo-image-gen/SKILL.mdnew file mode 100644index 0000000..8943f43--- /dev/null+++ b/skills/seo-image-gen/SKILL.md@@ -0,0 +1,177 @@+---+name: seo-image-gen+description: "AI image generation for SEO assets: OG/social preview images, blog hero images, schema images, product photography, infographics. Powered by Gemini via nanobanana-mcp. Requires banana extension installed. Use when user says \"generate image\", \"OG image\", \"social preview\", \"hero image\", \"blog image\", \"product photo\", \"infographic\", \"seo image\", \"create visual\", \"image-gen\", \"favicon\", \"schema image\", \"pinterest pin\", \"generate visual\", \"banner\", or \"thumbnail\"."+argument-hint: "[og|hero|product|infographic|custom|batch] <description>"+user-invokable: true+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+compatibility: "Requires nanobanana MCP server"+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo+---++# SEO Image Gen: AI Image Generation for SEO Assets (Extension)++Generate production-ready images for SEO use cases using Gemini's image generation+via the banana Creative Director pipeline. Maps SEO needs to optimized domain modes,+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)++## Prerequisites++This skill requires the banana extension to be installed:+```bash+./extensions/banana/install.sh+```++**Check availability:** Before using any image generation tool, verify the MCP server+is connected by checking if `gemini_generate_image` or `set_aspect_ratio` tools are+available. If tools are not available, inform the user the extension is not installed+and provide install instructions.++## Quick Reference++| Command | What it does |+|---------|-------------|+| `/seo image-gen og <description>` | Generate OG/social preview image (1200x630 feel) |+| `/seo image-gen hero <description>` | Blog hero image (widescreen, dramatic) |+| `/seo image-gen product <description>` | Product photography (clean, white BG) |+| `/seo image-gen infographic <description>` | Infographic visual (vertical, data-heavy) |+| `/seo image-gen custom <description>` | Custom image with full Creative Director pipeline |+| `/seo image-gen batch <description> [N]` | Generate N variations (default: 3) |++## SEO Image Use Cases++Each use case maps to pre-configured banana parameters:++| Use Case | Aspect Ratio | Resolution | Domain Mode | Notes |+|----------|-------------|------------|-------------|-------|+| **OG/Social Preview** | `16:9` | `1K` | Product or UI/Web | Clean, professional, text-friendly |+| **Blog Hero** | `16:9` | `2K` | Cinema or Editorial | Dramatic, atmospheric, editorial quality |+| **Schema Image** | `4:3` | `1K` | Product | Clean, descriptive, schema ImageObject |+| **Social Square** | `1:1` | `1K` | UI/Web | Platform-optimized square |+| **Product Photo** | `4:3` | `2K` | Product | White background, studio lighting |+| **Infographic** | `2:3` | `4K` | Infographic | Data-heavy, vertical layout |+| **Favicon/Icon** | `1:1` | `512` | Logo | Minimal, scalable, recognizable |+| **Pinterest Pin** | `2:3` | `2K` | Editorial | Tall vertical card |++## Generation Pipeline++For every generation request:++1. **Identify use case** from command or context (og, hero, product, etc.)+2. **Apply SEO defaults** from the use cases table above+3. **Set aspect ratio** via `set_aspect_ratio` MCP tool+4. **Construct Reasoning Brief** using the banana Creative Director pipeline:+ - Load `references/prompt-engineering.md` for the 6-component system+ - Apply domain mode emphasis (Subject 30%, Style 25%, Context 15%, etc.)+ - Be SPECIFIC and VISCERAL: describe what the camera sees+5. **Generate** via `gemini_generate_image` MCP tool+6. **Post-generation SEO checklist** (see below)++### Check for Presets++If the user mentions a brand or has SEO presets configured:+```bash+python3 ~/.claude/skills/seo-image-gen/scripts/presets.py list+```+Load matching preset and apply as defaults. Also check `references/seo-image-presets.md`+for SEO-specific preset templates.++## Post-Generation SEO Checklist++After every successful generation, guide the user on:++1. **Alt text**:Write descriptive, keyword-rich alt text for the generated image+2. **File naming**:Rename to SEO-friendly format: `keyword-description-widthxheight.webp`+3. **WebP conversion**:Convert to WebP for optimal page speed:+ ```bash+ magick output.png -quality 85 output.webp+ ```+4. **File size**:Target under 200KB for hero images, under 100KB for thumbnails+5. **Schema markup**:Suggest `ImageObject` schema for the generated image:+ ```json+ {+ "@type": "ImageObject",+ "url": "https://example.com/images/keyword-description.webp",+ "width": 1200,+ "height": 630,+ "caption": "Descriptive caption with target keyword"+ }+ ```+6. **OG meta tags**:For social preview images, remind about:+ ```html+ <meta property="og:image" content="https://example.com/images/og-image.webp" />+ <meta property="og:image:width" content="1200" />+ <meta property="og:image:height" content="630" />+ <meta property="og:image:alt" content="Descriptive alt text" />+ ```++## Cost Awareness++Image generation costs money. Be transparent:+- Show estimated cost before generating (especially for batch)+- Log every generation: `python3 ~/.claude/skills/seo-image-gen/scripts/cost_tracker.py log --model MODEL --resolution RES --prompt "brief"`+- Run `cost_tracker.py summary` if user asks about usage++Approximate costs (gemini-3.1-flash):+- 512: ~$0.02/image+- 1K resolution: ~$0.04/image+- 2K resolution: ~$0.08/image+- 4K resolution: ~$0.16/image++## Model Routing++| Scenario | Model | Why |+|----------|-------|-----|+| OG images, social previews | `gemini-3.1-flash-image-preview` @ 1K | Fast, cost-effective |+| Hero images, product photos | `gemini-3.1-flash-image-preview` @ 2K | Quality + detail |+| Infographics with text | `gemini-3.1-flash-image-preview` @ 2K, thinking: high | Better text rendering |+| Quick drafts | `gemini-2.5-flash-image` @ 512 | Rapid iteration |++## Error Handling++| Error | Resolution |+|-------|-----------|+| MCP not configured | Run `./extensions/banana/install.sh` |+| API key invalid | New key at https://aistudio.google.com/apikey |+| Rate limited (429) | Wait 60s, retry. Free tier: ~10 RPM / ~500 RPD |+| `IMAGE_SAFETY` | Rephrase prompt - see `references/prompt-engineering.md` Safety section |+| MCP unavailable | Fall back: `python3 ~/.claude/skills/seo-image-gen/scripts/generate.py --prompt "..." --aspect-ratio "16:9"` |+| Extension not installed | Show install instructions: `./extensions/banana/install.sh` |++## Cross-Skill Integration++- **seo-images** (analysis) feeds into **seo-image-gen** (generation): audit results from `/seo images` identify missing or low-quality images; use those findings to drive `/seo image-gen` commands+- **seo-audit** spawns the seo-image-gen **agent** (not this skill) to analyze OG/social images across the site and produce a prioritized generation plan+- **seo-schema** can consume generated images: after generation, suggest `ImageObject` schema markup pointing to the new assets++## Reference Documentation++Load on-demand. Do NOT load all at startup:+- `references/prompt-engineering.md`:6-component system, domain modes, templates+- `references/gemini-models.md`:Model specs, rate limits, capabilities+- `references/mcp-tools.md`:MCP tool parameters and responses+- `references/post-processing.md`:ImageMagick/FFmpeg pipeline recipes+- `references/cost-tracking.md`:Pricing, usage tracking+- `references/presets.md`:Brand preset management+- `references/seo-image-presets.md`:SEO-specific preset templates++## Response Format++After generating, always provide:+1. **Image path**:where it was saved+2. **Crafted prompt**:show what was sent to the API (educational)+3. **Settings**:model, aspect ratio, resolution+4. **SEO checklist**:alt text suggestion, file naming, WebP conversion+5. **Schema snippet**:ImageObject or og:image markup if applicablediff --git a/skills/seo-image-gen/references/cost-tracking.md b/skills/seo-image-gen/references/cost-tracking.mdnew file mode 100644index 0000000..80e89d4--- /dev/null+++ b/skills/seo-image-gen/references/cost-tracking.md@@ -0,0 +1,47 @@+# Cost Tracking Reference++> Load this on-demand when the user asks about costs or before batch operations.++## Pricing Table++| Model | Resolution | Cost/Image | Notes |+|-------|-----------|-----------|-------|+| 3.1 Flash | 512 | $0.020 | Quick drafts |+| 3.1 Flash | 1K | $0.039 | Standard (default) |+| 3.1 Flash | 2K | $0.078 | Quality assets |+| 3.1 Flash | 4K | $0.156 | Print/hero images |+| 2.5 Flash | 512 | $0.020 | Draft fallback |+| 2.5 Flash | 1K | $0.039 | Standard fallback |+| Batch API | Any | 50% of above | Asynchronous, higher latency |++Pricing is approximate, based on ~1,290 output tokens per image.+Research suggests actual costs may be ~$0.067/img. Verify at https://ai.google.dev/gemini-api/docs/pricing++## Free Tier Limits++- ~10 requests per minute (RPM)+- ~500 requests per day (RPD)+- Per Google Cloud project, resets midnight Pacific++## Cost Tracker Commands++```bash+# Log a generation+cost_tracker.py log --model gemini-3.1-flash-image-preview --resolution 1K --prompt "coffee shop hero"++# View summary (total + last 7 days)+cost_tracker.py summary++# Today's usage+cost_tracker.py today++# Estimate before batch+cost_tracker.py estimate --model gemini-3.1-flash-image-preview --resolution 1K --count 10++# Reset ledger+cost_tracker.py reset --confirm+```++## Storage++Ledger stored at `~/.banana/costs.json`. Created automatically on first use.diff --git a/skills/seo-image-gen/references/gemini-models.md b/skills/seo-image-gen/references/gemini-models.mdnew file mode 100644index 0000000..513de9f--- /dev/null+++ b/skills/seo-image-gen/references/gemini-models.md@@ -0,0 +1,200 @@+# Gemini Image Generation Models++> Last updated: 2026-03-13+> Aligned with Google's March 2026 API state++## Available Models++### gemini-3.1-flash-image-preview (Recommended)+| Property | Value |+|----------|-------|+| **Model ID** | `gemini-3.1-flash-image-preview` |+| **Tier** | Nano Banana 2 (Flash) |+| **Speed** | Fast - optimized for high-volume use |+| **Aspect Ratios** | All 14 ratios (see table below) |+| **Max Resolution** | Up to 4096×4096 (4K tier) |+| **Features** | Google Search grounding (web + image), thinking levels, image-only output, extreme aspect ratios |+| **Rate Limits (Free)** | ~10 RPM / ~500 RPD (per Google Cloud project, resets midnight Pacific) |+| **Output Tokens** | ~1,290 output tokens per image |+| **Best For** | Most use cases, rapid iteration, batch generation |++### gemini-2.5-flash-image+| Property | Value |+|----------|-------|+| **Model ID** | `gemini-2.5-flash-image` |+| **Tier** | Nano Banana 2 (Flash, previous gen) |+| **Speed** | Fast |+| **Aspect Ratios** | 1:1, 16:9, 9:16, 4:3, 3:4 |+| **Max Resolution** | Up to 1024×1024 (1K tier) |+| **Rate Limits (Free)** | ~10 RPM / ~500 RPD |+| **Best For** | Stable fallback, proven quality |++## Deprecated Models (DO NOT USE)++### gemini-3-pro-image-preview+- **Status:** Base model deprecated March 9, 2026. **Image generation variant may still be accessible**. Use at your own discretion via `set_model`. Prefer 3.1 Flash.+- **Was:** Nano Banana Pro tier (professional asset production, 4K output, 14 reference images)+- **Migration:** Use `gemini-3.1-flash-image-preview` instead++### gemini-2.0-flash-exp+- **Status:** Deprecated, replaced by gemini-2.5-flash-image++## Aspect Ratios++All 14 supported ratios. Availability varies by model:++| Ratio | Orientation | Use Cases | 3.1 Flash | 2.5 Flash |+|-------|-------------|-----------|:---------:|:---------:|+| `1:1` | Square | Social posts, avatars, thumbnails | ✅ | ✅ |+| `16:9` | Landscape | Blog headers, YouTube thumbnails, presentations | ✅ | ✅ |+| `9:16` | Portrait | Stories, Reels, TikTok, mobile | ✅ | ✅ |+| `4:3` | Landscape | Product shots, classic display | ✅ | ✅ |+| `3:4` | Portrait | Book covers, portrait framing | ✅ | ✅ |+| `2:3` | Portrait | Pinterest pins, posters | ✅ | ❌ |+| `3:2` | Landscape | DSLR standard, photo prints | ✅ | ❌ |+| `4:5` | Portrait | Instagram portrait, social | ✅ | ❌ |+| `5:4` | Landscape | Large format photography | ✅ | ❌ |+| `1:4` | Tall strip | Vertical banners, side panels | ✅ | ❌ |+| `4:1` | Wide strip | Website banners, headers | ✅ | ❌ |+| `1:8` | Extreme tall | Narrow vertical strips | ✅ | ❌ |+| `8:1` | Extreme wide | Ultra-wide banners | ✅ | ❌ |+| `21:9` | Ultra-wide | Cinematic, film-grade, ultra-wide monitors | ✅ | ❌ |++## Resolution Tiers++Control output resolution with the `imageSize` parameter. Note the **uppercase K** requirement.++| `imageSize` Value | Pixel Range | Model Availability | Use Case |+|-------------------|-------------|-------------------|----------|+| `512` | Up to 512×512 | All models | Drafts, quick iteration, low bandwidth |+| `1K` (default) | Up to 1024×1024 | All models | Standard web use, social media |+| `2K` | Up to 2048×2048 | 3.1 Flash | Quality assets, detailed work |+| `4K` | Up to 4096×4096 | 3.1 Flash | Print production, hero images, final assets |++**Notes:**+- Actual pixel dimensions depend on aspect ratio (e.g., 4K at 16:9 = 4096×2304)+- Higher resolutions consume more tokens and cost more+- Default is `1K` if `imageSize` is not specified++## API Configuration++### Endpoint+```+https://generativelanguage.googleapis.com/v1beta/models/{model-id}:generateContent+```++### Required Parameters+```json+{+ "contents": [{"parts": [{"text": "your prompt here"}]}],+ "generationConfig": {+ "responseModalities": ["TEXT", "IMAGE"],+ "imageConfig": {+ "aspectRatio": "16:9",+ "imageSize": "1K"+ }+ }+}+```++### Image-Only Output Mode+Force the model to return only an image (no text response):+```json+{+ "generationConfig": {+ "responseModalities": ["IMAGE"]+ }+}+```++### Thinking Level+Control how much the model "thinks" before generating. Higher levels improve complex compositions but increase latency:+```json+{+ "generationConfig": {+ "thinkingConfig": {+ "thinkingLevel": "medium"+ }+ }+}+```+Levels: `minimal`, `low`, `medium`, `high`++### Google Search Grounding+Ground generation in real-world visual references. Supports web and image search (3.1 Flash):+```json+{+ "tools": [{"googleSearch": {}}]+}+```+**Prompt pattern:** `[Search/source request] + [Analytical task] + [Visual translation]`++Example: "Search for the latest SpaceX Starship design, analyze its proportions and markings, then generate a photorealistic image of it at sunset on the launch pad."++### Multi-Image Input+Up to 14 reference images can be provided:+- **10 object references**: for style, composition, or visual matching+- **4 character references**: assign distinct names to preserve features across generations++Useful for character consistency, style transfer, and brand-aligned generation.++## Rate Limits by Tier++| Tier | RPM | RPD | Notes |+|------|-----|-----|-------|+| Free | ~10 | ~500 | Per Google Cloud project, resets midnight Pacific. Reduced Dec 2025. |+| Pay-as-you-go | 30 | 10,000 | Production workloads |+| Enterprise | Custom | Custom | Contact Google |++## Pricing++| Model | Resolution | Cost per Image | Notes |+|-------|-----------|---------------|-------|+| 3.1 Flash | 1K | ~$0.039 | Standard |+| 3.1 Flash | 2K | ~$0.078 | 2× standard |+| 3.1 Flash | 4K | ~$0.156 | 4× standard |+| 2.5 Flash | 1K | ~$0.039 | Standard |+| Batch API | Any | 50% discount | Asynchronous, higher latency |++Pricing is approximate and based on ~1,290 output tokens per image.+Research suggests NB2 pricing may be ~$0.067/img (vs documented $0.039). Verify current pricing at https://ai.google.dev/gemini-api/docs/pricing++## Image Output Specs++| Property | Value |+|----------|-------|+| **Format** | PNG |+| **Max Resolution** | Up to 4096×4096 (4K tier, 3.1 Flash) |+| **Color Space** | sRGB |+| **Text Rendering** | Supported - best under 25 characters |+| **Style Control** | Via prompt engineering |++## Safety Filters++Gemini uses a two-layer safety architecture:++1. **Input filters**: block prompts containing prohibited content before generation+2. **Output filters**: analyze generated images and block unsafe results++| `finishReason` | Meaning | Retryable? |+|----------------|---------|:----------:|+| `STOP` | Successful generation | N/A |+| `IMAGE_SAFETY` | Output blocked by safety filter | Rephrase prompt |+| `PROHIBITED_CONTENT` | Content policy violation | No - topic is blocked |+| `SAFETY` | General safety block | Rephrase prompt |+| `RECITATION` | Detected copyrighted content | Rephrase prompt |++**Known issue:** Filters are known to be overly cautious. Benign prompts may be blocked. Iterate with rephrased wording if this happens.++## Content Credentials++- **SynthID watermarks** are always embedded in generated images (invisible, machine-readable)+- **C2PA metadata** is included on Pro/paid outputs (verifiable provenance chain)++## Key Limitations+- No video generation (image only)+- No transparent backgrounds (PNG but always with background)+- Text rendering quality varies; keep text under 25 characters for best results+- Safety filters may block some prompts (violence, NSFW, public figures), known to be overly cautious+- Session context resets between Claude Code conversations+- `imageSize` and thinking level depend on MCP package version supportdiff --git a/skills/seo-image-gen/references/mcp-tools.md b/skills/seo-image-gen/references/mcp-tools.mdnew file mode 100644index 0000000..5499ad7--- /dev/null+++ b/skills/seo-image-gen/references/mcp-tools.md@@ -0,0 +1,115 @@+# MCP Tools Reference: @ycse/nanobanana-mcp++> Package: `@ycse/nanobanana-mcp`+> GitHub: https://github.com/YCSE/nanobanana-mcp++## Tools++### gemini_generate_image+Generate an image from a text prompt.++**Parameters:**+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `prompt` | string | Yes | Text description of the image to generate |++**Returns:** Image data + file path (saved to `~/Documents/nanobanana_generated/`)++**Example usage in Claude Code:**+```+User: "Generate a sunset over mountains in watercolor style"+→ Claude calls gemini_generate_image with prompt+→ Returns image path and description+```++### gemini_edit_image+Edit an existing image with text instructions.++**Parameters:**+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `imagePath` | string | Yes | Path to the image file to edit |+| `prompt` | string | Yes | Edit instructions |++**Returns:** Modified image data + file path++**Example:**+```+User: "Remove the background from ~/Documents/photo.png"+→ Claude calls gemini_edit_image with path and instruction+```++### gemini_chat+Multi-turn visual conversation maintaining session context.++**Parameters:**+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `message` | string | Yes | Chat message (can reference previous images) |++**Returns:** Text response + optional image++**Key feature:** Session consistency, which maintains style, characters, and context across turns. Great for iterative refinement.++### set_aspect_ratio+Configure the aspect ratio for subsequent image generations.++**Parameters:**+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `ratio` | string | Yes | Aspect ratio (e.g., "16:9", "1:1", "9:16") |++**Supported ratios:** 1:1, 16:9, 9:16, 4:3, 3:4, 2:3, 3:2, 4:5, 5:4, 1:4, 4:1, 1:8, 8:1, 21:9++### set_model+Switch the active Gemini model.++**Parameters:**+| Param | Type | Required | Description |+|-------|------|----------|-------------|+| `model` | string | Yes | Model identifier |++**Available models:**+- `gemini-3.1-flash-image-preview` (default, recommended)+- `gemini-2.5-flash-image` (stable fallback)++### get_image_history+Retrieve list of images generated in the current session.++**Parameters:** None++**Returns:** Array of image entries with paths and prompts++### clear_conversation+Reset session context and conversation history.++**Parameters:** None++**Returns:** Confirmation of reset++## Environment Variables++| Variable | Required | Description |+|----------|----------|-------------|+| `GOOGLE_AI_API_KEY` | Yes | API key from https://aistudio.google.com/apikey |+| `NANOBANANA_MODEL` | No | Override default model (default: `gemini-3.1-flash-image-preview`) |++## Output Directory+All generated images are saved to: `~/Documents/nanobanana_generated/`++Images are named with timestamps for easy identification.++## Feature Availability via MCP++Some newer Gemini API features depend on the MCP package version of `@ycse/nanobanana-mcp`. Check the package version to confirm support:++| Feature | API Status | MCP Support |+|---------|-----------|-------------|+| `imageSize` (resolution control) | Available | Depends on package version |+| Thinking level (`thinkingConfig`) | Available | Depends on package version |+| Search grounding (`googleSearch`) | Available | Depends on package version |+| Image-only output (`responseModalities: ["IMAGE"]`) | Available | Depends on package version |+| Multi-image input (up to 14 refs) | Available | Via `gemini_chat` with image paths |+| All 14 aspect ratios | Available | Via `set_aspect_ratio` |++If a feature is not yet supported by the MCP package, you can still use it via direct API calls with `curl` or the Google AI SDK.diff --git a/skills/seo-image-gen/references/post-processing.md b/skills/seo-image-gen/references/post-processing.mdnew file mode 100644index 0000000..0b4d07d--- /dev/null+++ b/skills/seo-image-gen/references/post-processing.md@@ -0,0 +1,192 @@+# Post-Processing Pipeline Reference++> Load this on-demand when the user needs image manipulation after generation.++## Prerequisites++Check availability before using:+```bash+which magick # ImageMagick 7 (preferred)+which convert # ImageMagick 6 (fallback)+which ffmpeg # For video/animation+```++Install ImageMagick if not present: `sudo apt install imagemagick` (Debian/Ubuntu) or `brew install imagemagick` (macOS).++## Common Operations++### Resize for Platforms++```bash+# Instagram post (1080x1080)+magick input.png -resize 1080x1080^ -gravity center -extent 1080x1080 instagram.png++# Twitter/X header (1500x500)+magick input.png -resize 1500x500^ -gravity center -extent 1500x500 twitter-header.png++# YouTube thumbnail (1280x720)+magick input.png -resize 1280x720^ -gravity center -extent 1280x720 youtube-thumb.png++# LinkedIn banner (1584x396)+magick input.png -resize 1584x396^ -gravity center -extent 1584x396 linkedin-banner.png++# Favicon (multi-size ICO)+magick input.png -resize 32x32 favicon.ico+```++### Background Removal (Transparency)++```bash+# Remove solid white background+magick input.png -fuzz 10% -transparent white output.png++# Remove solid color background (specify color)+magick input.png -fuzz 15% -transparent "#F0F0F0" output.png++# Clean edges after transparency (anti-alias)+magick input.png -fuzz 10% -transparent white -channel A -blur 0x1 -level 50%,100% output.png++# Auto-crop transparent padding+magick input.png -trim +repage output.png+```++### Format Conversion++```bash+# PNG to WebP (web-optimized, smaller file)+magick input.png -quality 85 output.webp++# PNG to JPEG (with white background for transparency)+magick input.png -background white -flatten -quality 90 output.jpg++# PNG to AVIF (modern, smallest size)+magick input.png -quality 80 output.avif++# SVG trace (for logos; requires potrace)+potrace input.pbm -s -o output.svg+```++### Color Adjustments++```bash+# Increase contrast+magick input.png -contrast-stretch 2%x1% output.png++# Warm color temperature+magick input.png -modulate 100,110,105 output.png++# Cool color temperature+magick input.png -modulate 100,90,95 output.png++# Desaturate (muted colors)+magick input.png -modulate 100,70,100 output.png++# Convert to grayscale+magick input.png -colorspace Gray output.png++# Sepia tone+magick input.png -sepia-tone 80% output.png+```++### Compositing++```bash+# Overlay watermark (bottom-right, 20% opacity)+magick base.png watermark.png -gravity southeast -geometry +20+20 \+ -compose dissolve -define compose:args=20 -composite output.png++# Side-by-side comparison+magick input1.png input2.png +append comparison.png++# Vertical stack+magick input1.png input2.png -append stack.png++# Add padding/border+magick input.png -bordercolor white -border 40 output.png++# Add rounded corners+magick input.png \( +clone -alpha extract -draw \+ "roundrectangle 0,0,%[fx:w-1],%[fx:h-1],20,20" \) \+ -alpha off -compose CopyOpacity -composite rounded.png+```++### Batch Processing++```bash+# Resize all PNGs in directory+for f in ~/Documents/nanobanana_generated/*.png; do+ magick "$f" -resize 800x800 "${f%.png}_thumb.png"+done++# Convert all to WebP+for f in ~/Documents/nanobanana_generated/*.png; do+ magick "$f" -quality 85 "${f%.png}.webp"+done+```++## Animation (GIF/Video from Multiple Frames)++```bash+# Create GIF from multiple images+magick -delay 100 frame1.png frame2.png frame3.png animation.gif++# Create MP4 from image sequence+ffmpeg -framerate 1 -pattern_type glob -i '*.png' \+ -c:v libx264 -pix_fmt yuv420p slideshow.mp4+```++## Note on 4K Output++With Gemini 3.1 Flash's `imageSize: "4K"` option (up to 4096×4096), many traditional+upscaling post-processing steps are no longer necessary. If your target platform accepts+images at or below 4K resolution, generate at native 4K instead of generating at 1K+and upscaling. This produces better detail and avoids upscaling artifacts.++## Green Screen Transparency Pipeline++Gemini cannot generate transparent backgrounds. Use this workaround:++### 1. Generate with green screen prompt++Append to any prompt:+```+on a solid bright green (#00FF00) chroma key background+with a thin white outline separating the subject from the background+```++### 2. Remove green screen (ImageMagick)++```bash+magick input.png -fuzz 20% -transparent "#00FF00" output.png+```++### 3. Clean edges + trim (ImageMagick)++```bash+magick output.png -channel A -blur 0x1 -level 50%,100% -trim +repage final.png+```++### 4. Alternative (FFmpeg, better for batch)++```bash+ffmpeg -i input.png -vf "colorkey=0x00FF00:0.3:0.1,despill=type=green" -pix_fmt rgba output.png+```++### Tips+- `-fuzz 20%` handles slight color variations at edges; increase to 25% for softer edges+- The white outline in the prompt helps prevent color spill on subject edges+- For batch processing, the FFmpeg approach is faster and handles despill automatically+- Always verify edges after conversion; may need manual touchup for hair/fur++## Quality Assessment++```bash+# Get image dimensions and info+magick identify -verbose input.png | head -20++# Check file size+ls -lh input.png++# Get exact pixel dimensions+magick identify -format "%wx%h" input.png+```diff --git a/skills/seo-image-gen/references/presets.md b/skills/seo-image-gen/references/presets.mdnew file mode 100644index 0000000..2b6df0b--- /dev/null+++ b/skills/seo-image-gen/references/presets.md@@ -0,0 +1,69 @@+# Brand/Style Presets Reference++> Load this on-demand when the user asks about presets or brand consistency.++## Preset Schema++Each preset is stored as `~/.banana/presets/NAME.json`:++```json+{+ "name": "tech-saas",+ "description": "Clean tech SaaS brand",+ "colors": ["#2563EB", "#1E40AF", "#F8FAFC"],+ "style": "clean minimal tech illustration, flat vectors, soft shadows",+ "typography": "bold geometric sans-serif",+ "lighting": "bright diffused studio, no harsh shadows",+ "mood": "professional, trustworthy, modern",+ "default_ratio": "16:9",+ "default_resolution": "2K"+}+```++## Example Presets++### tech-saas+- **Colors:** #2563EB, #1E40AF, #F8FAFC (blue + white)+- **Style:** Clean minimal tech illustration, flat vectors, soft shadows+- **Typography:** Bold geometric sans-serif+- **Mood:** Professional, trustworthy, modern++### luxury-brand+- **Colors:** #1A1A1A, #C9A96E, #FAFAF5 (black + gold + cream)+- **Style:** Elegant high-end photography, rich textures, deep contrast+- **Typography:** Thin elegant serif, generous letter-spacing+- **Mood:** Exclusive, sophisticated, aspirational++### editorial-magazine+- **Colors:** #000000, #FFFFFF, #FF3B30 (black + white + accent red)+- **Style:** Bold editorial photography, strong geometric composition+- **Typography:** Condensed all-caps sans-serif headlines+- **Mood:** Bold, provocative, contemporary++## How Presets Merge into Reasoning Brief++When a preset is active, Claude uses its values as defaults for the Reasoning Brief:+1. **Colors** → inform palette descriptions in Context and Style components+2. **Style** → becomes the base for the Style component+3. **Typography** → used for any text rendering+4. **Lighting** → becomes the base for the Lighting component+5. **Mood** → influences Action and Context components++User instructions always override preset values. If a user says "make it dark"+but the preset has bright lighting, follow the user's instruction.++## Managing Presets++```bash+# List presets+presets.py list++# Show details+presets.py show tech-saas++# Create interactively (Claude fills in details from conversation)+presets.py create NAME --colors "#hex,#hex" --style "..." --mood "..."++# Delete+presets.py delete NAME --confirm+```diff --git a/skills/seo-image-gen/references/prompt-engineering.md b/skills/seo-image-gen/references/prompt-engineering.mdnew file mode 100644index 0000000..b8b45ba--- /dev/null+++ b/skills/seo-image-gen/references/prompt-engineering.md@@ -0,0 +1,411 @@+# Prompt Engineering Reference: Claude Banana++> Load this on-demand when constructing complex prompts or when the user+> asks about prompt techniques. Do NOT load at startup.+>+> Aligned with Google's March 2026 "Ultimate Prompting Guide" for Gemini image generation.++## The 6-Component Reasoning Brief++Every image prompt should contain these components, written as natural+narrative paragraphs, NEVER as comma-separated keyword lists.++### 1. Subject+The main focus of the image. Describe with physical specificity.++**Good:** "A weathered Japanese ceramicist in his 70s, deep sun-etched+wrinkles mapping decades of kiln work, calloused hands cradling a+freshly thrown tea bowl with an irregular, organic rim"++**Bad:** "old man, ceramic, bowl"++### 2. Action+What is happening. Movement, pose, gesture, state of being.++**Good:** "leaning forward with intense concentration, gently smoothing+the rim with a wet thumb, a thin trail of slip running down his wrist"++**Bad:** "making pottery"++### 3. Context+Environment, setting, temporal and spatial details.++**Good:** "inside a traditional wood-fired anagama kiln workshop,+stacked shelves of drying pots visible in the soft background, late+afternoon light filtering through rice paper screens"++**Bad:** "workshop, afternoon"++### 4. Composition+Camera angle, shot type, framing, spatial relationships.++**Good:** "intimate close-up shot from slightly below eye level,+shallow depth of field isolating the hands and bowl against the+soft bokeh of the workshop behind"++**Bad:** "close up"++### 5. Lighting+Light source, quality, direction, temperature, shadows.++**Good:** "warm directional light from a single high window camera-left,+creating gentle Rembrandt lighting on the face with a soft triangle+of light on the shadow-side cheek, deep warm shadows in the workshop"++**Bad:** "natural lighting"++### 6. Style+Art medium, aesthetic reference, technical photographic details.++**Good:** "captured with a Sony A7R IV, 85mm f/1.4 GM lens, Kodak Portra+400 color grading with lifted shadows and muted earth tones, reminiscent+of Dorothea Lange's documentary portraiture"++**Bad:** "photorealistic, 8K, masterpiece"++## Domain Mode Modifier Libraries++### Cinema Mode+**Camera specs:** RED V-Raptor, ARRI Alexa 65, Sony Venice 2, Blackmagic URSA+**Lenses:** Cooke S7/i, Zeiss Supreme Prime, Atlas Orion anamorphic+**Film stocks:** Kodak Vision3 500T (tungsten), Kodak Vision3 250D (daylight), Fuji Eterna Vivid+**Lighting setups:** three-point, chiaroscuro, Rembrandt, split, butterfly, rim/backlight+**Shot types:** establishing wide, medium close-up, extreme close-up, Dutch angle, overhead crane, Steadicam tracking+**Color grading:** teal and orange, desaturated cold, warm vintage, high-contrast noir++### Product Mode+**Surfaces:** polished marble, brushed concrete, raw linen, acrylic riser, gradient sweep+**Lighting:** softbox diffused, hard key with fill card, rim separation, tent lighting, light painting+**Angles:** 45-degree hero, flat lay, three-quarter, straight-on, worm's-eye+**Style refs:** Apple product photography, Aesop minimal, Bang & Olufsen clean, luxury cosmetics++### Portrait Mode+**Focal lengths:** 85mm (classic), 105mm (compression), 135mm (telephoto), 50mm (environmental)+**Apertures:** f/1.4 (dreamy bokeh), f/2.8 (subject-sharp), f/5.6 (environmental context)+**Pose language:** candid mid-gesture, direct-to-camera confrontational, profile silhouette, over-shoulder glance+**Skin/texture:** freckles visible, pores at macro distance, catch light in eyes, subsurface scattering++### Editorial/Fashion Mode+**Publication refs:** Vogue Italia, Harper's Bazaar, GQ, National Geographic, Kinfolk+**Styling notes:** layered textures, statement accessories, monochromatic palette, contrast patterns+**Locations:** marble staircase, rooftop at golden hour, industrial loft, desert dunes, neon-lit alley+**Poses:** power stance, relaxed editorial lean, movement blur, fabric in wind++### UI/Web Mode+**Styles:** flat vector, isometric 3D, line art, glassmorphism, neumorphism, material design+**Colors:** specify exact hex or descriptive palette (e.g., "cool blues #2563EB to #1E40AF")+**Sizing:** design at 2x for retina, specify exact pixel dimensions needed+**Backgrounds:** transparent (request solid white then post-process), gradient, solid color++### Logo Mode+**Construction:** geometric primitives, golden ratio, grid-based, negative space+**Typography:** bold sans-serif, elegant serif, custom lettermark, monogram+**Colors:** max 2-3 colors, works in monochrome, high contrast+**Output:** request on solid white background, post-process to transparent++### Landscape Mode+**Depth layers:** foreground interest, midground subject, background atmosphere+**Atmospherics:** fog, mist, haze, volumetric light rays, dust particles+**Time of day:** blue hour (pre-dawn), golden hour, magic hour (post-sunset), midnight blue+**Weather:** dramatic storm clouds, clearing after rain, snow-covered, sun-dappled++### Infographic Mode+**Layout:** modular sections, clear visual hierarchy, bento grid, flow top-to-bottom+**Text:** use quotes for exact text, descriptive font style, specify size hierarchy+**Data viz:** bar charts, pie charts, flow diagrams, timelines, comparison tables+**Colors:** high-contrast, accessible palette, consistent brand colors++### Abstract Mode+**Geometry:** fractals, voronoi tessellation, spirals, fibonacci, organic flow, crystalline+**Textures:** marble veining, fluid dynamics, smoke wisps, ink diffusion, watercolor bleed+**Color palettes:** analogous harmony, complementary clash, monochromatic gradient, neon-on-black+**Styles:** generative art, data visualization art, glitch, procedural, macro photography of materials++## Advanced Techniques++### Character Consistency (Multi-turn)+Use `gemini_chat` and maintain descriptive anchors:+- First turn: Generate character with exhaustive physical description+- Following turns: Reference "the same character" + repeat 2-3 key identifiers+- Key identifiers: hair color/style, distinctive clothing, facial feature++**Multi-image reference technique** (3.1 Flash):+- Provide up to 4-5 character reference images in the conversation+- Assign distinct names to each character ("Character A: the red-haired knight")+- Model preserves features across different angles, actions, and environments+- Works best when reference images show the character from multiple angles++### Style Transfer Without Reference Images+Describe the target style exhaustively instead of referencing an image:+```+Render this scene in the style of a 1950s travel poster: flat areas of+color in a limited palette of teal, coral, and cream. Bold geometric+shapes with visible paper texture. Hand-lettered title text with a+mid-century modern typeface feel.+```++### Text Rendering Tips+- Quote exact text: `with the text "OPEN DAILY" in bold condensed sans-serif`+- **25 characters or less**:this is the practical limit for reliable rendering+- **2-3 distinct phrases max**:more text fragments degrade quality+- Describe font characteristics, not font names+- Specify placement: "centered at the top third", "along the bottom edge"+- High contrast: light text on dark, or vice versa+- **Text-first hack:** Establish the text concept conversationally first ("I need a sign that says FRESH BREAD"), then generate. The model anchors on text mentioned early+- Expect creative font interpretations, not exact replication of described styles++### Positive Framing (No Negative Prompts)+Gemini does NOT support negative prompts. Rephrase exclusions:+- Instead of "no blur" → "sharp, in-focus, tack-sharp detail"+- Instead of "no people" → "empty, deserted, uninhabited"+- Instead of "no text" → "clean, uncluttered, text-free"+- Instead of "not dark" → "brightly lit, high-key lighting"++### Search-Grounded Generation+For images based on real-world data (weather, events, statistics),+Gemini can use Google Search grounding to incorporate live information.+Useful for infographics with current data.++**Three-part formula for search-grounded prompts:**+1. `[Source/Search request`:What to look up+2. `[Analytical task`:What to analyze or extract+3. `[Visual translation`:How to render it as an image++**Example:** "Search for the current top 5 programming languages by GitHub usage in 2026, analyze their relative popularity percentages, then generate a clean infographic bar chart with the language logos and percentages in a modern dark theme."++## Prompt Adaptation Rules++When adapting prompts from the claude-prompts database (Midjourney/DALL-E/etc.)+to Gemini's natural language format:++| Source Syntax | Gemini Equivalent |+|---------------|-------------------|+| `--ar 16:9` | Call `set_aspect_ratio("16:9")` separately |+| `--v 6`, `--style raw` | Remove - Gemini has no version/style flags |+| `--chaos 50` | Describe variety: "unexpected, surreal composition" |+| `--no trees` | Positive framing: "open clearing with no vegetation" |+| `(word:1.5)` weight | Descriptive emphasis: "prominently featuring [word]" |+| `8K, masterpiece, ultra-detailed` | Keep only "ultra-realistic, high resolution"; remove the rest |+| Comma-separated tags | Expand into descriptive narrative paragraphs |+| `shot on Hasselblad` | Keep - camera specs work well in Gemini |++## Common Prompt Mistakes++1. **Keyword stuffing**:stacking generic quality terms ("8K, masterpiece, best quality") adds nothing. Use only "ultra-realistic, high resolution" at the end+2. **Tag lists**:Gemini wants prose, not "red car, sunset, mountain, cinematic"+3. **Missing lighting**:The single biggest quality differentiator+4. **No composition direction**:Results in generic centered framing+5. **Vague style**:"make it look cool" vs specific art direction+6. **Ignoring aspect ratio**:Always set before generating+7. **Overlong prompts**:Diminishing returns past ~200 words; be precise, not verbose+8. **Text longer than ~25 characters**:Rendering degrades rapidly past this limit+9. **Burying key details at the end**:In long prompts, details placed last may be deprioritized; put critical specifics (exact text, key constraints) in the first third of the prompt+10. **Not iterating with follow-up prompts**:Use `gemini_chat` for progressive refinement instead of trying to get everything right in one generation++## Proven Prompt Templates++> Extracted from 2,500+ tested prompts. These patterns consistently produce+> high-quality results. Use them as starting points and adapt to the request.++### The Winning Formula (Weight Distribution)++| Component | Weight | What to include |+|-----------|--------|-----------------|+| **Subject** | 40% | Age, skin tone, hair color/style, eye color, body type, expression |+| **Styling** | 25% | Brand names, textures, fit, accessories, colors |+| **Environment** | 15% | Location + time of day + context details |+| **Camera** | 10% | Camera model + lens + focal length + shot type |+| **Lighting** | 10% | Quality, direction, color temperature, shadows |++### Instagram Ad / Social Media++**Pattern:** `[Subject with age/appearance] + [outfit with brand/texture] + [action verb] + [setting] + [camera spec] + [lighting] + [platform aesthetic]`++**Example (Product Placement):**+```+Hyper-realistic gym selfie of athletic 24yo influencer with glowing olive+skin, wearing crinkle-textured athleisure set in mauve. iPhone 16 Pro Max+front-facing portrait mode capturing sweat droplets on collarbones, hazel+eyes enhanced by gym LED lighting. Mirror reflection shows perfect form,+golden morning light through floor-to-ceiling windows. Frayed chestnut+ponytail with baby hairs, ultra-detailed skin texture, trending aesthetic.+```++**Example (Lifestyle Ad):**+```+A 24-year-old blonde fitness model in a high-energy sports drink+advertisement. Mid-run on a beach, wearing a vibrant orange sports bra+and black shorts, playful smile and sparkling blue eyes exuding vitality.+Bottle of the drink held in hand, waves crashing in background. Shot on+Nikon D850 with 70-200mm f/2.8 lens, natural light, fast shutter speed+capturing motion. Ultra-realistic skin texture, water droplets, product+label clearly visible.+```++**Example (Luxury Lifestyle):**+```+Gorgeous Instagram model wearing a designer silk gown, luxury rooftop+restaurant, golden hour lighting, champagne in hand, luxurious aspirational+lifestyle. Captured with Sony A7R IV, 85mm f/1.4 lens, shallow depth of+field, warm color grading.+```++### Product / Commercial Photography++**Pattern:** `[Product with brand/detail] + [dynamic elements] + [surface/setting] + "commercial photography for advertising campaign" + [lighting] + "high resolution"`++**Example (Beverage):**+```+Gatorade bottle with condensation dripping down the sides, surrounded by+lightning bolts and a burst of vibrant blue and orange light rays. The+Gatorade logo is prominently displayed on the bottle, with splashes of+water frozen in mid-air. Commercial food photography for an advertising+campaign, high resolution, high level of detail, vibrant complementary+colors.+```++**Example (Food):**+```+In and Out burger with layers of fresh lettuce, melted cheese, and pretzel+bun, placed on a white surface with the In and Out logo subtly glowing in+the background. Falling french fries and golden light, warm scene.+Commercial food photography for an advertising campaign, high resolution,+high level of detail, vibrant complementary colors.+```++### Fashion / Editorial++**Pattern:** `[Subject with ethnicity/age/features] + [outfit with texture/brand/cut] + [location] + [pose/action] + [camera + lens] + [lighting quality]`++**Example (Street Style):**+```+A 24-year-old female AI influencer posing confidently in an urban cityscape+during golden hour. Flawless sun-kissed skin, long wavy brown hair, deep+green eyes. Wearing a chic streetwear outfit: oversized beige blazer,+white top, high-waisted jeans. Captured with Sony A7R IV at 85mm f/1.4,+shallow depth of field with warm golden bokeh.+```++**Example (High Fashion):**+```+Stunning 24-year-old woman, long platinum blonde hair, radiant skin,+piercing blue eyes, dressed in a chic pastel blazer with a modern+minimalist aesthetic, soft sunlight glow, high-end fashion appeal.+Shot on Canon EOS R5, 85mm f/1.2 lens.+```++**Example (Avant-Garde):**+```+A blonde fitness model transformed into a runway-ready fashion icon,+wearing a bold avant-garde outfit: cropped leather jacket with neon pink+accents, paired with high-waisted athletic shorts and knee-high boots.+Captured mid-stride on a minimalist white runway, playful twinkle in her+eye, dramatic studio lighting from above.+```++### SaaS / Tech Marketing++**Pattern:** `[UI mockup or abstract visual] + "on [dark/light] background" + [specific colors with hex] + [typography description] + "clean, premium SaaS aesthetic" + [glassmorphism/gradient/glow effects]`++**Example (Dashboard Hero):**+```+A floating glassmorphism UI card on a deep charcoal background showing a+content analytics dashboard with a rising line graph in teal (#14B8A6),+bar charts in coral (#F97316), and a circular progress indicator at 94%.+Subtle grid lines, frosted glass effect with 20% opacity, teal glow+bleeding from the card edges. Clean premium SaaS aesthetic, no text+smaller than headline size.+```++**Example (Feature Highlight):**+```+An isometric 3D illustration of interconnected data nodes on a dark navy+background. Each node is a glowing teal sphere connected by thin luminous+lines, forming a constellation pattern. One central node pulses brighter+with radiating rings. Modern tech illustration style with subtle depth+of field, volumetric lighting from below.+```++**Example (Comparison/Before-After):**+```+Split-screen image: left side shows a cluttered, dim workspace with+scattered papers, red error indicators, and a frustrated expression+conveyed through a cracked coffee mug and tangled cables. Right side+shows a clean, organized dashboard interface glowing in teal and white+on a dark background, with smooth flowing lines and checkmarks. A sharp+vertical dividing line separates chaos from clarity.+```++### Logo / Branding++**Pattern:** `[Product/bottle/item] + "with [brand element] prominently displayed" + [dynamic visual elements] + "commercial photography" + [lighting style] + "high resolution, vibrant complementary colors"`++**Example:**+```+A sleek matte black bottle with a minimal white logo mark centered on the+label, surrounded by swirling gradient ribbons of teal and coral light.+The bottle sits on a reflective dark surface, sharp studio rim lighting+separating it from the background. Product photography for luxury+branding, high resolution, dramatic contrast.+```++### Key Tactics That Make Prompts Work++1. **Name real cameras**:"Sony A7R IV", "Canon EOS R5", "iPhone 16 Pro Max" anchor realism+2. **Specify exact lens**:"85mm f/1.4" gives the model precise depth-of-field information+3. **Use age + ethnicity + features**:"24yo with olive skin, hazel eyes" beats "a person"+4. **Name brands for styling**:"Lululemon mat", "Tom Ford suit" triggers specific visual associations+5. **Include micro-details**:"sweat droplets on collarbones", "baby hairs stuck to neck"+6. **Add platform context**:"Instagram aesthetic", "commercial photography for advertising"+7. **Describe textures**:"crinkle-textured", "metallic silver", "frosted glass"+8. **Use action verbs**:"mid-run", "posing confidently", "captured mid-stride"+9. **End with "ultra-realistic, high resolution"**:these two specific anchors help on Gemini. Avoid generic stacking like "8K, masterpiece, best quality" which adds no value+10. **For products, say "prominently displayed"**:ensures the product/logo isn't hidden++### Anti-Patterns (What NOT to Do)++- **"A dark-themed Instagram ad showing..."**:too meta, describes the concept not the image+- **"A sleek SaaS dashboard visualization..."**:abstract, no visual anchors+- **"Modern, clean, professional..."**:vague adjectives that mean nothing to the model+- **"A bold call to action with..."**:describes marketing intent, not visual content+- **Describing what the viewer should feel**:instead, describe what creates that feeling++## Safety Filter Rephrase Strategies++Gemini's safety filters (Layer 2: server-side output filter) cannot be disabled.+When a prompt is blocked, the only path forward is rephrasing.++### Common Trigger Categories++| Category | Triggers on | Rephrase approach |+|----------|------------|-------------------|+| Violence/weapons | Combat, blood, injuries, firearms | Use metaphor or aftermath: "battle-worn" → "weathered veteran" |+| Medical/gore | Surgery, wounds, anatomical detail | Abstract or clinical: "open wound" → "medical illustration" |+| Real public figures | Named celebrities, politicians | Use archetypes: "Elon Musk" → "a tech entrepreneur in a minimalist office" |+| Children + risk | Minors in any ambiguous context | Add safety context: specify educational, family, or playful framing |+| NSFW/suggestive | Revealing clothing, intimate poses | Use artistic framing: "fashion editorial, fully clothed, editorial pose" |++### Rephrase Patterns++1. **Abstraction**:Replace specific dangerous elements with abstract concepts+2. **Artistic framing**:Frame content as art, editorial, or documentary+3. **Metaphor**:Use symbolic language instead of literal descriptions+4. **Positive emphasis**:Describe what IS present, not what's dangerous+5. **Context shift**:Move from threatening to educational/professional context++### Example Rephrases++| Blocked prompt | Successful rephrase |+|----------------|---------------------|+| "a soldier in combat firing a rifle" | "a determined soldier standing guard at dawn, rifle slung over shoulder, morning mist over the outpost" |+| "a scary horror monster" | "a fantastical creature from a dark fairy tale, intricate organic textures, bioluminescent accents, concept art style" |+| "dog in a fight" | "a friendly golden retriever playing energetically in a sunny park, action shot, joyful expression" |+| "medical surgery scene" | "a clean modern operating room viewed from the observation gallery, soft blue surgical lights, professional documentary style" |+| "celebrity portrait of [name]" | "a distinguished middle-aged man in a tailored navy suit, warm studio lighting, editorial portrait style" |++### Key Principle++Layer 2 (output filter) analyzes the generated image, not just the prompt.+Even well-phrased prompts can be blocked if the model's interpretation triggers+the output filter. When this happens, try shifting the visual concept further+from the trigger rather than just changing words.diff --git a/skills/seo-image-gen/references/seo-image-presets.md b/skills/seo-image-gen/references/seo-image-presets.mdnew file mode 100644index 0000000..44fbd66--- /dev/null+++ b/skills/seo-image-gen/references/seo-image-presets.md@@ -0,0 +1,137 @@+# SEO Image Presets++Pre-configured presets for common SEO image use cases. These map to banana's+preset format (see `references/presets.md` for schema details).++## Preset Templates++### og-default:Standard OG/Social Preview++```json+{+ "name": "og-default",+ "description": "Clean, professional OG image for social sharing",+ "aspect_ratio": "16:9",+ "resolution": "1K",+ "domain_mode": "Product",+ "style": {+ "colors": ["#FFFFFF", "#F5F5F5"],+ "mood": "Professional, clean, trustworthy",+ "lighting": "Bright, even studio lighting with soft shadows",+ "typography": "Modern sans-serif if text needed"+ },+ "post_processing": "magick output.png -resize 1200x630^ -gravity center -extent 1200x630 output-og.webp"+}+```++### blog-hero:Widescreen Blog Hero Image++```json+{+ "name": "blog-hero",+ "description": "Dramatic widescreen hero for blog posts",+ "aspect_ratio": "16:9",+ "resolution": "2K",+ "domain_mode": "Cinema",+ "style": {+ "colors": ["contextual"],+ "mood": "Dramatic, atmospheric, editorial",+ "lighting": "Golden hour or moody blue hour, directional",+ "typography": "None:image only"+ },+ "post_processing": "magick output.png -quality 85 output-hero.webp"+}+```++### product-white:E-commerce Product Shot++```json+{+ "name": "product-white",+ "description": "Clean white background product photography",+ "aspect_ratio": "4:3",+ "resolution": "2K",+ "domain_mode": "Product",+ "style": {+ "colors": ["#FFFFFF"],+ "mood": "Clean, professional, catalog-ready",+ "lighting": "360-degree soft studio lighting, minimal shadows",+ "typography": "None"+ },+ "prompt_suffix": "Studio product photography, clean white background, professional catalog shot, high resolution",+ "post_processing": "magick output.png -fuzz 5% -transparent white output-transparent.png"+}+```++### social-square:Social Media Square++```json+{+ "name": "social-square",+ "description": "1:1 square image for social media platforms",+ "aspect_ratio": "1:1",+ "resolution": "1K",+ "domain_mode": "UI/Web",+ "style": {+ "colors": ["brand-contextual"],+ "mood": "Engaging, scroll-stopping, platform-native",+ "lighting": "Bright, even, high-contrast",+ "typography": "Bold sans-serif if text needed, under 25 characters"+ }+}+```++### infographic-vertical:Data-Heavy Infographic++```json+{+ "name": "infographic-vertical",+ "description": "Tall vertical infographic for data visualization",+ "aspect_ratio": "2:3",+ "resolution": "4K",+ "domain_mode": "Infographic",+ "style": {+ "colors": ["brand-contextual", "data-visualization palette"],+ "mood": "Informative, structured, authoritative",+ "lighting": "Flat, even, no dramatic shadows",+ "typography": "Clear hierarchy:headline, subheads, body, captions"+ },+ "notes": "Use thinking: high for better text rendering accuracy"+}+```++### favicon-mark:Favicon / App Icon++```json+{+ "name": "favicon-mark",+ "description": "Minimal iconic mark for favicon or app icon",+ "aspect_ratio": "1:1",+ "resolution": "512",+ "domain_mode": "Logo",+ "style": {+ "colors": ["2-3 brand colors max"],+ "mood": "Minimal, recognizable, scalable",+ "lighting": "Flat, no shadows",+ "typography": "Single letter or symbol only"+ },+ "post_processing": "magick output.png -resize 32x32 favicon.ico && magick output.png -resize 180x180 apple-touch-icon.png"+}+```++## Creating Custom Presets++Users can create their own presets:+```bash+python3 ~/.claude/skills/seo-image-gen/scripts/presets.py create my-brand+```++This creates `~/.banana/presets/my-brand.json` with the full schema.+Custom presets override SEO defaults when specified.++## Preset Selection Logic++1. If user specifies a use case command (og, hero, product), load the matching preset+2. If user mentions a brand preset name, load from `~/.banana/presets/`+3. Brand presets override SEO presets for colors, mood, and typography+4. SEO presets always provide aspect ratio and resolution defaultsdiff --git a/skills/seo-images/SKILL.md b/skills/seo-images/SKILL.mdindex c2c1697..918905d 100644--- a/skills/seo-images/SKILL.md+++ b/skills/seo-images/SKILL.md@@ -7,12 +7,12 @@ description: >or "image audit".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Image Optimization Analysisdiff --git a/skills/seo-local/SKILL.md b/skills/seo-local/SKILL.mdindex 24a08ef..0770b48 100644--- a/skills/seo-local/SKILL.md+++ b/skills/seo-local/SKILL.md@@ -12,13 +12,12 @@ description: >or "local search".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Local SEO Analysis (March 2026)diff --git a/skills/seo-maps/SKILL.md b/skills/seo-maps/SKILL.mdnew file mode 100644index 0000000..5305760--- /dev/null+++ b/skills/seo-maps/SKILL.md@@ -0,0 +1,260 @@+---+name: seo-maps+description: >+ Maps intelligence for local SEO — geo-grid rank tracking, GBP profile+ auditing via API, review intelligence across Google/Tripadvisor/Trustpilot,+ cross-platform NAP verification (Google/Bing/Apple/OSM), competitor+ radius mapping, and LocalBusiness schema generation from API data.+ Three-tier capability: free (Overpass + Geoapify), DataForSEO (full+ intelligence), DataForSEO + Google (maximum coverage). Use when user+ says "maps", "geo-grid", "rank tracking", "GBP audit", "review+ velocity", "competitor radius", "maps analysis", "local rank+ tracking", "Share of Local Voice", or "SoLV".+user-invokable: true+argument-hint: "[command] [url|keyword|location]"+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+compatibility: "DataForSEO MCP for Tier 1+, Google Maps API for Tier 2"+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo+---++# Maps Intelligence (March 2026)++Maps platform analysis for local businesses. Works with external APIs to assess+how a business appears on Google Maps, Bing Places, Apple Maps, and OpenStreetMap.++**Boundary with seo-local:** This skill analyzes the business on maps PLATFORMS+(via APIs). seo-local analyzes local SEO signals on the WEBSITE (via HTML fetch).+Do not duplicate seo-local on-page analysis. Recommend `/seo local <url>` for+website-level checks.++---++## Quick Reference++| Command | What it does | Tier |+|---------|-------------|------|+| `/seo maps <url>` | Full maps presence audit (auto-selects tier) | 0+ |+| `/seo maps grid <keyword> <location>` | Geo-grid rank scan (7x7, 1 keyword default) | 1+ |+| `/seo maps reviews <business> <location>` | Cross-platform review intelligence | 1+ |+| `/seo maps competitors <keyword> <location>` | Competitor radius mapping | 0+ |+| `/seo maps nap <business-name>` | Cross-platform NAP verification | 0+ |+| `/seo maps schema <business-name>` | Generate LocalBusiness JSON-LD from data | 0+ |+| `/seo maps gbp <business> <location>` | GBP completeness audit | 1+ |++---++## Three-Tier Capability Detection++Before any analysis, detect the available capability tier:++### Tier 0 (Free)+**Detection:** DataForSEO MCP tools NOT available.+**Capabilities:** Overpass API competitor discovery, Geoapify POI search, Nominatim geocoding, static GBP checklist, schema generation, cross-platform NAP guidance.+**Load:** `references/maps-free-apis.md`++### Tier 1 (DataForSEO)+**Detection:** `business_data_business_listings_search` MCP tool IS available.+**Capabilities:** Everything in Tier 0 PLUS geo-grid rank tracking, live GBP profile audit, review intelligence (velocity, sentiment, distribution), GBP post activity, Q&A data, Tripadvisor/Trustpilot reviews.+**Load:** `references/maps-api-endpoints.md`++### Tier 2 (DataForSEO + Google Maps Platform)+**Detection:** Tier 1 available AND Google Maps API key in environment.+**Capabilities:** Everything in Tier 1 PLUS Google Places details, real-time business status, AI-powered place summaries, photo analysis.+**Note:** Google ToS restricts storage to `place_id` only. Lat/lng cached 30 days max.++**Always communicate the detected tier to the user** at the start of analysis.++---++## Geo-Grid Rank Tracking (Tier 1+)++Simulates Google Maps searches from multiple GPS coordinates to show ranking+variation across a geographic area. Requires DataForSEO.++**Load:** `references/maps-geo-grid.md` for algorithm, SoLV formula, heatmap format.+**Load:** `references/maps-api-endpoints.md` for Maps SERP endpoint details.++### Workflow++1. Geocode business address to get center lat/lng+2. Generate grid points (default: 7x7, 5km radius) using Haversine offset formula+3. **Display cost estimate and ask for confirmation before proceeding**+4. Fire DataForSEO Maps SERP API calls with `location_coordinate` per grid point+5. Find target business rank at each point+6. Calculate SoLV: `(top_3_count / total_points) * 100`+7. Render ASCII heatmap in output++### Cost Warning (REQUIRED)++Before every geo-grid scan, display:+```+Geo-Grid Scan: [keyword] at [location]+Grid: 7x7 (49 points) | Keywords: [N] | Est. cost: $[amount]+DataForSEO credits will be consumed. Proceed?+```++---++## GBP Profile Audit (Tier 1 preferred, Tier 0 manual)++Audits the 25 fields that affect Google Business Profile quality and ranking.++**Load:** `references/maps-gbp-checklist.md` for full checklist and scoring.++### Tier 1 Workflow++1. Fetch business profile via DataForSEO My Business Info API (keyword or CID)+2. Map API response fields to 25-field checklist+3. Score each field: Present + Optimized = 2pts, Present = 1pt, Missing = 0pts+4. Apply industry-specific weight multipliers+5. Normalize to 0-100 scale++### Tier 0 Workflow++1. Fetch the business website via WebFetch+2. Extract any visible GBP signals (Maps embed, place references, review widgets)+3. Apply static checklist based on detectable signals+4. Mark undetectable fields as "Unknown (requires DataForSEO for live data)"++---++## Review Intelligence (Tier 1+)++Cross-platform review analysis: velocity, sentiment, rating distribution, fake detection.++**Reference:** `references/local-seo-signals.md` for benchmarks (shared with seo-local).++### Workflow++1. Fetch Google reviews via DataForSEO Reviews API (sort by newest)+2. Calculate review velocity: reviews per month over last 6 months+3. Check 18-day rule (Sterling Sky): any 3-week gap = ranking risk+4. Analyze rating distribution: healthy = bell curve skewed to 5-star+5. Calculate owner response rate: responses / total reviews+6. Fetch Tripadvisor and Trustpilot reviews (if available)+7. Cross-platform comparison table++### Fake Review Detection Signals++Flag reviews matching 2+ of these patterns:+- Uniform timing (multiple reviews same day/hour)+- Reviewer accounts with limited history or single review+- Geographic inconsistencies (reviewer location vs business location)+- Exclusively 5-star velocity spike (vs historical baseline)+- Identical or near-identical text across reviews+- Sudden volume spike without corresponding marketing activity++---++## Competitor Radius Mapping (Tier 0+)++Identify and analyze competitors within a defined radius.++### Tier 0 (Overpass API)++**Load:** `references/maps-free-apis.md` for query templates.++1. Geocode business address+2. Query Overpass API for businesses with same OSM tag within radius+3. Parse results: name, address, phone, website, distance from center+4. Sort by distance, present as competitor landscape table++### Tier 1 (DataForSEO)++1. Use Maps SERP API with business keyword + location+2. Extract top 20 competitors with full profile data+3. Compare: rating, review count, categories, photos, attributes+4. Calculate competitive density score: competitors per km^2++---++## Cross-Platform NAP Verification (Tier 0+)++Check business listing consistency across Google, Bing Places, Apple, and OSM.++### Workflow++1. Search for business name on each platform:+ - Google: infer from GBP data or Maps SERP result+ - Bing: `WebFetch https://www.bing.com/maps?q=BUSINESS+NAME+LOCATION`+ - Apple: manual check (no public API -- recommend Apple Business Connect at businessconnect.apple.com)+ - OSM: Overpass or Nominatim search+2. Extract NAP (Name, Address, Phone) from each source+3. Compare for consistency: exact match, partial match, missing, or conflicting+4. Flag discrepancies as Critical (name mismatch), High (address mismatch), Medium (phone mismatch)+5. Recommend claiming unclaimed profiles++---++## Schema Generation (Tier 0+)++Generate LocalBusiness JSON-LD markup from collected data.++**Reference:** `references/local-schema-types.md` for industry subtypes (shared with seo-local).++### Workflow++1. Determine most specific schema subtype for the industry+2. Populate required properties: `@type`, `name`, `address`, `image`+3. Add recommended properties: `telephone`, `url`, `geo`, `openingHoursSpecification`, `priceRange`+4. Add strategic properties for multi-location: `branchOf`, `areaServed`, `sameAs`+5. Add `aggregateRating` if review data available+6. Output valid JSON-LD block ready for implementation++**Do NOT generate self-serving review markup** -- Google ignores LocalBusiness review markup from the business itself. Only mark up third-party reviews visible on the page.++---++## Reference Files++Load on-demand as needed (do NOT load all at startup):+- `references/maps-api-endpoints.md`: DataForSEO endpoint details, params, costs+- `references/maps-free-apis.md`: Overpass, Geoapify, Nominatim query templates+- `references/maps-geo-grid.md`: Grid algorithm, SoLV formula, heatmap rendering+- `references/maps-gbp-checklist.md`: 25-field GBP audit with industry weights+- `references/local-seo-signals.md`: Ranking factors, review benchmarks (shared)+- `references/local-schema-types.md`: LocalBusiness subtypes by industry (shared)++---++## Output++Generate `MAPS-ANALYSIS-{domain}.md` with:++1. **Maps Health Score: XX/100** with dimension breakdown table+2. **Capability tier detected** (Tier 0 or Tier 1) with explanation of what's available+3. **Geo-grid heatmap** (Tier 1): ASCII grid with SoLV percentage and average rank+4. **GBP profile audit**: field-by-field scoring with industry-specific weights+5. **Review intelligence**: velocity chart, rating distribution, response rate, cross-platform comparison+6. **Competitor landscape**: count in radius, top 5 by rating/reviews, competitive density+7. **Cross-platform presence**: Google/Bing/Apple/OSM listing status+8. **Schema recommendation**: generated LocalBusiness JSON-LD (if missing or incomplete)+9. **Top 10 prioritized actions** (Critical > High > Medium > Low)+10. **Cost report**: DataForSEO credits consumed during analysis (Tier 1 only)+11. **Limitations disclaimer**: what could not be assessed at current tier++---++## Cross-Skill Delegation++- Website on-page local signals: recommend `/seo local <url>`+- Full AI search visibility: recommend `/seo geo <url>`+- Schema validation and fixes: recommend `/seo schema <url>`+- Live SERP and keyword data: recommend `/seo dataforseo [command]`++---++## Error Handling++| Scenario | Action |+|----------|--------|+| DataForSEO MCP not available | Drop to Tier 0. Inform user: "DataForSEO not detected. Running free-tier analysis. For geo-grid tracking and review intelligence, install the DataForSEO extension." |+| Business not found in Maps SERP | Try My Business Info with keyword. If still not found, report "Business not found in Google Maps for this location." |+| Geocoding fails (Nominatim) | Ask user to provide coordinates or a more specific address. |+| API rate limit hit | Report the limit. Suggest waiting or using standard (queued) method instead of live. |+| No reviews found | Report zero review state. Recommend review generation strategy with 18-day cadence target. |+| Multi-location detected | Ask user which location to analyze, or offer batch mode with per-location cost estimate. |diff --git a/skills/seo-page/SKILL.md b/skills/seo-page/SKILL.mdindex d450c9f..a2c981f 100644--- a/skills/seo-page/SKILL.md+++ b/skills/seo-page/SKILL.md@@ -3,15 +3,16 @@ name: seo-pagedescription: >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.+ "analyze this page", "check page SEO", "single URL", "check this page",+ "page analysis", or provides a single URL for review.user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Single Page Analysisdiff --git a/skills/seo-plan/SKILL.md b/skills/seo-plan/SKILL.mdindex 28c5491..a2e0b5b 100644--- a/skills/seo-plan/SKILL.md+++ b/skills/seo-plan/SKILL.md@@ -3,17 +3,17 @@ name: seo-plandescription: >Strategic SEO planning for new or existing websites. Industry-specifictemplates, competitive analysis, content strategy, and implementation- roadmap. Use when user says "SEO plan", "SEO strategy", "content strategy",+ roadmap. Use when user says "SEO plan", "SEO strategy", "SEO planning",+ "content strategy", "keyword strategy", "content calendar","site architecture", or "SEO roadmap".user-invokable: trueargument-hint: "[business-type]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Strategic SEO Planningdiff --git a/skills/seo-programmatic/SKILL.md b/skills/seo-programmatic/SKILL.mdindex d794d1a..1354214 100644--- a/skills/seo-programmatic/SKILL.md+++ b/skills/seo-programmatic/SKILL.md@@ -8,13 +8,12 @@ description: >"generated pages", or "data-driven SEO".user-invokable: trueargument-hint: "[url or plan]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Programmatic SEO Analysis & Planningdiff --git a/skills/seo-schema/SKILL.md b/skills/seo-schema/SKILL.mdindex 620eeb9..64f86df 100644--- a/skills/seo-schema/SKILL.md+++ b/skills/seo-schema/SKILL.md@@ -6,13 +6,12 @@ description: >"JSON-LD", or "markup".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Schema Markup Analysis & Generationdiff --git a/skills/seo-sitemap/SKILL.md b/skills/seo-sitemap/SKILL.mdindex 6c178cb..4a4f375 100644--- a/skills/seo-sitemap/SKILL.md+++ b/skills/seo-sitemap/SKILL.md@@ -6,13 +6,12 @@ description: >"generate sitemap", "sitemap issues", or "XML sitemap".user-invokable: trueargument-hint: "[url or generate]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch- - Write+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Write+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Sitemap Analysis & Generationdiff --git a/skills/seo-technical/SKILL.md b/skills/seo-technical/SKILL.mdindex ba31eb6..046ab3a 100644--- a/skills/seo-technical/SKILL.md+++ b/skills/seo-technical/SKILL.md@@ -7,12 +7,12 @@ description: >"robots.txt", "Core Web Vitals", "site speed", or "security headers".user-invokable: trueargument-hint: "[url]"-allowed-tools:- - Read- - Grep- - Glob- - Bash- - WebFetch+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# Technical SEO Auditdiff --git a/seo/SKILL.md b/skills/seo/SKILL.mdsimilarity index 82%rename from seo/SKILL.mdrename to skills/seo/SKILL.mdindex e07472f..c1ff8e4 100644--- a/seo/SKILL.md+++ b/skills/seo/SKILL.md@@ -14,13 +14,23 @@ description: >"technical SEO", "content quality", "page speed", "structured data".user-invokable: trueargument-hint: "[command] [url]"+license: MIT+allowed-tools: Read, Grep, Glob, Bash, WebFetch, Agent+metadata:+ author: AgriciDaniel+ version: "1.6.1"+ category: seo---# SEO: Universal SEO Analysis Skill+**Invocation:** `/seo $1 $2` where `$1` is the command and `$2` is the URL or argument.++**Scripts:** Located at the plugin root `scripts/` directory.+Comprehensive SEO analysis across all industries (SaaS, local services,-e-commerce, publishers, agencies). Orchestrates 13 specialized sub-skills and 8 subagents-(+ optional extension sub-skills like seo-dataforseo).+e-commerce, publishers, agencies). Orchestrates 14 specialized sub-skills and 9 subagents+(+ 2 optional extension sub-skills: seo-dataforseo and seo-image-gen).## Quick Reference@@ -38,6 +48,7 @@ e-commerce, publishers, agencies). Orchestrates 13 specialized sub-skills and 8| `/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 maps [command] [args]` | Maps intelligence (geo-grid, GBP audit, reviews, competitors) || `/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) |@@ -47,8 +58,10 @@ e-commerce, publishers, agencies). Orchestrates 13 specialized sub-skills and 8When 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, seo-geo-3. Collect results and generate unified report with SEO Health Score (0-100)-4. Create prioritized action plan (Critical -> High -> Medium -> Low)+3. If local business detected, also spawn seo-local agent+4. If local business detected AND DataForSEO MCP available, also spawn seo-maps agent+5. Collect results and generate unified report with SEO Health Score (0-100)+6. Create prioritized action plan (Critical -> High -> Medium -> Low)For individual commands, load the relevant sub-skill directly.@@ -81,6 +94,9 @@ Load these on-demand as needed (do NOT load all at startup):- `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+Maps-specific references (loaded by seo-maps skill, not at startup):+- `references/maps-geo-grid.md`, `references/maps-gbp-checklist.md`, `references/maps-api-endpoints.md`, `references/maps-free-apis.md`+## Scoring Methodology### SEO Health Score (0-100)@@ -104,7 +120,7 @@ Weighted aggregate of all categories:## Sub-Skills-This skill orchestrates 13 specialized sub-skills (+ 2 extensions):+This skill orchestrates 14 specialized sub-skills (+ 2 extensions):1. **seo-audit** -- Full website audit with parallel delegation2. **seo-page** -- Deep single-page analysis@@ -119,8 +135,9 @@ This skill orchestrates 13 specialized sub-skills (+ 2 extensions):11. **seo-competitor-pages** -- Competitor comparison page generation12. **seo-hreflang** -- Hreflang/i18n SEO audit and generation13. **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)+14. **seo-maps** -- Maps intelligence (geo-grid, GBP audit, reviews, competitor radius)+15. **seo-dataforseo** -- Live SEO data via DataForSEO MCP (extension)+16. **seo-image-gen** -- AI image generation for SEO assets via Gemini (extension)## Subagents@@ -133,6 +150,7 @@ For parallel analysis during audits:- `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-maps` -- Geo-grid rank tracking, GBP audit, review intelligence, competitor radius mapping (conditional: spawned when Local Service detected AND DataForSEO MCP available)- `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/cwv-thresholds.md b/skills/seo/references/cwv-thresholds.mdsimilarity index 100%rename from seo/references/cwv-thresholds.mdrename to skills/seo/references/cwv-thresholds.mddiff --git a/seo/references/eeat-framework.md b/skills/seo/references/eeat-framework.mdsimilarity index 100%rename from seo/references/eeat-framework.mdrename to skills/seo/references/eeat-framework.mddiff --git a/seo/references/local-schema-types.md b/skills/seo/references/local-schema-types.mdsimilarity index 100%rename from seo/references/local-schema-types.mdrename to skills/seo/references/local-schema-types.mddiff --git a/seo/references/local-seo-signals.md b/skills/seo/references/local-seo-signals.mdsimilarity index 100%rename from seo/references/local-seo-signals.mdrename to skills/seo/references/local-seo-signals.mddiff --git a/skills/seo/references/maps-api-endpoints.md b/skills/seo/references/maps-api-endpoints.mdnew file mode 100644index 0000000..d49bb73--- /dev/null+++ b/skills/seo/references/maps-api-endpoints.md@@ -0,0 +1,160 @@+<!-- Updated: 2026-03-23 -->+# DataForSEO Maps & Business Data API Endpoints++## Source Key++- **Docs**: docs.dataforseo.com (official API documentation)+- **Pricing**: dataforseo.com/pricing (official pricing pages)++---++## Authentication & Limits++- HTTP Basic Auth (login:password)+- Rate limit: **2,000 API calls/minute** across all endpoints+- Each POST supports up to **100 tasks** in a single request+- Minimum deposit: $50. $1 free trial credit. Credits never expire.++---++## Google Maps SERP API (Geo-Grid Backbone)++**Endpoint:** `POST https://api.dataforseo.com/v3/serp/google/maps/live/advanced`+**Pricing source:** https://dataforseo.com/pricing/serp-api++### Request Parameters++| Parameter | Required | Description |+|-----------|----------|-------------|+| `keyword` | Yes | Search query (e.g., "dentist") |+| `location_name` | No | Named location (e.g., "Austin,Texas,United States") |+| `location_code` | No | DataForSEO location code (e.g., 1026339 for Austin) |+| `location_coordinate` | No | `"latitude,longitude,zoom"` (max 7 decimals, zoom 3z-21z) |+| `language_code` | No | Default: "en" |+| `device` | No | "desktop" or "mobile" |+| `depth` | No | Number of results to return |++**Critical for geo-grid:** Use `location_coordinate` to simulate searches from specific GPS points. Format: `"40.7128,-74.0060,15z"`.++### Response Fields (per business item)++`cid`, `place_id`, `feature_id`, `title`, `domain`, `url`, `category`, `additional_categories`, `address`, `phone` (via `contact_info` array), `rating.value`, `rating.votes_count`, `rating.rating_distribution` (1-5 star breakdown), `price_level`, `attributes` (grouped: accessibility, payments, children), `work_time` (per-day timetable + `current_status`), `popular_times` (hourly by day), `latitude`, `longitude`, `local_business_links` (booking, menu, order URLs)++### Pricing++| Method | Cost per task | Turnaround |+|--------|--------------|------------|+| Standard | $0.0006 (100 desktop / 20 mobile results) | Up to 5 min |+| Priority | $0.0012 | Up to 1 min |+| **Live** | **$0.002** | Up to 6 sec |++Search operators in keyword multiply cost by 5x.++---++## Google My Business Info API (Single Business Deep-Dive)++**Endpoint:** `POST https://api.dataforseo.com/v3/business_data/google/my_business_info/live`+**Pricing source:** https://dataforseo.com/pricing/business-data++### Input Options++- `keyword`: Business name + location (e.g., "Starbucks Austin TX")+- `"cid:XXXX"`: Direct CID lookup+- `"place_id:XXXX"`: Direct Place ID lookup++### Response Fields++Full profile: `title`, `description`, `category`, `additional_categories`, `category_ids`, `attributes` (available + unavailable, grouped by type), `contact_info` (phone array), `domain`, `url`, `work_hours` (per-day with open/close times), `popular_times`, `cid`, `place_id`, `rating` (with distribution), `address_info` (full breakdown), `latitude`/`longitude`, `photos_count`, `main_image`++**Cost:** $0.0015 per profile (standard queue)++**Use case:** Deep-dive on the TARGET business. Maps SERP for competitor discovery.++---++## Google Reviews API (Sentiment & Velocity)++**Endpoint:** `POST https://api.dataforseo.com/v3/business_data/google/reviews/task_post`+**Pricing source:** https://dataforseo.com/pricing/business-data++### Parameters++| Parameter | Description |+|-----------|-------------|+| `keyword` | Business name + location (or CID/place_id) |+| `depth` | Number of reviews to retrieve |+| `sort_by` | `"highest_rating"`, `"lowest_rating"`, `"most_relevant"`, `"newest"` |++### Response Fields (per review)++`review_text`, `original_review_text`, `time_ago`, `timestamp`, `rating.value`, `review_id`, `profile_name`, `profile_url`, `profile_image_url`, `owner_answer` (text + timestamp), `review_images`++### Pricing++| Method | Input Type | Cost |+|--------|-----------|------|+| Standard (per 10 reviews) | keyword | $0.003 |+| Extended (per 20 reviews) | keyword | $0.003 |+| Extended (per 20 reviews) | place_id/CID | **$0.00075** |++**Optimization:** Always use `place_id` or `cid` input (4x cheaper than keyword).++---++## Google Q&A API++**Endpoint:** `POST https://api.dataforseo.com/v3/business_data/google/questions_and_answers/live`++Returns questions, answers, upvotes, dates, answer sources. Live and standard methods available.++**Use case:** Identify unanswered questions, FAQ gap analysis.++**Note:** Google deprecated GBP Q&A in Dec 2025 (replaced by Ask Maps Gemini AI). This endpoint returns historical data.++---++## Business Listings Search (Pre-Indexed Database)++**Endpoint:** `POST https://api.dataforseo.com/v3/business_data/business_listings/search/live`++Queries DataForSEO's pre-indexed database (not live Google). Faster for bulk category-based queries. Up to 700+ results per query.++**Categories Aggregation:** `/v3/business_data/business_listings/categories_aggregation/live` provides category taxonomy.++**MCP tool name:** `business_data_business_listings_search`++---++## Cross-Platform Review APIs++### Tripadvisor++- Search: `/v3/business_data/tripadvisor/search/task_post`+- Reviews: `/v3/business_data/tripadvisor/reviews/task_post`+- Billed per 30 reviews. Standard method only.++### Trustpilot++- Search: `/v3/business_data/trustpilot/search/task_post`+- Reviews: `/v3/business_data/trustpilot/reviews/task_post`+- ~$0.00075/task. Standard method only.++---++## Cost Estimation Table++| Operation | API Calls | Est. Cost (Live) |+|-----------|-----------|-----------------|+| 7x7 geo-grid, 1 keyword | 49 | $0.098 |+| 7x7 geo-grid, 3 keywords | 147 | $0.294 |+| 3x3 geo-grid, 1 keyword | 9 | $0.018 |+| Target business profile | 1 | $0.0015 |+| 100 reviews (via place_id) | 5 | $0.00375 |+| 20 competitor profiles | 20 | $0.03 |+| GBP posts audit | 1 | ~$0.002 |+| Q&A retrieval | 1 | ~$0.002 |+| **Full audit (1-keyword grid)** | **~73** | **~$0.13** |+| **Full audit (3-keyword grid)** | **~171** | **~$0.33** |++**Formula:** `grid_size^2 x keywords x $0.002` (live) or `x $0.0006` (standard)diff --git a/skills/seo/references/maps-free-apis.md b/skills/seo/references/maps-free-apis.mdnew file mode 100644index 0000000..e58f81d--- /dev/null+++ b/skills/seo/references/maps-free-apis.md@@ -0,0 +1,176 @@+<!-- Updated: 2026-03-23 -->+# Free Maps APIs for claude-seo++## Source Key++- **Docs**: Official API documentation for each service+- **Policy**: Official usage policies and terms++---++## Overpass API (Best Free Option for Competitor Discovery)++**Base URL:** `https://overpass-api.de/api/interpreter`+**Docs:** https://wiki.openstreetmap.org/wiki/Overpass_API+**License:** ODbL (attribution required: "Data from OpenStreetMap")++### Rate Limits++- Slot-based: ~2 concurrent queries per IP+- Guideline: ~10,000 requests/day, ~1 GB/day download+- Default timeout: 180 seconds, 512 MiB memory per query+- Use `[timeout:25]` for lighter queries++### Query Templates++**Restaurants within 5km radius:**+```bash+curl -s "https://overpass-api.de/api/interpreter" \+ --data-urlencode 'data=[out:json][timeout:25];(node["amenity"="restaurant"](around:5000,LAT,LNG);way["amenity"="restaurant"](around:5000,LAT,LNG););out body;>;out skel qt;'+```++**All businesses on a street:**+```bash+curl -s "https://overpass-api.de/api/interpreter" \+ --data-urlencode 'data=[out:json][timeout:25];way["name"="STREET_NAME"]["addr:city"="CITY"];(._;>;);out body;'+```++**Competitor POIs by category in bounding box:**+```bash+curl -s "https://overpass-api.de/api/interpreter" \+ --data-urlencode 'data=[out:json][timeout:25];(node["amenity"="dentist"](SOUTH,WEST,NORTH,EAST);way["amenity"="dentist"](SOUTH,WEST,NORTH,EAST););out body;>;out skel qt;'+```++### Key OSM Tags for Local SEO++| Category | OSM Tag | Examples |+|----------|---------|---------|+| Food & Drink | `amenity=restaurant`, `amenity=cafe`, `amenity=fast_food` | Restaurants, cafes, takeaway |+| Healthcare | `amenity=dentist`, `amenity=doctors`, `amenity=pharmacy` | Dental, medical, pharmacy |+| Legal | `office=lawyer`, `office=notary` | Law firms, notaries |+| Home Services | `craft=plumber`, `craft=electrician`, `craft=hvac` | Trades, contractors |+| Retail | `shop=supermarket`, `shop=clothes`, `shop=car` | All retail types |+| Automotive | `shop=car`, `shop=car_repair`, `amenity=fuel` | Dealers, repair, gas |+| Hospitality | `tourism=hotel`, `tourism=motel`, `tourism=guest_house` | Accommodation |+| Financial | `amenity=bank`, `office=insurance`, `office=accountant` | Banks, insurance, accounting |++### Response Fields++Each element returns: `id`, `lat`, `lon`, `tags` object containing `name`, `phone`, `website`, `opening_hours`, `addr:street`, `addr:housenumber`, `addr:city`, `addr:postcode`, `cuisine`, `brand`, etc.++### Limitations++- No reviews, ratings, or popularity data+- No GBP-specific information+- Data quality varies by region (excellent in Europe, inconsistent elsewhere)+- Volunteer-contributed data; may be outdated+- Interactive tester: https://overpass-turbo.eu/++---++## Geoapify Places API (Structured POI Search)++**Base URL:** `https://api.geoapify.com/v2/places`+**Docs:** https://apidocs.geoapify.com/docs/places/+**Pricing:** https://www.geoapify.com/pricing++### Free Tier++- **3,000 credits/day** (1 credit = 20 places returned)+- 5 requests/second+- Requires API key (free registration, no credit card)+- **Caching and storage explicitly permitted** (unlike Google)++### Query Template++```bash+curl -s "https://api.geoapify.com/v2/places?categories=catering.restaurant&filter=circle:LNG,LAT,5000&limit=20&apiKey=YOUR_KEY"+```++### Category Hierarchy++Uses dot-separated categories: `catering.restaurant`, `commercial.supermarket`, `healthcare.dentist`, `service.financial.accounting`, `commercial.vehicle.car_dealer`++### Response Format++GeoJSON FeatureCollection. Each feature has `properties`: `name`, `city`, `state`, `postcode`, `country`, `street`, `housenumber`, `phone`, `website`, `categories`, `lat`, `lon`, `place_id`, `formatted` (full address string)++### Advantages Over Raw Overpass++- Cleaner, structured responses+- Aggregated data (OSM + OpenAddresses + WhosOnFirst + GeoNames)+- Hierarchical category taxonomy+- No rate limit surprises (clear credit system)++---++## Nominatim (Geocoding Only)++**Base URL:** `https://nominatim.openstreetmap.org`+**Docs:** https://nominatim.org/release-docs/latest/api/Overview/+**Policy:** https://operations.osmfoundation.org/policies/nominatim/++### Rate Limits (STRICT)++- **1 request/second** (absolute)+- Must include valid `User-Agent` header (stock library agents rejected)+- Auto-complete queries **forbidden**+- Bulk geocoding **forbidden** on public instance+- Repeated identical queries trigger bans (cache results)++### Forward Geocoding++```bash+curl -s "https://nominatim.openstreetmap.org/search?q=123+Main+St+Austin+TX&format=json&addressdetails=1" \+ -H "User-Agent: claude-seo/1.7.0"+```++### Reverse Geocoding++```bash+curl -s "https://nominatim.openstreetmap.org/reverse?lat=40.7128&lon=-74.0060&format=json" \+ -H "User-Agent: claude-seo/1.7.0"+```++### Response Fields++`place_id`, `lat`, `lon`, `display_name`, `importance`, `category`, `type`, `address` object (house_number, road, city, state, postcode, country)++### Best Use++- Address-to-coordinates conversion for geo-grid center point+- Reverse geocoding to validate business addresses+- **NOT suitable** for business listing discovery (use Overpass or Geoapify)++---++## Rate Limit Enforcement Pattern++```bash+# Nominatim: enforce 1 req/sec with sleep+for addr in "${addresses[@]}"; do+ curl -s "https://nominatim.openstreetmap.org/search?q=${addr}&format=json" \+ -H "User-Agent: claude-seo/1.7.0"+ sleep 1.1+done++# Overpass: no explicit rate limit, but use reasonable timeouts+# If HTTP 429 returned, implement exponential backoff++# Geoapify: 5 req/sec on free tier, no explicit enforcement needed+```++---++## Comparison Table++| Feature | Overpass | Geoapify | Nominatim |+|---------|---------|----------|-----------|+| Business discovery | Yes (tags) | Yes (categories) | Limited |+| Reviews/ratings | No | No | No |+| Geocoding | No | Yes | **Best** |+| Rate limit | ~10k/day | 3k credits/day | 1 req/sec |+| Auth required | No | API key | No |+| Caching allowed | Yes | **Explicitly** | **Required** |+| Data quality | Regional | Aggregated | Regional |+| Best for | Radius competitor search | Structured POI search | Address resolution |diff --git a/skills/seo/references/maps-gbp-checklist.md b/skills/seo/references/maps-gbp-checklist.mdnew file mode 100644index 0000000..6353d44--- /dev/null+++ b/skills/seo/references/maps-gbp-checklist.md@@ -0,0 +1,150 @@+<!-- Updated: 2026-03-23 -->+# GBP Profile Completeness Checklist (Via API)++This checklist scores a Google Business Profile using data retrieved from+the DataForSEO My Business Info API. It measures profile completeness on+the maps PLATFORM, not on-page signals (seo-local handles on-page).++## Sources++- Google official: https://support.google.com/business/answer/7091+- Whitespark 2026 Local Search Ranking Factors (Study)+- BrightLocal LCRS 2026 (Study)++---++## Scoring System++Each field: **Present + Optimized = 2pts**, **Present = 1pt**, **Missing = 0pts**++Total possible: 50 points. Normalize to 0-100 scale: `(score / 50) * 100`++---++## Critical Fields (Direct Ranking Impact)++| # | Field | Points | Optimized Criteria |+|---|-------|--------|-------------------|+| 1 | **Primary category** | 2 | Most specific subtype for industry (e.g., "Cosmetic Dentist" not "Dentist") |+| 2 | **Additional categories** | 2 | 3-5 relevant categories (optimal: 4 additional per BrightLocal) |+| 3 | **Business name** | 2 | Matches real-world name exactly (no keyword stuffing) |+| 4 | **Physical address** | 2 | Complete, matches website NAP |+| 5 | **Phone number** | 2 | Local number (not toll-free), matches website |+| 6 | **Website URL** | 2 | Points to correct page (not strongest page -- Diversity Update risk) |+| 7 | **Business hours** | 2 | Complete with special/holiday hours. Open-at-search-time = factor #5 |+| 8 | **Verified status** | 2 | Google Verified badge active |++**Subtotal: 16 points (8 fields)**++---++## Important Fields (Significant Influence)++| # | Field | Points | Optimized Criteria |+|---|-------|--------|-------------------|+| 9 | **Business description** | 2 | 250-750 chars, includes primary service + location keywords naturally |+| 10 | **Services list** | 2 | All core services listed with descriptions |+| 11 | **Products** | 2 | Key products/services with prices (if applicable) |+| 12 | **Photos** | 2 | 10+ photos across types: logo, cover, interior, exterior, team, products |+| 13 | **Photo recency** | 2 | Photos uploaded within last 30 days |+| 14 | **Attributes** | 2 | Relevant attributes set (accessibility, payments, amenities, identity) |+| 15 | **Service areas** | 2 | Defined for SABs, up to 20 areas (cities or zip codes) |+| 16 | **Menu/services link** | 2 | Menu URL (restaurants) or services URL (others) |++**Subtotal: 16 points (8 fields)**++---++## Supplementary Fields (Supporting Signals)++| # | Field | Points | Optimized Criteria |+|---|-------|--------|-------------------|+| 17 | **Google Posts** | 2 | Active posting (1+/week). Types: update, offer, event, product |+| 18 | **Post recency** | 2 | Post within last 7 days |+| 19 | **Booking link** | 2 | Appointment/reservation URL configured |+| 20 | **Social profiles** | 2 | Linked via `sameAs` or GBP social links |+| 21 | **Logo** | 2 | High-quality square logo uploaded |+| 22 | **Cover photo** | 2 | On-brand, high-resolution cover image |+| 23 | **Videos** | 2 | At least 1 video uploaded |+| 24 | **Owner responses** | 2 | Responding to reviews (target: 80%+ response rate) |+| 25 | **Q&A engagement** | 2 | FAQ content on website (GBP Q&A deprecated Dec 2025) |++**Subtotal: 18 points (9 fields)**++---++## Industry-Specific Weight Adjustments++When scoring, apply multipliers to fields that matter more for specific industries:++### Restaurant+- Menu/services link: **x2** (critical for food-related searches)+- Photos: **x1.5** (food photos drive engagement)+- Booking link: **x1.5** (reservation systems expected)+- Attributes: **x1.5** (dietary, dine-in/takeout/delivery critical)++### Healthcare+- Business hours: **x1.5** (patients need accurate hours)+- Attributes: **x1.5** (insurance, accessibility, telehealth)+- Services list: **x2** (insurance and procedure matching)++### Legal+- Business description: **x1.5** (practice area clarity)+- Services list: **x2** (practice area matching drives visibility)+- Photos: **x0.5** (less impactful for legal)++### Home Services+- Service areas: **x2** (SAB model depends on this)+- Business hours: **x1.5** (emergency availability)+- Photos: **x1.5** (before/after project photos)++### Real Estate+- Photos: **x2** (property photos critical)+- Social profiles: **x1.5** (agent branding)+- Posts: **x1.5** (listing updates)++### Automotive+- Products: **x2** (vehicle inventory)+- Photos: **x2** (vehicle photos)+- Services list: **x1.5** (sales + service departments)++### Re-normalization After Multipliers++After applying industry multipliers, re-normalize so the total remains 0-100:+```+final_score = (weighted_raw_score / max_possible_weighted_score) * 100+```+This ensures consistent scoring regardless of which industry multipliers are active.++---++## Score Interpretation++| Score | Rating | Action |+|-------|--------|--------|+| 90-100 | Excellent | Maintain posting cadence and photo freshness |+| 75-89 | Good | Fill remaining gaps in supplementary fields |+| 50-74 | Needs Work | Missing important fields, address Critical + Important gaps |+| 25-49 | Poor | Major profile gaps hurting visibility. Prioritize Critical fields |+| 0-24 | Critical | Profile barely exists or unclaimed. Start with verification + Critical fields |++---++## Data Mapping (DataForSEO → Checklist)++| Checklist Field | DataForSEO My Business Info Field |+|----------------|----------------------------------|+| Primary category | `category` |+| Additional categories | `additional_categories` |+| Business name | `title` |+| Address | `address_info` |+| Phone | `contact_info` (type: phone) |+| Website | `domain`, `url` |+| Hours | `work_hours` |+| Description | `description` |+| Services | (separate API or attributes) |+| Photos | `photos_count`, `main_image` |+| Attributes | `attributes` (grouped by type) |+| Popular times | `popular_times` |+| Posts | My Business Updates API |+| Verified status | Not directly exposed — infer from profile completeness + Maps SERP presence, or flag as "Unknown (manual check required)" |diff --git a/skills/seo/references/maps-geo-grid.md b/skills/seo/references/maps-geo-grid.mdnew file mode 100644index 0000000..da18d33--- /dev/null+++ b/skills/seo/references/maps-geo-grid.md@@ -0,0 +1,154 @@+<!-- Updated: 2026-03-23 -->+# Geo-Grid Rank Tracking Algorithm++## Concept++Geo-grid rank tracking simulates Google Maps searches from multiple GPS+coordinates around a business to show how rankings vary across a geographic+area. The output is a heatmap revealing where the business ranks well (green)+and where competitors dominate (red).++---++## Grid Generation (Haversine-Based)++### Algorithm++1. Take center coordinates (business location): `center_lat`, `center_lng`+2. Define grid size (e.g., 7x7 = 49 points) and radius in km+3. Calculate spacing: `step = (2 * radius_km) / (grid_size - 1)`+4. Generate grid points using offset formula:++```+For each row i (0 to grid_size-1) and column j (0 to grid_size-1):+ dy = (i - center_index) * step_km+ dx = (j - center_index) * step_km+ new_lat = center_lat + (dy / 111.32)+ new_lng = center_lng + (dx / (111.32 * cos(center_lat * pi/180)))+```++Where `center_index = (grid_size - 1) / 2` and `111.32 km = 1 degree latitude`.++### Grid Sizes and Use Cases++| Grid | Points | Typical Radius | Best For | Est. Cost (Live) |+|------|--------|---------------|----------|-----------------|+| 3x3 | 9 | 2 km | Quick snapshot, low budget | $0.018/keyword |+| 5x5 | 25 | 3 km | Standard urban audit | $0.050/keyword |+| **7x7** | **49** | **5 km** | **Default. Best balance of coverage and cost** | **$0.098/keyword** |+| 9x9 | 81 | 8 km | Suburban/wide service area | $0.162/keyword |+| 13x13 | 169 | 15 km | Rural or large metro | $0.338/keyword |++**Radius guidelines:** Urban dense = 2-5 km, suburban = 5-10 km, rural = 10-25 km.++---++## DataForSEO Integration++Use the Google Maps SERP API with `location_coordinate` parameter:++```json+{+ "keyword": "dentist",+ "location_coordinate": "30.2672,-97.7431,15z",+ "language_code": "en",+ "device": "mobile",+ "depth": 20+}+```++For each grid point, fire one API call with the point's lat/lng. Parse the+`items` array to find the target business rank (position in results).++**Rate optimization:** DataForSEO allows up to 100 tasks per POST. For a 7x7+grid, batch all 49 tasks into a single request to minimize HTTP overhead.++---++## Share of Local Voice (SoLV)++Metric pioneered by Local Falcon. Measures visibility across the grid.++### Calculation++```+SoLV = (points_in_top_3 / total_grid_points) * 100+```++### Interpretation++| SoLV | Interpretation |+|------|---------------|+| 80-100% | Dominant. Business owns the local area. |+| 60-79% | Strong. Visible in most of the service area. |+| 40-59% | Moderate. Significant gaps in coverage. |+| 20-39% | Weak. Competitors dominate most areas. |+| 0-19% | Critical. Nearly invisible in maps results. |++### Extended Metrics++- **Average Rank**: Mean position across all grid points (lower = better)+- **Visibility Score**: Weighted average where top 3 = 3pts, 4-10 = 1pt, 10+ = 0pts+- **Worst Quadrant**: Identify which compass direction has weakest rankings++---++## ASCII Heatmap Rendering++For terminal/Markdown output, render a grid using rank-position symbols:++### Format++```+Geo-Grid: "dentist" (7x7, 5km radius, center: 30.267, -97.743)++ W -------- E+ N 1 1 2 3 5 8 -+ | 1 1 1 2 3 6 9+ | 2 1 [1] 1 2 4 7+ | 3 2 1 1 1 3 5+ | 5 3 2 1 2 4 8+ | 8 5 3 2 3 6 -+ S - 8 5 4 5 9 -++Legend: [1]=center, 1-3=top 3 (strong), 4-10=visible, -=not ranked+SoLV: 57% (28/49 grid points in top 3)+Avg Rank: 3.4 | Weakest: NE quadrant (avg rank 7.2)+```++### Color Mapping (for enhanced output)++| Position | Symbol | Meaning |+|----------|--------|---------|+| 1 | `1` | #1 ranking (best) |+| 2-3 | `2`, `3` | Top 3 (strong local presence) |+| 4-10 | `4`-`9` | Visible but not dominant |+| 11-20 | `+` | Buried in results |+| Not found | `-` | Not ranking at this point |++---++## Multi-Keyword Grid++For comprehensive analysis, scan 2-3 keywords on the same grid:++1. Primary service keyword (e.g., "dentist")+2. Brand + location (e.g., "Smith Dental Austin")+3. Long-tail intent (e.g., "emergency dentist near me")++**Cost for 3-keyword 7x7 scan:** 147 API calls = ~$0.29 (live) or ~$0.088 (standard)++---++## Cost Warning Template++Before running a geo-grid scan, display:++```+Geo-Grid Scan Estimate:+ Grid: 7x7 (49 points)+ Keywords: 3+ API calls: 147+ Estimated cost: $0.09 (standard) - $0.29 (live)+ Proceed? [DataForSEO credits will be consumed]+```diff --git a/seo/references/quality-gates.md b/skills/seo/references/quality-gates.mdsimilarity index 100%rename from seo/references/quality-gates.mdrename to skills/seo/references/quality-gates.mddiff --git a/seo/references/schema-types.md b/skills/seo/references/schema-types.mdsimilarity index 100%rename from seo/references/schema-types.mdrename to skills/seo/references/schema-types.md