{"id":"e1558873-4a60-4f96-9921-5c4099233270","shortId":"PkuzzA","kind":"skill","title":"seo-subdomain","tagline":"Subdomain ownership map for a domain. Lists subdomains, queries overview/keywords/competitors/backlinks per subdomain, surfaces which subdomains own which topic clusters, where there's fragmentation, and whether consolidation is warranted. Use when the user asks \"subdomain analys","description":"# Subdomain Analysis\n\nMap a domain's subdomain ecosystem. Which subdomains exist, what each ranks for, where they overlap, and whether the structure is healthy or fragmented. Output: an ownership map (which topic is owned by which subdomain), a fragmentation report, and recommendations for consolidate / split / leave alone.\n\n## Prerequisites\n\n- SE Ranking MCP server connected.\n- User provides: a target root domain (e.g. `example.com`). The skill discovers subdomains automatically.\n- Optional: `--limit N` to cap the number of subdomains analysed (default: top 10 by ranked keyword count).\n\n## Process\n\n1. **Validate & preflight**\n   - Normalise root domain (no protocol, no `www.`).\n   - `DATA_getCreditBalance` — surface remaining credits. Subdomain analysis is N × ~5 calls; cost scales with subdomain count.\n\n2. **Discover subdomains** `DATA_getDomainSubdomains`\n   - List all subdomains of the root domain.\n   - For each: keyword count, traffic estimate, backlinks count.\n   - Sort by ranked-keyword count descending.\n   - Apply `--limit` (default top 10).\n\n3. **Per-subdomain overview** `DATA_getDomainOverviewWorldwide`\n   - For each subdomain in scope: domain authority, traffic estimate, organic + paid keyword counts, top regions.\n   - This establishes a baseline for cross-subdomain comparison.\n\n4. **Per-subdomain top keywords** `DATA_getDomainKeywords`\n   - For each subdomain: top 100 organic keywords with positions, intent, traffic.\n   - Cluster keywords by topic. This skill's grouping is a lightweight per-subdomain ownership map, not a content plan — token-grouping by head term + intent is sufficient here. (For full content-cluster planning use `seo-keyword-cluster`, which now clusters by SERP overlap, not text similarity.)\n   - Each subdomain gets a list of \"owned topics\" (clusters where it dominates) and \"minor topics\".\n\n5. **Per-subdomain competitors** `DATA_getDomainCompetitors`\n   - For each subdomain: top organic competitors by `common_keywords`.\n   - Surface: do different subdomains have different competitor sets? (Sign of legitimately separate scopes.) Do they share competitors? (Sign of redundant scopes.)\n\n6. **Per-subdomain backlinks** `DATA_getBacklinksSummary` and `DATA_getBacklinksRefDomains` (top 20)\n   - Subdomains often have separate backlink profiles. Capture each.\n   - Surface: do subdomains have meaningfully different referring-domain populations?\n\n7. **Authority distribution** `DATA_getDistributionOfDomainAuthority`\n   - For each subdomain, pull DA distribution of referring domains.\n\n8. **Detect fragmentation**\n   - For each topic-cluster, identify all subdomains ranking for keywords in that cluster.\n   - **Fragmentation signal:** ≥ 2 subdomains rank in the top 50 for the same high-volume keyword (cannibalization).\n   - **Healthy split:** distinct topic clusters per subdomain, minimal overlap.\n\n9. **Make recommendations**\n   - **Consolidate:** if `blog.example.com` and `example.com/blog/` both rank for the same topic cluster but neither dominates — pick one canonical home.\n   - **Split:** if a subdomain is ranking for a topic completely off-mission for the root domain, that's a split worth keeping.\n   - **Leave alone:** if subdomains have distinct topic ownership and don't cannibalize, don't disturb.\n   - **Investigate:** ambiguous cases flagged for human review.\n\n10. **Synthesise** `SUBDOMAINS.md`\n\n## Output format\n\nCreate a folder `seo-subdomain-{target-slug}-{YYYYMMDD}/` with:\n\n```\nseo-subdomain-{target-slug}-{YYYYMMDD}/\n├── SUBDOMAINS.md                       (synthesised report + recommendations — primary deliverable)\n├── 06-topic-ownership-map.md           (cluster × subdomain matrix — load-bearing reference content teams brief from)\n├── 07-fragmentation-flags.md           (cannibalization detected — load-bearing reference for consolidation decisions)\n└── evidence/\n    ├── 01-subdomains-list.md           (DATA_getDomainSubdomains — raw step output)\n    ├── 02-overview-by-subdomain.md     (per-subdomain overview rows)\n    ├── 03-keywords-by-subdomain/\n    │   ├── blog-example-com.md\n    │   ├── docs-example-com.md\n    │   └── ...                          (one per subdomain)\n    ├── 04-competitors-by-subdomain.md\n    └── 05-backlinks-by-subdomain.md\n```\n\nTop-level: `SUBDOMAINS.md` + `06-topic-ownership-map.md` + `07-fragmentation-flags.md`. Content teams brief from the ownership map; consolidation decisions cite the fragmentation flags directly. The 01–05 step files preserve raw API outputs in `evidence/`.\n\n`SUBDOMAINS.md` follows this shape:\n\n```markdown\n# Subdomain Analysis: {root domain}\n\n> Snapshot dated {YYYY-MM-DD} · Subdomains analysed: {n} of {n discovered} (limit: top {limit} by keyword count)\n\n## Subdomain inventory\n\n| Subdomain | Keywords | Traffic est. | Backlinks | Domain authority | Top topics owned |\n|---|---|---|---|---|---|\n| {root} | {n} | {n}/mo | {n} | {DA} | {topics} |\n| blog.{root} | {n} | {n}/mo | {n} | {DA} | {topics} |\n| docs.{root} | {n} | {n}/mo | {n} | {DA} | {topics} |\n| ... |\n\n## Topic ownership map\n\n| Topic cluster | Owned by | Also ranks (cannibalization?) |\n|---|---|---|\n| {topic 1} | blog.{root} (avg pos 3.2 across 47 keywords) | {root} (avg pos 12) — {⚠ cannibalization} |\n| {topic 2} | docs.{root} | (none) |\n| ... |\n\n## Fragmentation flags\n\n### {⚠ Cannibalization detected: topic = {topic X}}\n- `blog.{root}` ranks {n} keywords for {topic X}, avg position {p}.\n- `{root}` (root path) ranks {m} keywords for the same topic, avg position {p}.\n- The two sets overlap on {k} exact keywords.\n- **Recommendation:** consolidate to `blog.{root}` (the stronger ranker). 301 the root-path duplicates with intent preserved.\n\n### ... (per fragmentation finding)\n\n## Recommendations summary\n\n- **Consolidate:** {n} subdomain pairs → see fragmentation flags above.\n- **Split intentional and healthy:** {n} subdomains have distinct ownership; leave alone.\n- **Investigate:** {n} edge cases flagged for human review.\n\n## Risk notes\n\n- Subdomain consolidation requires careful 301 redirect mapping; track via `seo-drift` after the migration.\n- A subdomain with separate backlinks (per `evidence/05-backlinks-by-subdomain.md`) is harder to consolidate without losing link equity — plan accordingly.\n\n## Raw data\n- See per-subdomain files under `evidence/03-keywords-by-subdomain/`.\n- Topic ownership matrix: `06-topic-ownership-map.md`.\n```\n\n## Tips\n\n- Respect rate limit. The skill makes ~5 calls per subdomain. With `--limit 10`, that's ~50 calls; pace sequentially.\n- Call `DATA_getCreditBalance` before running. Cost scales with subdomain count: ~20–60 credits typical for `--limit 10`; up to 150+ for unlimited.\n- **`--limit` is your friend.** Sites with hundreds of subdomains (large platforms) don't need every subdomain analysed — top 10 by keyword count covers >90% of organic value usually.\n- **Don't conflate \"subdomain has lower DA\" with \"subdomain is bad.\"** Subdomains often have lower DA than the root because they accumulate links separately. The question is topic ownership and cannibalization, not DA per se.\n- **Consolidation is risky.** A 301 from `blog.example.com` to `example.com/blog/` retains most link equity but can lose 5–15% in transition. Track post-migration with `seo-drift`.\n- **Don't recommend consolidation when one subdomain is on a different platform.** If `blog.example.com` is on a different CMS, the engineering cost of consolidation may exceed the SEO benefit. Surface this as a constraint, not a recommendation.\n- The topic-ownership matrix is the highest-leverage artifact. Use it to brief content teams on which subdomain should publish what.\n- Pair with `seo-page` to deep-dive into specific URLs flagged in cannibalization.\n- Pair with `seo-drift` to baseline subdomains before major restructures.","tags":["seo","subdomain","skills","seranking","agent-skills","ai-search","anthropic","backlinks","claude","claude-code","claude-plugin","claude-skills"],"capabilities":["skill","source-seranking","skill-seo-subdomain","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-subdomain","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 (7,779 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:37.285Z","embedding":null,"createdAt":"2026-05-18T13:14:11.286Z","updatedAt":"2026-05-18T19:08:37.285Z","lastSeenAt":"2026-05-18T19:08:37.285Z","tsv":"'/blog/':429,938 '/mo':638,646,654 '01':586 '01-subdomains-list.md':541 '02-overview-by-subdomain.md':547 '03':553 '04-competitors-by-subdomain.md':563 '05':587 '05-backlinks-by-subdomain.md':564 '06-topic-ownership-map.md':518,569,822 '07-fragmentation-flags.md':530,570 '1':123,669 '10':117,180,489,836,859,883 '100':224 '12':681 '15':947 '150':862 '2':149,396,684 '20':344,853 '3':181 '3.2':674 '301':735,782,932 '4':212 '47':676 '5':142,296,830,946 '50':402,839 '6':333 '60':854 '7':363 '8':377 '9':420 '90':888 'accord':809 'accumul':914 'across':675 'alon':85,468,767 'also':665 'ambigu':483 'anali':38 'analys':114,612,881 'analysi':40,139,602 'api':592 'appli':176 'artifact':1005 'ask':36 'author':194,364,631 'automat':104 'avg':672,679,703,716 'backlink':167,337,349,629,797 'bad':903 'baselin':206,1039 'bear':524,535 'benefit':986 'blog':642,670,695,730 'blog-example-com.md':558 'blog.example.com':425,934,971 'brief':528,573,1009 'call':143,831,840,843 'cannib':410,478,531,667,682,690,923,1032 'canon':442 'cap':109 'captur':351 'care':781 'case':484,771 'cite':580 'cluster':22,231,265,271,274,289,384,393,415,436,519,662 'cms':976 'common':310 'comparison':211 'competitor':300,308,318,328 'complet':453 'conflat':895 'connect':91 'consolid':29,82,423,538,578,728,749,779,803,928,961,981 'constraint':991 'content':249,264,526,571,1010 'content-clust':263 'cost':144,848,979 'count':121,148,164,168,174,200,622,852,886 'cover':887 'creat':494 'credit':137,855 'cross':209 'cross-subdomain':208 'da':372,640,648,656,899,908,925 'data':133,152,186,218,301,338,341,366,542,811,844 'date':606 'dd':610 'decis':539,579 'deep':1025 'deep-div':1024 'default':115,178 'deliver':517 'descend':175 'detect':378,532,691 'differ':314,317,358,968,975 'direct':584 'discov':102,150,616 'distinct':413,472,764 'distribut':365,373 'disturb':481 'dive':1026 'doc':650,685 'docs-example-com.md':559 'domain':9,43,97,128,160,193,361,376,460,604,630 'domin':292,439 'drift':789,957,1037 'duplic':740 'e.g':98 'ecosystem':46 'edg':770 'engin':978 'equiti':807,942 'est':628 'establish':204 'estim':166,196 'everi':879 'evid':540,595 'evidence/03-keywords-by-subdomain':818 'evidence/05-backlinks-by-subdomain.md':799 'exact':725 'example.com':99,428,937 'example.com/blog/':427,936 'exceed':983 'exist':49 'file':589,816 'find':746 'flag':485,583,689,755,772,1030 'folder':496 'follow':597 'format':493 'fragment':26,64,77,379,394,582,688,745,754 'friend':868 'full':262 'get':283 'getbacklinksrefdomain':342 'getbacklinkssummari':339 'getcreditbal':134,845 'getdistributionofdomainauthor':367 'getdomaincompetitor':302 'getdomainkeyword':219 'getdomainoverviewworldwid':187 'getdomainsubdomain':153,543 'group':238,253 'harder':801 'head':255 'healthi':62,411,760 'high':407 'high-volum':406 'highest':1003 'highest-leverag':1002 'home':443 'human':487,774 'hundr':871 'identifi':385 'intent':229,257,742,758 'inventori':624 'investig':482,768 'k':724 'keep':466 'keyword':120,163,173,199,217,226,232,270,311,390,409,555,621,626,677,699,711,726,885 'keywords-by-subdomain':554 'larg':874 'leav':84,467,766 'legitim':322 'level':567 'leverag':1004 'lightweight':241 'limit':106,177,617,619,826,835,858,865 'link':806,915,941 'list':10,154,285 'load':523,534 'load-bear':522,533 'lose':805,945 'lower':898,907 'm':710 'major':1042 'make':421,829 'map':6,41,68,246,577,660,784 'markdown':600 'matrix':521,821,999 'may':982 'mcp':89 'meaning':357 'migrat':792,953 'minim':418 'minor':294 'mission':456 'mm':609 'n':107,141,613,615,636,637,639,644,645,647,652,653,655,698,750,761,769 'need':878 'neither':438 'none':687 'normalis':126 'note':777 'number':111 'off-miss':454 'often':346,905 'one':441,560,963 'option':105 'organ':197,225,307,890 'output':65,492,546,593 'overlap':56,277,419,722 'overview':185,551 'overview/keywords/competitors/backlinks':13 'own':72,287,634,663 'ownership':5,67,245,474,576,659,765,820,921,998 'p':705,718 'pace':841 'page':1022 'paid':198 'pair':752,1018,1033 'path':708,739 'per':14,183,214,243,298,335,416,549,561,744,798,814,832,926 'per-subdomain':182,213,242,297,334,548,813 'pick':440 'plan':250,266,808 'platform':875,969 'popul':362 'pos':673,680 'posit':228,704,717 'post':952 'post-migr':951 'preflight':125 'prerequisit':86 'preserv':590,743 'primari':516 'process':122 'profil':350 'protocol':130 'provid':93 'publish':1016 'pull':371 'queri':12 'question':918 'rank':52,88,119,172,388,398,431,449,666,697,709 'ranked-keyword':171 'ranker':734 'rate':825 'raw':544,591,810 'recommend':80,422,515,727,747,960,994 'redirect':783 'redund':331 'refer':360,375,525,536 'referring-domain':359 'region':202 'remain':136 'report':78,514 'requir':780 'respect':824 'restructur':1043 'retain':939 'review':488,775 'risk':776 'riski':930 'root':96,127,159,459,603,635,643,651,671,678,686,696,706,707,731,738,911 'root-path':737 'row':552 'run':847 'scale':145,849 'scope':192,324,332 'se':87,927 'see':753,812 'seo':2,269,498,506,788,956,985,1021,1036 'seo-drift':787,955,1035 'seo-keyword-clust':268 'seo-pag':1020 'seo-subdomain':1,497,505 'separ':323,348,796,916 'sequenti':842 'serp':276 'server':90 'set':319,721 'shape':599 'share':327 'sign':320,329 'signal':395 'similar':280 'site':869 'skill':101,236,828 'skill-seo-subdomain' 'slug':502,510 'snapshot':605 'sort':169 'source-seranking' 'specif':1028 'split':83,412,444,464,757 'step':545,588 'stronger':733 'structur':60 'subdomain':3,4,11,15,18,37,39,45,48,75,103,113,138,147,151,156,184,190,210,215,222,244,282,299,305,315,336,345,355,370,387,397,417,447,470,499,507,520,550,557,562,601,611,623,625,751,762,778,794,815,833,851,873,880,896,901,904,964,1014,1040 'subdomains.md':491,512,568,596 'suffici':259 'summari':748 'surfac':16,135,312,353,987 'synthesis':490,513 'target':95,501,509 'target-slug':500,508 'team':527,572,1011 'term':256 'text':279 'tip':823 'token':252 'token-group':251 'top':116,179,201,216,223,306,343,401,566,618,632,882 'top-level':565 'topic':21,70,234,288,295,383,414,435,452,473,633,641,649,657,658,661,668,683,692,693,701,715,819,920,997 'topic-agent-skills' 'topic-ai-search' 'topic-anthropic' 'topic-backlinks' 'topic-claude' 'topic-claude-code' 'topic-claude-plugin' 'topic-claude-skills' 'topic-clust':382 'topic-content-brief' 'topic-ga4' 'topic-keyword-research' 'topic-mcp' 'topic-ownership':996 'track':785,950 'traffic':165,195,230,627 'transit':949 'two':720 'typic':856 'unlimit':864 'url':1029 'use':32,267,1006 'user':35,92 'usual':892 'valid':124 'valu':891 'via':786 'volum':408 'warrant':31 'whether':28,58 'without':804 'worth':465 'www':132 'x':694,702 'yyyi':608 'yyyy-mm-dd':607 'yyyymmdd':503,511","prices":[{"id":"9c4ec060-c482-454d-bf28-c0b50fd09576","listingId":"e1558873-4a60-4f96-9921-5c4099233270","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:11.286Z"}],"sources":[{"listingId":"e1558873-4a60-4f96-9921-5c4099233270","source":"github","sourceId":"seranking/seo-skills/seo-subdomain","sourceUrl":"https://github.com/seranking/seo-skills/tree/main/skills/seo-subdomain","isPrimary":false,"firstSeenAt":"2026-05-18T13:14:11.286Z","lastSeenAt":"2026-05-18T19:08:37.285Z"}],"details":{"listingId":"e1558873-4a60-4f96-9921-5c4099233270","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"seranking","slug":"seo-subdomain","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":"f940208daae24f0a345e22ffbd2bf9b4526b313a","skill_md_path":"skills/seo-subdomain/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/seranking/seo-skills/tree/main/skills/seo-subdomain"},"layout":"multi","source":"github","category":"seo-skills","frontmatter":{"name":"seo-subdomain","description":"Subdomain ownership map for a domain. Lists subdomains, queries overview/keywords/competitors/backlinks per subdomain, surfaces which subdomains own which topic clusters, where there's fragmentation, and whether consolidation is warranted. Use when the user asks \"subdomain analysis\", \"subdomain ownership\", \"subdomain SEO\", \"blog vs main domain\", \"support vs docs subdomain\", or \"should I consolidate subdomains\"."},"skills_sh_url":"https://skills.sh/seranking/seo-skills/seo-subdomain"},"updatedAt":"2026-05-18T19:08:37.285Z"}}