seo-subdomain

Subdomain ownership mapping for a domain. Lists subdomains and shows per-subdomain query overview, keywords, competitors, and backlinks; reveals which subdomains lead which topic clusters, identifies content dilution, and helps determine if consolidation is needed. Intended for queries like “subdomain analysis,” “subdomain ownership,” “subdomain SEO,” “blog vs main domain,” “support vs docs subdomain comparison,” or “should subdomains be consolidated.”

Last repository push
GitHub Stars
219
Forks
52
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "seo-subdomain" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-4374214049efbd5e43993ddf01d9b1ed1686ded308d96819052dcb9218b46185. Verify the upstream source and version against https://github.com/seranking/seo-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Subdomain ownership mapping for a domain. Lists subdomains and shows per-subdomain query overview, keywords, competitors, and backlinks; reveals which subdomains lead which topic clusters, identifies content dilution, and helps determine if consolidation is needed. Intended for queries like “subdomain analysis,” “subdomain ownership,” “subdomain SEO,” “blog vs main domain,” “support vs docs subdomain comparison,” or “should subdomains be consolidated.”

0 Downloads

Introduction source: third_party · seranking · 0.0.1 Reference

SkillPi interpretation

Tasks
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".
Inputs and outputs
Create a folder `seo-subdomain-{target-slug}-{YYYYMMDD}/` with: Top-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/`. `SUBDOMAINS.md` follows this shape: ```markdown
Software, accounts and paid services
SE Ranking MCP server connected. User provides: a target root domain (e.g. `example.com`). The skill discovers subdomains automatically. Optional: `--limit N` to cap the number of subdomains analysed (default: top 10 by ranked keyword count).
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
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".

Example output: examples/seo-subdomain-notion-so-20260514/SUBDOMAINS.md

Subdomain Analysis

Map 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.

Prerequisites

  • SE Ranking MCP server connected.
  • User provides: a target root domain (e.g. example.com). The skill discovers subdomains automatically.
  • Optional: --limit N to cap the number of subdomains analysed (default: top 10 by ranked keyword count).

Process

  1. Validate & preflight

    • Normalise root domain (no protocol, no www.).
    • DATA_getCreditBalance — surface remaining credits. Subdomain analysis is N × ~5 calls; cost scales with subdomain count.
  2. Discover subdomains DATA_getDomainSubdomains

    • List all subdomains of the root domain.
    • For each: keyword count, traffic estimate, backlinks count.
    • Sort by ranked-keyword count descending.
    • Apply --limit (default top 10).
  3. Per-subdomain overview DATA_getDomainOverviewWorldwide

    • For each subdomain in scope: domain authority, traffic estimate, organic + paid keyword counts, top regions.
    • This establishes a baseline for cross-subdomain comparison.
  4. Per-subdomain top keywords DATA_getDomainKeywords

    • For each subdomain: top 100 organic keywords with positions, intent, traffic.
    • 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.)
    • Each subdomain gets a list of "owned topics" (clusters where it dominates) and "minor topics".
  5. Per-subdomain competitors DATA_getDomainCompetitors

    • For each subdomain: top organic competitors by common_keywords.
    • Surface: do different subdomains have different competitor sets? (Sign of legitimately separate scopes.) Do they share competitors? (Sign of redundant scopes.)
  6. Per-subdomain backlinks DATA_getBacklinksSummary and DATA_getBacklinksRefDomains (top 20)

    • Subdomains often have separate backlink profiles. Capture each.
    • Surface: do subdomains have meaningfully different referring-domain populations?
  7. Authority distribution DATA_getDistributionOfDomainAuthority

    • For each subdomain, pull DA distribution of referring domains.
  8. Detect fragmentation

    • For each topic-cluster, identify all subdomains ranking for keywords in that cluster.
    • Fragmentation signal: ≥ 2 subdomains rank in the top 50 for the same high-volume keyword (cannibalization).
    • Healthy split: distinct topic clusters per subdomain, minimal overlap.
  9. Make recommendations

    • Consolidate: if blog.example.com and example.com/blog/ both rank for the same topic cluster but neither dominates — pick one canonical home.
    • Split: if a subdomain is ranking for a topic completely off-mission for the root domain, that's a split worth keeping.
    • Leave alone: if subdomains have distinct topic ownership and don't cannibalize, don't disturb.
    • Investigate: ambiguous cases flagged for human review.
  10. Synthesise SUBDOMAINS.md

Output format

Create a folder seo-subdomain-{target-slug}-{YYYYMMDD}/ with:

seo-subdomain-{target-slug}-{YYYYMMDD}/
├── SUBDOMAINS.md                       (synthesised report + recommendations — primary deliverable)
├── 06-topic-ownership-map.md           (cluster × subdomain matrix — load-bearing reference content teams brief from)
├── 07-fragmentation-flags.md           (cannibalization detected — load-bearing reference for consolidation decisions)
└── evidence/
    ├── 01-subdomains-list.md           (DATA_getDomainSubdomains — raw step output)
    ├── 02-overview-by-subdomain.md     (per-subdomain overview rows)
    ├── 03-keywords-by-subdomain/
    │   ├── blog-example-com.md
    │   ├── docs-example-com.md
    │   └── ...                          (one per subdomain)
    ├── 04-competitors-by-subdomain.md
    └── 05-backlinks-by-subdomain.md

Top-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/.

SUBDOMAINS.md follows this shape:

# Subdomain Analysis: {root domain}

> Snapshot dated {YYYY-MM-DD} · Subdomains analysed: {n} of {n discovered} (limit: top {limit} by keyword count)

## Subdomain inventory

| Subdomain | Keywords | Traffic est. | Backlinks | Domain authority | Top topics owned |
|---|---|---|---|---|---|
| {root} | {n} | {n}/mo | {n} | {DA} | {topics} |
| blog.{root} | {n} | {n}/mo | {n} | {DA} | {topics} |
| docs.{root} | {n} | {n}/mo | {n} | {DA} | {topics} |
| ... |

## Topic ownership map

| Topic cluster | Owned by | Also ranks (cannibalization?) |
|---|---|---|
| {topic 1} | blog.{root} (avg pos 3.2 across 47 keywords) | {root} (avg pos 12) — {⚠ cannibalization} |
| {topic 2} | docs.{root} | (none) |
| ... |

## Fragmentation flags

### {⚠ Cannibalization detected: topic = {topic X}}
- `blog.{root}` ranks {n} keywords for {topic X}, avg position {p}.
- `{root}` (root path) ranks {m} keywords for the same topic, avg position {p}.
- The two sets overlap on {k} exact keywords.
- **Recommendation:** consolidate to `blog.{root}` (the stronger ranker). 301 the root-path duplicates with intent preserved.

### ... (per fragmentation finding)

## Recommendations summary

- **Consolidate:** {n} subdomain pairs → see fragmentation flags above.
- **Split intentional and healthy:** {n} subdomains have distinct ownership; leave alone.
- **Investigate:** {n} edge cases flagged for human review.

## Risk notes

- Subdomain consolidation requires careful 301 redirect mapping; track via `seo-drift` after the migration.
- A subdomain with separate backlinks (per `evidence/05-backlinks-by-subdomain.md`) is harder to consolidate without losing link equity — plan accordingly.

## Raw data
- See per-subdomain files under `evidence/03-keywords-by-subdomain/`.
- Topic ownership matrix: `06-topic-ownership-map.md`.

Tips

  • Respect rate limit. The skill makes ~5 calls per subdomain. With --limit 10, that's ~50 calls; pace sequentially.
  • Call DATA_getCreditBalance before running. Cost scales with subdomain count: ~20–60 credits typical for --limit 10; up to 150+ for unlimited.
  • --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.
  • 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.
  • 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.
  • 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.
  • The topic-ownership matrix is the highest-leverage artifact. Use it to brief content teams on which subdomain should publish what.
  • Pair with seo-page to deep-dive into specific URLs flagged in cannibalization.
  • Pair with seo-drift to baseline subdomains before major restructures.

Version history

  1. v2.11.6 GitHub ↗
    Original release notes

    Answers the Claude Plugins Directory's refusal of v2.11.5: "Undescribed server tools that send or delete". With the credential hold gone, the directory looked at the SE Ranking MCP server's tools and found that neither the README nor the manifest says what they can change. ### Added - **README: "What the SE Ranking tools can do".** In plain words: most tools read; some create, edit and delete things in the signed-in SE Ranking and SE Visible account; the sub-account tools change access, and creating a sub-account sends that person an email; the Data API tools use credits. No tool publishes outside SE Ranking, pays for anything or changes the subscription. Both editions carry the section. - **Build check.** `directory-edition/build.py` fails when the edition's README has no such section.

  2. v2.11.5 GitHub ↗
    Original release notes

    Clears the last hold on the Claude Plugins Directory edition. The directory's credential check read "pass `--no-firecrawl`" and "pass `formats: …`" in two skills as the `pass` password manager, and held v2.11.4 for "Uses a credential from the user's machine". ### Fixed - **`seo-backlinks-profile` and `seo-page` say "use" where they said "pass".** The directory reads a lowercase `pass` followed by text in backticks as the password manager when it stands where a shell command would start: at the start of a line, or after `;` or `(`. Nothing else in the skills changes. - **Build check.** `directory-edition/build.py` refuses that wording, so it can't come back. ### Changed - `directory-edition/README.md` says how to run the directory's own check on a build before a release: the **Validate** step of the developer portal's submission form, which submits nothing and gives the reason for each finding.

  3. v2.11.4 GitHub ↗
    Original release notes

    Clears the findings of the Claude Plugins Directory's first scan of the `claude-directory` edition (v2.11.3): its text told users to add MCP servers the plugin doesn't declare, and some names in `seo-api` read like credentials. Only the directory edition's text changes; the GitHub edition reads as before. ### Changed - **Claude Plugins Directory description.** `directory-edition/description.txt` now holds the listing text from the SE Ranking marketing team: who the skills are for, what they turn SE Ranking data into, and that AI search share of voice runs on SE Visible. - **Directory edition: Firecrawl and Planable through their Claude directory connectors.** Where the GitHub edition says to add the Firecrawl MCP server from firecrawl.dev or to connect the Planable MCP server (with a link to Planable's setup guide), the directory edition tells the user to connect the Firecrawl or Planable connector from the Claude directory. Firecrawl's tools are named without the `mcp__firecrawl-mcp__` prefix, "Firecrawl not installed" notes read "Firecrawl not connected", and the edition README no longer lists Firecrawl among the installers it lacks. Repeated wording is rewritten by `REWRITES` in `build.py`; single lines by new `directory-edition/substitutions/` and the Firecrawl snippets. ### Fixed - **Credential-like names in the directory edition's `seo-api`.** `API_TOKEN` becomes "one SE Ranking API key", the server-side `MCP_REFRESH_TOKEN_TTL` setting and the `X-Data-Api-Key` alias line are gone, the OAuth text no longer says the token is stored locally, and the key-hygiene tip no longer mentions `.env` files. - **Build checks.** `directory-edition/build.py` now refuses credential-shaped names (`*_KEY`, `*_TOKEN`, `*_SECRET`, `*_PASSWORD`, other than a `YOUR_…` placeholder), `.env` files, `mcp__firecrawl` tool names, "Firecrawl MCP" / "Planable MCP", Planable's setup-guide link, firecrawl.dev setup steps and `claude mcp add` / `codex mcp add` for any server but SE Ranking's. `test_build.py` covers the rewrites and the new checks.

  4. v2.11.3 GitHub ↗
    Original release notes

    Gets the plugin back into the Claude Plugins Directory, which refused v2.11.2. The directory now gets its own edition without the scripts, installers and examples it refuses from organizations it hasn't verified, published to the `claude-directory` branch on every release. It also fixes the privacy policy, credential and download-and-run findings in the files both editions share. ### Added - **Claude Plugins Directory edition.** `directory-edition/build.py` builds it from the repo: only the files the directory accepts (Markdown, JSON, YAML, images), the `<!-- dir-edition:… -->` markers replaced by `directory-edition/snippets/`, exact-text `directory-edition/substitutions/` applied inside fenced report templates, `directory-edition/overrides/` copied in, the manifests' description set from `directory-edition/description.txt`, and links to files it doesn't ship pointed at GitHub at the released tag. It then checks every file: accepted type, content sniffing with libmagic, `#!` lines, credential reads (`$VAR`, `os.environ`, `process.env`, secrets, real-looking tokens), download-and-run and package-install commands, and references to the scripts, installers and `seo-google` references. `test_build.py` covers the markers and the checks. `.github/workflows/directory-edition.yml` commits the edition of each release to the `claude-directory` branch (`release.yml` calls it) and refuses different content under a version the branch already holds; the `validate` workflow runs the tests and builds the edition on every pull request. See `directory-edition/README.md`. - **Edition text for the skills and README.** Markers carry only an id, so the GitHub edition's raw Markdown holds no directory-only instructions. In the directory edition, the Google-script steps, preflight notes and report sections of `seo-content-audit`, `seo-drift`, `seo-hreflang`, `seo-images`, `seo-local`, `seo-page`, `seo-plan` and `seo-technical-audit` say the data isn't available; `seo-drift` checks URLs for SSRF itself instead of running a script; the `seo-api` references drop their Python examples (cURL and MCP stay); `seo-google` ships as a short pointer skill; the README gets its own install section, an "About this edition" block and a directory-specific trial link. - **README: the six SE Ranking + Planable skills** (`seo-gaps-to-social-campaign`, `ai-search-gaps-to-social-campaign`, `site-audit-to-social-distribution`, `seo-ai-social-report`, `client-onboarding-proposal`, `local-gmb-visibility`) are listed, and the counts say 32 skills. A "Data and privacy" paragraph says what the skills send to SE Ranking and Firecrawl. ### Changed - `seo-geo`, `seo-images` and `seo-schema` tell the user to add the Firecrawl MCP server from firecrawl.dev instead of running `extensions/firecrawl/install.sh`. - Eleven skill files name HTML elements without angle brackets near the top (`title`, `h1`, `script type="application/ld+json"` …), so libmagic reads them as text, not HTML. - `seo-api` names MCP Inspector and its docs instead of an `npx` command. ### Fixed - **API key read from the environment in `seo-api` Python examples.** `integration-patterns.md` and `rate-limits-and-credits.md` read `os.environ["SERANKING_API_KEY"]` and sent it to the API; they now use the placeholder `YOUR_API_KEY`. - **`seo-images` step numbers.** The PageSpeed step is 10 and the audit cross-reference is 11; the preflight referred to them as 9 and 10. - **No privacy policy URL.** `.claude-plugin/plugin.json` sets `privacyPolicyUrl` to the SE Ranking privacy policy, and the README links it under Links. - **Credential from the user's environment.** The `seo-api` API-key example passes the placeholder `YOUR_API_KEY` instead of reading `$SERANKING_API_KEY` from the environment. - **Download-and-run commands.** The README no longer offers the `curl … | bash` one-liner for `install.sh`; the `git clone` + `bash install.sh` path stays, and its non-interactive flags moved next to it. The `seo-api` client cheat-sheet now tells VS Code, Windsurf, Zed and Gemini CLI users to add the server as a remote (HTTP) server instead of running `npx -y mcp-remote`. - **CI validated with an outdated Claude Code.** The `Validate plugin` workflow ran on Node 20, and Claude Code needs Node 22+, so npm silently installed 2.1.197 instead of the latest release. That version doesn't know `privacyPolicyUrl` and failed `--strict` on it. The workflow now uses Node 22.

  5. v2.11.2 GitHub ↗
    Original release notes

    Lets the plugin pass Claude Plugins Directory validation again. The directory rejected every version after 2.10.4 with "MCP server: invalid configuration" and "Remote MCP server has no \"type\"". ### Fixed - **`.mcp.json` declares the SE Ranking server as `"type": "http"`.** The file was added for Codex. Claude Code also reads a `.mcp.json` at the plugin root, and without a `type` it treats the entry as a local (stdio) server, finds no `command` and drops it. The SE Ranking MCP still loaded from `.claude-plugin/plugin.json`, so users were not affected, but `claude plugin validate --strict` and the directory rejected the plugin. Codex accepts the field (`codex-rs/codex-mcp/src/plugin_config.rs` reads `type: "http"`), as in OpenAI's own Codex plugins. The Cursor `mcp.json` is unchanged. ### Changed - Version **2.11.2** across all five manifests (Claude `marketplace.json` ×2 and `plugin.json`, Cursor `plugin.json`, Codex `plugin.json`).

Only the five most recent versions are shown. View full version history at the source ↗

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供子域名所有权映射、关键词分析、竞争对手分析、反向链接分析等功能,帮助用户识别内容分散现象并判断是否需要进行整合
  • 适用于网站管理员、SEO 专家等用户群体,具有明确的实用价值和广泛的使用场景
Trigger Precision90/100

Highlights

  • description 中明确列出了适用的触发场景,包括“子域名分析”、“子域名所有权”、“子域名SEO”等,覆盖了多种变体,边界清晰
Structure and Standards95/100

Highlights

  • 结构清晰,包含 Phase/步骤划分(Process 部分有 10 个明确步骤),有出口条件(Output format 部分详细描述了输出文件结构),包含端到端示例(Example output 和 SUBDOMAINS.md 示例),frontmatter 完整,单文件未超过 500 行
Execution Reliability90/100

Highlights

  • 明确列出了所需的工具(SE Ranking MCP server),参数正确,覆盖了主要异常(如 Respect rate limit, Call DATA_getCreditBalance before running),不可逆操作有确认机制(Consolidation is risky, plan accordingly)
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

SE Ranking MCP server connected. User provides: a target root domain (e.g. `example.com`). The skill discovers subdomains automatically. Optional: `--limit N` to cap the number of subdomains analysed (default: top 10 by ranked keyword count).

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.