{"id":"3a19660a-e2d3-496b-ae37-867f2909186e","shortId":"TEscTD","kind":"skill","title":"seo-competitor-gap-analysis","tagline":"Compare a target domain to its top organic competitors and surface keywords the competitors rank for that the target does not, filtered by intent, volume, and difficulty. Use when the user asks for a competitor gap analysis, keyword gap, organic content gap, missing keyword oppor","description":"# Competitor Gap Analysis\n\nIdentify the specific keywords your competitors rank for in the top 20 that your domain does not, ranked by commercial value and realistic capture difficulty.\n\n## Prerequisites\n\n- SE Ranking MCP server connected.\n- User provides: (a) target domain, (b) 3 to 5 competitor domains (or ask the skill to auto-discover them), (c) market country (default: `us`), and optionally filters (min volume, max KD, intent).\n\n## Process\n\n1. **Validate or discover competitors** `DATA_getDomainCompetitors`\n   - If the user did not provide competitors, pull the top 5 organic competitors for the target in the target market.\n   - Surface the list to the user and ask them to confirm or override before proceeding.\n   - **Note:** the upstream API does not support `limit`/`offset`, so this call returns the full set (~60KB for popular domains) and the MCP harness writes it to a file. Read that file path, parse the `{data: [...]}` JSON, sort by `common_keywords` desc, and take the top 5.\n\n2. **Pull competitor keyword sets** `DATA_getDomainKeywords`\n   - For each competitor, pull keywords where they rank in the top 20 of the target country.\n   - Save per-competitor lists.\n\n3. **Pull target keyword set** `DATA_getDomainKeywords`\n   - For the target domain, pull all ranking keywords in the target country (any position).\n   - This is the exclusion set.\n\n4. **Compute the gap** `DATA_getDomainKeywordsComparison` (cross-check)\n   - Keywords ranked by at least one competitor in the top 20 but not ranked by the target domain at all.\n   - Use the comparison endpoint as a cross-check.\n\n5. **Filter and segment**\n   - Apply user-specified filters on volume, KD, and intent.\n   - Segment by intent: informational, commercial, transactional, navigational.\n   - Segment by competition: how many of the N competitors rank for each gap keyword.\n\n6. **Score and prioritise**\n   - Score each gap keyword: traffic potential (volume × CTR model) + intent weighting + inverse KD.\n   - Surface the top 50 opportunities with reasoning per keyword.\n\n7. **Map to content actions**\n   - For each top opportunity, recommend: new article, expand existing page, refresh existing page, programmatic template.\n   - Flag quick wins: competitors rank with thin content (detected by URL pattern and content-length heuristics).\n\n## Output format\n\nCreate a folder `seo-competitor-gap-analysis-{target-slug}-{YYYYMMDD}/` with:\n\n```\nseo-competitor-gap-analysis-{target-slug}-{YYYYMMDD}/\n├── REPORT.md                                (synthesised report — primary deliverable)\n├── gaps.csv                                 (full gap list — load-bearing CSV the writers/planners paste into briefs)\n└── evidence/\n    ├── 01-competitors.md                    (competitor list / discovery — raw step output)\n    ├── 02-competitor-keywords-{domain}.md   (one per competitor — raw step output)\n    ├── 03-target-keywords.md                (target's existing ranking set — raw step output)\n    └── 04-gap-raw.md                        (human-readable full gap list before filtering — raw step output)\n```\n\nTop-level: `REPORT.md` + `gaps.csv`. The numbered step files preserve the raw API outputs in `evidence/` for reproducibility.\n\n`REPORT.md` follows this shape:\n\n```markdown\n# Competitor Gap: {target}\nMarket: {country}\nCompetitors analysed: {list}\n\n## Summary\n- Competitor keywords in top 20: {n}\n- Target keywords overall: {n}\n- Gap keywords (opportunities): {n}\n- Gap traffic potential: ~{n}/mo\n\n## Top 50 opportunities\n\n### Informational intent\n| # | Keyword | Volume | KD | Competitors ranking | Action | Score |\n|---|---|---|---|---|---|---|\n| 1 | {kw} | {n} | {n} | {3 of 5} | New article | {score} |\n| 2 | ... | ... | ... | ... | ... | ... |\n\n### Commercial intent\n| # | Keyword | Volume | KD | Competitors ranking | Action | Score |\n|---|---|---|---|---|---|---|\n...\n\n### Transactional intent\n...\n\n## Quick wins (top 10)\nKeywords where competitors rank in positions 5 to 20 with thin content, low DT, or old dates.\n\n| # | Keyword | Weakest competitor position | Suggested angle |\n|---|---|---|---|\n| 1 | {kw} | example.com at #14 (2022 article, 800 words) | Fresh, comprehensive guide |\n\n## Recommended next steps\n1. Run `content-brief` on the top 3 opportunities to generate writer-ready briefs.\n2. Run `keyword-cluster-planner` on the full gap list to build a sequencing plan.\n3. Add the gap keywords to an SE Ranking project for rank tracking once content ships.\n\n## Files\n- gaps.csv: full gap list for spreadsheet analysis\n- evidence/04-gap-raw.md: human-readable full gap list before filtering\n```\n\n`gaps.csv` columns:\n`keyword,volume,kd,cpc,intent,competitors_ranking,top_competitor_position,target_position,action,score`\n\n## Tips\n\n- Data API rate limit: 10 requests per second. For large sites, `DATA_getDomainKeywords` may paginate heavily; set a ceiling (e.g., top 1,000 keywords per domain) unless the user explicitly asks for the full set.\n- Call `DATA_getCreditBalance` before running. A full pass on 10 seeds typically consumes 30–80 credits; 20 seeds can exceed 150.\n- The `competitors_ranking` count is the best signal of realism. Keywords ranked by 4 of 5 competitors are validated opportunities; keywords ranked by only 1 may be noise.\n- Do not recommend capturing branded competitor keywords unless the user explicitly asks. Pivoting to compete on \"competitor brand review\" is a viable strategy but only if the user opts in.\n- When many gap keywords cluster around a theme, recommend a hub page plus cluster rather than 50 individual articles.\n- Chain this skill with `content-brief` and `keyword-cluster-planner` naturally. Mention them in the Recommended next steps section of the output.","tags":["seo","competitor","gap","analysis","skills","seranking","agent-skills","ai-search","anthropic","backlinks","claude","claude-code"],"capabilities":["skill","source-seranking","skill-seo-competitor-gap-analysis","topic-agent-skills","topic-ai-search","topic-anthropic","topic-backlinks","topic-claude","topic-claude-code","topic-claude-plugin","topic-claude-skills","topic-content-brief","topic-ga4","topic-keyword-research","topic-mcp"],"categories":["seo-skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/seranking/seo-skills/seo-competitor-gap-analysis","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add seranking/seo-skills","source_repo":"https://github.com/seranking/seo-skills","install_from":"skills.sh"}},"qualityScore":"0.454","qualityRationale":"deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 9 github stars · SKILL.md body (5,695 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-05-18T19:08:35.753Z","embedding":null,"createdAt":"2026-05-18T13:14:09.058Z","updatedAt":"2026-05-18T19:08:35.753Z","lastSeenAt":"2026-05-18T19:08:35.753Z","tsv":"'/mo':531 '000':712 '01-competitors.md':441 '02':448 '03-target-keywords.md':460 '04-gap-raw.md':469 '1':119,544,593,608,711,770 '10':569,694,734 '14':597 '150':745 '2':208,554,624 '20':65,226,281,517,578,741 '2022':598 '3':91,236,548,616,640 '30':738 '4':262,759 '5':93,136,207,300,550,576,761 '50':355,533,820 '6':335 '60kb':177 '7':361 '80':739 '800':600 'action':365,542,562,687 'add':641 'analys':510 'analysi':5,42,53,407,417,663 'angl':592 'api':164,493,691 'appli':304 'around':809 'articl':372,552,599,822 'ask':37,97,153,720,785 'auto':102 'auto-discov':101 'b':90 'bear':433 'best':752 'brand':778,791 'brief':439,612,623,829 'build':636 'c':105 'call':172,725 'captur':77,777 'ceil':708 'chain':823 'check':270,299 'cluster':628,808,817,833 'column':674 'commerci':73,318,555 'common':200 'compar':6 'comparison':293 'compet':788 'competit':323 'competitor':3,14,19,40,51,59,94,123,132,138,210,217,234,277,329,384,405,415,442,450,456,504,509,513,540,560,572,589,680,683,747,762,779,790 'competitor-keyword':449 'comprehens':603 'comput':263 'confirm':156 'connect':84 'consum':737 'content':46,364,388,395,581,611,654,828 'content-brief':610,827 'content-length':394 'count':749 'countri':107,230,254,508 'cpc':678 'creat':400 'credit':740 'cross':269,298 'cross-check':268,297 'csv':434 'ctr':346 'data':124,196,213,241,266,690,701,726 'date':586 'default':108 'deliver':426 'desc':202 'detect':389 'difficulti':32,78 'discov':103,122 'discoveri':444 'domain':9,68,89,95,180,246,288,452,715 'dt':583 'e.g':709 'endpoint':294 'evid':440,496 'evidence/04-gap-raw.md':664 'example.com':595 'exceed':744 'exclus':260 'exist':374,377,463 'expand':373 'explicit':719,784 'file':189,192,489,656 'filter':27,112,301,308,477,672 'flag':381 'folder':402 'follow':500 'format':399 'fresh':602 'full':175,428,473,632,658,668,723,731 'gap':4,41,44,47,52,265,333,341,406,416,429,474,505,523,527,633,643,659,669,806 'gaps.csv':427,485,657,673 'generat':619 'getcreditbal':727 'getdomaincompetitor':125 'getdomainkeyword':214,242,702 'getdomainkeywordscomparison':267 'guid':604 'har':184 'heavili':705 'heurist':397 'hub':814 'human':471,666 'human-read':470,665 'identifi':54 'individu':821 'inform':317,535 'intent':29,117,313,316,348,536,556,565,679 'invers':350 'json':197 'kd':116,311,351,539,559,677 'keyword':17,43,49,57,201,211,219,239,250,271,334,342,360,451,514,520,524,537,557,570,587,627,644,675,713,756,766,780,807,832 'keyword-cluster-plann':626,831 'kw':545,594 'larg':699 'least':275 'length':396 'level':483 'limit':168,693 'list':148,235,430,443,475,511,634,660,670 'load':432 'load-bear':431 'low':582 'mani':325,805 'map':362 'markdown':503 'market':106,145,507 'max':115 'may':703,771 'mcp':82,183 'md':453 'mention':836 'min':113 'miss':48 'model':347 'n':328,518,522,526,530,546,547 'natur':835 'navig':320 'new':371,551 'next':606,841 'nois':773 'note':161 'number':487 'offset':169 'old':585 'one':276,454 'oppor':50 'opportun':356,369,525,534,617,765 'opt':802 'option':111 'organ':13,45,137 'output':398,447,459,468,480,494,846 'overal':521 'overrid':158 'page':375,378,815 'pagin':704 'pars':194 'pass':732 'past':437 'path':193 'pattern':392 'per':233,359,455,696,714 'per-competitor':232 'pivot':786 'plan':639 'planner':629,834 'plus':816 'popular':179 'posit':256,575,590,684,686 'potenti':344,529 'prerequisit':79 'preserv':490 'primari':425 'prioritis':338 'proceed':160 'process':118 'programmat':379 'project':649 'provid':86,131 'pull':133,209,218,237,247 'quick':382,566 'rank':20,60,71,81,222,249,272,284,330,385,464,541,561,573,648,651,681,748,757,767 'rate':692 'rather':818 'raw':445,457,466,478,492 'read':190 'readabl':472,667 'readi':622 'realism':755 'realist':76 'reason':358 'recommend':370,605,776,812,840 'refresh':376 'report':424 'report.md':422,484,499 'reproduc':498 'request':695 'return':173 'review':792 'run':609,625,729 'save':231 'score':336,339,543,553,563,688 'se':80,647 'second':697 'section':843 'seed':735,742 'segment':303,314,321 'seo':2,404,414 'seo-competitor-gap-analysi':1,403,413 'sequenc':638 'server':83 'set':176,212,240,261,465,706,724 'shape':502 'ship':655 'signal':753 'site':700 'skill':99,825 'skill-seo-competitor-gap-analysis' 'slug':410,420 'sort':198 'source-seranking' 'specif':56 'specifi':307 'spreadsheet':662 'step':446,458,467,479,488,607,842 'strategi':796 'suggest':591 'summari':512 'support':167 'surfac':16,146,352 'synthesis':423 'take':204 'target':8,24,88,141,144,229,238,245,253,287,409,419,461,506,519,685 'target-slug':408,418 'templat':380 'theme':811 'thin':387,580 'tip':689 'top':12,64,135,206,225,280,354,368,482,516,532,568,615,682,710 'top-level':481 'topic-agent-skills' 'topic-ai-search' 'topic-anthropic' 'topic-backlinks' 'topic-claude' 'topic-claude-code' 'topic-claude-plugin' 'topic-claude-skills' 'topic-content-brief' 'topic-ga4' 'topic-keyword-research' 'topic-mcp' 'track':652 'traffic':343,528 'transact':319,564 'typic':736 'unless':716,781 'upstream':163 'url':391 'us':109 'use':33,291 'user':36,85,128,151,306,718,783,801 'user-specifi':305 'valid':120,764 'valu':74 'viabl':795 'volum':30,114,310,345,538,558,676 'weakest':588 'weight':349 'win':383,567 'word':601 'write':185 'writer':621 'writer-readi':620 'writers/planners':436 'yyyymmdd':411,421","prices":[{"id":"af9be0c0-dcba-4c9a-9af4-0c944a28111f","listingId":"3a19660a-e2d3-496b-ae37-867f2909186e","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"seranking","category":"seo-skills","install_from":"skills.sh"},"createdAt":"2026-05-18T13:14:09.058Z"}],"sources":[{"listingId":"3a19660a-e2d3-496b-ae37-867f2909186e","source":"github","sourceId":"seranking/seo-skills/seo-competitor-gap-analysis","sourceUrl":"https://github.com/seranking/seo-skills/tree/main/skills/seo-competitor-gap-analysis","isPrimary":false,"firstSeenAt":"2026-05-18T13:14:09.058Z","lastSeenAt":"2026-05-18T19:08:35.753Z"}],"details":{"listingId":"3a19660a-e2d3-496b-ae37-867f2909186e","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"seranking","slug":"seo-competitor-gap-analysis","github":{"repo":"seranking/seo-skills","stars":9,"topics":["agent-skills","ai-search","answer-engine-optimization","anthropic","backlinks","claude","claude-code","claude-plugin","claude-skills","content-brief","ga4","generative-engine-optimization","keyword-research","mcp","mcp-server","search-console","seo","seo-tools","seranking","site-audit"],"license":"mit","html_url":"https://github.com/seranking/seo-skills","pushed_at":"2026-05-11T20:07:40Z","description":"Claude SEO Skills — production Claude Agent Skills for the SE Ranking MCP server. Content briefs, AI Search share of voice, audits, backlink gaps, keyword clusters, schema, sitemap, GEO, and more.","skill_md_sha":"20768514f64a07a7c7c7ba8e0e111df0451527ba","skill_md_path":"skills/seo-competitor-gap-analysis/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/seranking/seo-skills/tree/main/skills/seo-competitor-gap-analysis"},"layout":"multi","source":"github","category":"seo-skills","frontmatter":{"name":"seo-competitor-gap-analysis","description":"Compare a target domain to its top organic competitors and surface keywords the competitors rank for that the target does not, filtered by intent, volume, and difficulty. Use when the user asks for a competitor gap analysis, keyword gap, organic content gap, missing keyword opportunities, or wants to see what their competitors are ranking for that they are not."},"skills_sh_url":"https://skills.sh/seranking/seo-skills/seo-competitor-gap-analysis"},"updatedAt":"2026-05-18T19:08:35.753Z"}}