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.
fix(dataforseo): only name MCP tools the pinned server really has (#317)
Agrici Daniel6ca6698e3227
diff --git a/extensions/dataforseo/skills/seo-dataforseo/SKILL.md b/extensions/dataforseo/skills/seo-dataforseo/SKILL.mdindex fd3f09b..43ba793 100644--- a/extensions/dataforseo/skills/seo-dataforseo/SKILL.md+++ b/extensions/dataforseo/skills/seo-dataforseo/SKILL.md@@ -134,7 +134,11 @@ Deep analysis of a specific YouTube video: info, comments, and subtitles. TreatFetch live Google Images search results. See which images rank for a keyword,which domains dominate image results, and identify visual content opportunities.-**MCP tools:** `serp_google_images_live_advanced`+**MCP tools:** none. The pinned `[email protected]` exposes no+Google Images SERP tool (checked against the package, 2026-09-23). Say image+SERP data is unavailable through the MCP and never call a tool by that name;+an `images` element in `serp_organic_live_advanced` results, when present,+is the closest substitute.**Default parameters:** location_code=2840 (US), language_code=en, device=desktop, depth=100@@ -379,7 +383,7 @@ When DataForSEO MCP tools are available, other claude-seo skills can leverage li- **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-images**:Use `serp_google_images_live_advanced` for competitor image SERP data, cross-reference with on-page image audit+- **seo-images**:No Google Images SERP tool on the pinned MCP server; use any `images` element from `serp_organic_live_advanced`, cross-referenced with the on-page image audit- **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 intelligencediff --git a/skills/seo-backlinks/SKILL.md b/skills/seo-backlinks/SKILL.mdindex 87e5ece..812f5ca 100644--- a/skills/seo-backlinks/SKILL.md+++ b/skills/seo-backlinks/SKILL.md@@ -17,7 +17,7 @@ metadata:Before analysis, detect available data sources:-1. **DataForSEO MCP** (premium): Check if `dataforseo_backlinks_summary` tool is available+1. **DataForSEO MCP** (premium): Check if `backlinks_summary` tool is available2. **Moz API** (free signup): `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run backlinks_auth.py --check moz --json`3. **Bing Webmaster** (free signup): `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run backlinks_auth.py --check bing --json`4. **Keywords Everywhere** (free signup, single-metric): `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run backlinks_auth.py --check keywordseverywhere --json`@@ -47,7 +47,7 @@ Produce all 7 sections below. Each section lists data sources in preference orde### 1. Profile Overview-**DataForSEO:** `dataforseo_backlinks_summary` → total backlinks, referring domains, domain rank, follow ratio, trend.+**DataForSEO:** `backlinks_summary` → total backlinks, referring domains, domain rank, follow ratio, trend.**Moz API:** `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run moz_api.py metrics <url> --json` → Domain Authority, Page Authority, Spam Score, linking root domains, external links.@@ -66,7 +66,7 @@ Produce all 7 sections below. Each section lists data sources in preference orde### 2. Anchor Text Distribution-**DataForSEO:** `dataforseo_backlinks_anchors`+**DataForSEO:** `backlinks_anchors`**Moz API:** `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run moz_api.py anchors <url> --json`@@ -87,7 +87,7 @@ Flag if exact-match anchors exceed 15% as a review heuristic; it may indicate un### 3. Referring Domain Quality-**DataForSEO:** `dataforseo_backlinks_referring_domains`+**DataForSEO:** `backlinks_referring_domains`**Moz API:** `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run moz_api.py domains <url> --json` → domains with DA scores@@ -101,7 +101,7 @@ Analyze:### 4. Toxic Link Detection-**DataForSEO:** `dataforseo_backlinks_bulk_spam_score` + toxic patterns from reference+**DataForSEO:** `backlinks_bulk_spam_score` + toxic patterns from reference**Moz API:** Raw vendor spam_score from `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run moz_api.py metrics <url> --json` (source-label the value; apply thresholds only if verified against current Moz docs)@@ -125,7 +125,7 @@ Load `../seo/references/backlink-quality.md` for the full 30 toxic patterns and### 5. Top Pages by Backlinks-**DataForSEO:** `dataforseo_backlinks_backlinks` with target type "page"+**DataForSEO:** `backlinks_backlinks` with target type "page"**Moz API:** `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run moz_api.py pages <domain> --json`@@ -137,7 +137,7 @@ Find:### 6. Competitor Gap Analysis-**DataForSEO:** `dataforseo_backlinks_referring_domains` for both domains, then compare+**DataForSEO:** `backlinks_referring_domains` for both domains, then compare**Bing Webmaster:** `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run bing_webmaster.py compare <url1> <url2> --json`only when both properties are registered and accessible to the same Bing API@@ -153,7 +153,7 @@ Output:### 7. New and Lost Backlinks-**DataForSEO only:** `dataforseo_backlinks_backlinks` with date filters for 30/60/90 day changes+**DataForSEO only:** `backlinks_backlinks` with date filters for 30/60/90 day changes**Verification Crawler:** For known links, verify current status with `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run verify_backlinks.py --target <url> --links <file> --json`diff --git a/skills/seo-content-brief/SKILL.md b/skills/seo-content-brief/SKILL.mdindex d3e2aba..b920a5e 100644--- a/skills/seo-content-brief/SKILL.md+++ b/skills/seo-content-brief/SKILL.md@@ -230,7 +230,7 @@ When the user asks for "just an outline" or "content outline" instead of a full## DataForSEO Integration (Optional)-If DataForSEO MCP tools are available, use `serp_organic_live_advanced` for real SERP data and competitor analysis, `kw_data_google_ads_search_volume` for keyword volume, `dataforseo_labs_bulk_keyword_difficulty` for difficulty scores, `dataforseo_labs_search_intent` for intent classification, and `on_page_content_parsing_live` for competitor content extraction.+If DataForSEO MCP tools are available, use `serp_organic_live_advanced` for real SERP data and competitor analysis, `kw_data_google_ads_search_volume` for keyword volume, `dataforseo_labs_bulk_keyword_difficulty` for difficulty scores, `dataforseo_labs_search_intent` for intent classification, and `on_page_content_parsing` for competitor content extraction.## Ahrefs Integration (Optional)diff --git a/skills/seo-dataforseo/SKILL.md b/skills/seo-dataforseo/SKILL.mdindex 38a9e63..23b0417 100644--- a/skills/seo-dataforseo/SKILL.md+++ b/skills/seo-dataforseo/SKILL.md@@ -134,7 +134,11 @@ Deep analysis of a specific YouTube video: info, comments, and subtitles. Some tFetch live Google Images search results. See which images rank for a keyword,which domains dominate image results, and identify visual content opportunities.-**MCP tools:** `serp_google_images_live_advanced`+**MCP tools:** none. The pinned `[email protected]` exposes no+Google Images SERP tool (checked against the package, 2026-09-23). Say image+SERP data is unavailable through the MCP and never call a tool by that name;+an `images` element in `serp_organic_live_advanced` results, when present,+is the closest substitute.**Default parameters:** location_code=2840 (US), language_code=en, device=desktop, depth=100@@ -379,7 +383,7 @@ When DataForSEO MCP tools are available, other claude-seo skills can leverage li- **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-images**:Use `serp_google_images_live_advanced` for competitor image SERP data, cross-reference with on-page image audit+- **seo-images**:No Google Images SERP tool on the pinned MCP server; use any `images` element from `serp_organic_live_advanced`, cross-referenced with the on-page image audit- **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 intelligencediff --git a/skills/seo-ecommerce/SKILL.md b/skills/seo-ecommerce/SKILL.mdindex 0858916..d335600 100644--- a/skills/seo-ecommerce/SKILL.md+++ b/skills/seo-ecommerce/SKILL.md@@ -195,8 +195,10 @@ Identify mismatches between organic and Shopping visibility.1. Fetch organic rankings via seo-dataforseo:`dataforseo_labs_google_ranked_keywords` for domain-2. Fetch Google Shopping presence via Merchant API:- `merchant_google_products_search` for top organic keywords+2. Fetch Google Shopping presence through the Merchant REST script (not an+ MCP tool; the cost-ledger key is `merchant_google_products_search`):+ `"${CLAUDE_PLUGIN_ROOT}/scripts/claude-seo" run dataforseo_merchant.py search <keyword>`+ for the top organic keywords3. Cross-reference results### Gap Typesdiff --git a/skills/seo-images/SKILL.md b/skills/seo-images/SKILL.mdindex e2c7f4c..65fc091 100644--- a/skills/seo-images/SKILL.md+++ b/skills/seo-images/SKILL.md@@ -204,7 +204,9 @@ When DataForSEO MCP is available, enhance the image audit with competitive data.Cross-reference on-page images with Google Images SERP rankings.**Workflow:**-1. Fetch Google Images results via `serp_google_images_live_advanced` (depth=100)+1. The pinned DataForSEO MCP server (2.8.10) has no Google Images SERP tool.+ Use the `images` element of `serp_organic_live_advanced` (depth=100) when the+ SERP has one, and say plainly when no image SERP data is available2. Extract: top domains, image types, alt text patterns3. Output competitor image SERP landscapediff --git a/tests/fixtures/dataforseo_mcp_2_8_10_tools.txt b/tests/fixtures/dataforseo_mcp_2_8_10_tools.txtnew file mode 100644index 0000000..16d018c--- /dev/null+++ b/tests/fixtures/dataforseo_mcp_2_8_10_tools.txt@@ -0,0 +1,80 @@+ai_optimization_chat_gpt_scraper+ai_optimization_chat_gpt_scraper_locations+ai_optimization_keyword_data_search_volume+ai_optimization_llm_mentions_filters+ai_optimization_llm_models+ai_optimization_llm_response+ai_opt_kw_data_loc_and_lang+ai_opt_llm_ment_agg_metrics+ai_opt_llm_ment_cross_agg_metrics+ai_opt_llm_ment_loc_and_lang+ai_opt_llm_ment_search+ai_opt_llm_ment_top_domains+ai_opt_llm_ment_top_pages+backlinks_anchors+backlinks_available_filters+backlinks_backlinks+backlinks_bulk_backlinks+backlinks_bulk_new_lost_backlinks+backlinks_bulk_new_lost_referring_domains+backlinks_bulk_pages_summary+backlinks_bulk_ranks+backlinks_bulk_referring_domains+backlinks_bulk_spam_score+backlinks_competitors+backlinks_domain_intersection+backlinks_domain_pages+backlinks_domain_pages_summary+backlinks_page_intersection+backlinks_referring_domains+backlinks_referring_networks+backlinks_summary+backlinks_timeseries_new_lost_summary+backlinks_timeseries_summary+business_data_business_listings_filters+business_data_business_listings_search+content_analysis_phrase_trends+content_analysis_search+content_analysis_summary+dataforseo_labs_available_filters+dataforseo_labs_bulk_keyword_difficulty+dataforseo_labs_bulk_traffic_estimation+dataforseo_labs_google_competitors_domain+dataforseo_labs_google_domain_intersection+dataforseo_labs_google_domain_rank_overview+dataforseo_labs_google_historical_keyword_data+dataforseo_labs_google_historical_rank_overview+dataforseo_labs_google_historical_serp+dataforseo_labs_google_keyword_ideas+dataforseo_labs_google_keyword_overview+dataforseo_labs_google_keywords_for_site+dataforseo_labs_google_keyword_suggestions+dataforseo_labs_google_page_intersection+dataforseo_labs_google_ranked_keywords+dataforseo_labs_google_related_keywords+dataforseo_labs_google_relevant_pages+dataforseo_labs_google_serp_competitors+dataforseo_labs_google_subdomains+dataforseo_labs_google_top_searches+dataforseo_labs_search_intent+domain_analytics_technologies_available_filters+domain_analytics_technologies_domain_technologies+domain_analytics_whois_available_filters+domain_analytics_whois_overview+kw_data_dfs_trends_demography+kw_data_dfs_trends_explore+kw_data_dfs_trends_subregion_interests+kw_data_google_ads_locations+kw_data_google_ads_search_volume+kw_data_google_trends_categories+kw_data_google_trends_explore+on_page_content_parsing+on_page_instant_pages+on_page_lighthouse+serp_locations+serp_organic_live_advanced+serp_youtube_locations+serp_youtube_organic_live_advanced+serp_youtube_video_comments_live_advanced+serp_youtube_video_info_live_advanced+serp_youtube_video_subtitles_live_advanceddiff --git a/tests/test_dataforseo_tool_names.py b/tests/test_dataforseo_tool_names.pynew file mode 100644index 0000000..64340bd--- /dev/null+++ b/tests/test_dataforseo_tool_names.py@@ -0,0 +1,46 @@+"""Every DataForSEO MCP tool a skill names must exist on the pinned server (#317).++tests/fixtures/dataforseo_mcp_2_8_10_tools.txt lists the tool names registered+by [email protected] (each tool's getName() in the npm package,+extracted 2026-09-23). Skills that named tools the server does not have+(serp_google_images_live_advanced, dataforseo_backlinks_*, and+on_page_content_parsing_live) sent the model after tools that never exist.+Bump the fixture together with the installer pin.+"""++from __future__ import annotations++import re+from pathlib import Path++ROOT = Path(__file__).resolve().parents[1]+FIXTURE = ROOT / "tests" / "fixtures" / "dataforseo_mcp_2_8_10_tools.txt"+PINNED = "[email protected]"+TOOL_RE = re.compile(+ r"`((?:serp|kw_data|keywords_data|dataforseo_labs|dataforseo_backlinks|backlinks|on_page|"+ r"domain_analytics|business_data|content_analysis|ai_optimization|ai_opt)_[a-z0-9_]*[a-z0-9])`"+)+# Cost-ledger keys and REST endpoints that are not MCP tools.+NOT_MCP = {"backlinks_auth"}+++def _tools() -> set[str]:+ return set(FIXTURE.read_text(encoding="utf-8").split())+++def test_fixture_matches_the_installer_pin() -> None:+ for rel in ("extensions/dataforseo/install.sh", "extensions/dataforseo/install.ps1"):+ assert PINNED in (ROOT / rel).read_text(encoding="utf-8"), rel+ assert len(_tools()) == 80+++def test_every_referenced_mcp_tool_exists_on_the_pinned_server() -> None:+ tools = _tools()+ missing = []+ for path in [*ROOT.glob("skills/**/*.md"), *ROOT.glob("agents/*.md"),+ *ROOT.glob("extensions/*/skills/**/*.md"), *ROOT.glob("extensions/*/agents/*.md")]:+ for line_no, line in enumerate(path.read_text(encoding="utf-8").splitlines(), 1):+ for name in TOOL_RE.findall(line):+ if name not in tools and name not in NOT_MCP:+ missing.append(f"{path.relative_to(ROOT)}:{line_no}: {name}")+ assert not missing, "tools not on " + PINNED + ":\n" + "\n".join(missing)