{"slug":"seo-keyword-cluster","title":"seo-keyword-cluster","summary":"Build a content cluster plan from seed keywords — intent-grouped clusters, pillar+spokes architecture with H1/H2 suggestions per spoke, prioritised build order, and an internal-linking map. Plans a content tier across many articles (vs `seo-content-brief` which produces a single ","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-11-19T19:28:29.484549Z","repo":{"url":"https://github.com/seranking/seo-skills","stars":211,"forks":51,"license":"MIT","updatedAt":"2026-11-19T18:06:44Z"},"bodyHtml":"<hr>\n<h2>name: seo-keyword-cluster\ndescription: Build a content cluster plan from seed keywords — intent-grouped clusters, pillar+spokes architecture with H1/H2 suggestions per spoke, prioritised build order, and an internal-linking map. Plans a content tier across many articles (vs <code>seo-content-brief</code> which produces a single article from a topic; vs <code>seo-page</code> which audits one existing URL). Use when the user asks for keyword clustering, topical map, pillar content strategy, content cluster plan, or content calendar from a keyword list.</h2>\n<blockquote>\n<p>Example output: <a href=\"../../examples/seo-keyword-cluster-headless-cms-20260514/PLAN.md\">examples/seo-keyword-cluster-headless-cms-20260514/PLAN.md</a></p>\n</blockquote>\n<h1>Keyword Cluster</h1>\n<p>Transform seed keywords into a prioritised cluster plan: each cluster grouped by search intent and theme, with volume totals, a pillar concept, spoke articles, and suggested H1/H2 for each spoke.</p>\n<h2>Prerequisites</h2>\n<ul>\n<li>SE Ranking MCP server connected.</li>\n<li>User provides: (a) 3 to 20 seed keywords, (b) target market country (default: <code>us</code>), and optionally (c) minimum volume threshold (default: 100/mo), (d) maximum KD (default: 60).</li>\n</ul>\n<h2>Process</h2>\n<ol>\n<li><p><strong>Expand seeds</strong> <code>DATA_getRelatedKeywords</code>, <code>DATA_getSimilarKeywords</code>, <code>DATA_getLongTailKeywords</code></p>\n<ul>\n<li>For each seed, pull related + similar + long-tail variants in the target country.</li>\n<li>Target at least 100 candidate keywords per seed; de-duplicate across seeds.</li>\n</ul>\n</li>\n<li><p><strong>Question-based expansion</strong> <code>DATA_getKeywordQuestions</code></p>\n<ul>\n<li>Pull question-intent keywords for the top 5 seeds.</li>\n<li>These usually become spoke articles with PAA/featured-snippet potential.</li>\n</ul>\n</li>\n<li><p><strong>Clean and filter</strong></p>\n<ul>\n<li>Remove keywords below min volume and above max KD.</li>\n<li>Strip branded terms the target does not own.</li>\n<li>Tag each keyword with detected intent: informational, commercial, transactional, navigational.</li>\n</ul>\n</li>\n<li><p><strong>Cluster by SERP overlap</strong> <code>DATA_getSerpResults</code> (or <code>DATA_getSerpTaskAdvancedResults</code>)</p>\n<ul>\n<li>Group keywords by how Google actually ranks them — shared top-10 organic URLs — not by text similarity. Token-overlap clustering manufactures cannibalisation; see <code>references/serp-overlap-methodology.md</code> for the full algorithm and anti-pattern callouts.</li>\n<li><strong>Budget guard before running.</strong> Compute <code>estimated_credits = num_candidate_keywords × per_keyword_cost</code> where <code>per_keyword_cost = 3</code> (SERP-standard, default) or <code>10</code> (SERP-advanced, only if downstream needs AIO/PAA). Standard is sufficient for clustering. If <code>estimated_credits &gt; 500</code>, surface the figure to the user and offer two paths: (a) proceed with SERP-standard, (b) trim the candidate set by raising the min-volume / lowering the max-KD thresholds in step 3 and re-running. If the user already requested SERP-advanced and the estimate exceeds 500, additionally offer SERP-standard as a cheaper fallback.</li>\n<li><strong>Fetch SERPs</strong> (one call per unique candidate keyword, cached for the session) — see <code>references/serp-overlap-methodology.md</code> § \"Caching\". Total SERP fetches = number of keywords, not number of pairs.</li>\n<li><strong>Pairwise overlap scoring.</strong> For each pair within an intent pre-group (see <code>references/serp-overlap-methodology.md</code> § \"Pre-Grouping\" for the optimisation that avoids full O(N²)), count shared URLs in the top 10 organic. Apply thresholds: 7-10 shared = same post (merge keywords), 4-6 = same cluster, 2-3 = interlink across clusters, 0-1 = separate clusters or exclude.</li>\n<li><strong>Form clusters</strong> from the connected components in the 4-6+ overlap graph. Target 5 to 12 clusters. Each cluster gets a name, primary keyword, secondary keywords, total volume, weighted KD.</li>\n<li>Classify each cluster as pillar-worthy (broad, high volume, informational) or spoke-only (narrow, specific).</li>\n</ul>\n</li>\n<li><p><strong>Pillar plus spokes architecture</strong></p>\n<ul>\n<li>For each pillar cluster, nominate 3 to 7 spoke articles (each one from a sub-cluster or question).</li>\n<li>For each spoke, draft an H1 and 3 to 5 H2s.</li>\n<li>Map internal-link structure: pillar links to all spokes, spokes link back to pillar, spokes cross-link where topically adjacent.</li>\n</ul>\n</li>\n<li><p><strong>Prioritise</strong></p>\n<ul>\n<li>Applied <strong>after</strong> clusters are formed via SERP-overlap in step 4 — the formula scores already-grouped clusters, it does not influence which keywords cluster together.</li>\n<li>Score each cluster: volume (40%) + inverse KD (30%) + commercial intent weighting (30%).</li>\n<li>Output a prioritised build order.</li>\n</ul>\n</li>\n<li><p><strong>Quality scorecard</strong> (post-synthesis validation)</p>\n<ul>\n<li>After <code>PLAN.md</code> is written, run a 4-metric quality scorecard against the produced plan and warn the user if any metric fails. Inspired by theirs' post-execution scorecard model — adapted to our cluster-plan output (we score the <em>plan</em>, not generated content, since <code>seo-keyword-cluster</code> stops at the architecture).</li>\n<li><strong>Cannibalisation (zero tolerance).</strong> No two clusters in the plan should share ≥ 40% SERP overlap with each other (computed from the cached SERP matrix in step 4). If two clusters trip this gate, re-merge them and re-run from step 5 onward.</li>\n<li><strong>Orphan (zero tolerance).</strong> Every spoke article in the plan must be linked from its pillar in the internal-link map produced in step 5. Any spoke without an inbound link from its pillar is an orphan.</li>\n<li><strong>Coverage.</strong> The pillar page in each cluster must cover ≥ 70% of the cluster's high-volume keywords (top half of the cluster by volume) in its primary keyword + secondary keyword set, or via the H2s drafted in step 5. Below 70% means the pillar is too narrow for the cluster it heads.</li>\n<li><strong>Anchor diversity.</strong> Across all internal links inside a cluster (pillar↔spoke + spoke↔spoke), no single anchor text should be used &gt; 40% of the time. Concentration above 40% is an over-optimisation signal.</li>\n<li><strong>Output.</strong> If all four metrics pass, append a single line to <code>PLAN.md</code> under \"## Quality scorecard\": <code>All gates passed (cannibalisation/orphan/coverage/anchor-diversity).</code> If <strong>any</strong> metric fails, append a \"## Quality scorecard\" section to <code>PLAN.md</code> with red/yellow/green rows for each metric (red = fail, yellow = within 10% of threshold, green = pass), and annotate the verdict header at the top of <code>PLAN.md</code> with <code>(needs review — N quality-gate failures)</code>. Also write the same scorecard verbatim to <code>06-quality-scorecard.md</code> in the output folder so it's auditable independently.</li>\n</ul>\n</li>\n</ol>\n<h2>Output format</h2>\n<p>Create a folder <code>seo-keyword-cluster-{target-slug}-{YYYYMMDD}/</code> with:</p>\n<pre><code>seo-keyword-cluster-{target-slug}-{YYYYMMDD}/\n├── 01-seed-expansion.md\n├── 02-filtered-keywords.md\n├── 03-cluster-assignment.md      (SERP overlap matrix + cluster groupings)\n├── 06-quality-scorecard.md       (evidence) — 4-metric gate result; written every run\n├── keywords.csv\n└── PLAN.md\n</code></pre>\n<p><code>PLAN.md</code> follows this shape:</p>\n<pre><code># Cluster Plan: {topic} {(needs review — N quality-gate failures) if step 7 flagged any}\nMarket: {country}\nSeeds: {seed list}\n\n## Summary\n- Keywords analysed: {n}\n- Clusters formed: {n}\n- Estimated combined monthly volume: {n}\n- Pillars: {n}, spokes: {n}\n- Clustering method: SERP-overlap top-10 (mode: {standard | advanced}, ~{credits} credits)\n\n## Build order\n\n### Cluster 1: {cluster name} [PILLAR]\n- Primary keyword: {kw} ({volume}/mo, KD {kd})\n- Secondary: {list}\n- Total volume: {n}/mo\n- Priority score: {n}\n\n#### Pillar page\n- H1: {H1}\n- H2s: {list}\n\n#### Spoke articles\n1. **{spoke title}**\n   - H1: {H1}\n   - H2s: {list}\n   - Target keyword: {kw} ({volume})\n2. **{spoke title}** ...\n\n### Cluster 2: {cluster name} [SPOKE-ONLY]\n...\n\n## Internal linking map\n- Pillar A links to: spokes A1, A2, A3\n- Spoke A1 links back to: pillar A, and cross-links to spoke B2 (topical overlap)\n...\n\n## Quality scorecard\n{If all four gates pass:}\nAll gates passed (cannibalisation/orphan/coverage/anchor-diversity).\n\n{If any fail, render this table instead:}\n| Gate | Status | Detail |\n|---|---|---|\n| Cannibalisation (no two clusters ≥40% SERP overlap) | RED / YELLOW / GREEN | {detail} |\n| Orphan (every spoke linked from its pillar) | RED / YELLOW / GREEN | {detail} |\n| Coverage (pillar covers ≥70% of cluster's high-volume keywords) | RED / YELLOW / GREEN | {detail} |\n| Anchor diversity (no anchor used &gt;40% of internal links per cluster) | RED / YELLOW / GREEN | {detail} |\n\n## Raw data\n- keywords.csv: full enriched keyword list\n- 03-cluster-assignment.md: every keyword and its cluster (incl. SERP overlap matrix)\n- 06-quality-scorecard.md: standalone copy of the scorecard above (evidence)\n</code></pre>\n<p><code>keywords.csv</code> columns:\n<code>keyword,volume,kd,cpc,intent,cluster,role_in_cluster</code></p>\n<h2>Tips</h2>\n<ul>\n<li>Respect Data API rate limit: 10 requests per second. With 20 seeds and 3 expansion endpoints, this is ~60 calls; pace sequentially.</li>\n<li>Call <code>DATA_getSubscription</code> before running. The dominant cost driver is now the SERP-overlap pass in step 4: ≈ 3 credits per candidate keyword in SERP-standard mode (default), ≈ 10 credits in SERP-advanced. A typical 40-keyword candidate set is ≈ 120 credits standard / ≈ 400 credits advanced. Step 4's budget guard surfaces this estimate to the user before fetching any SERPs and offers a cheaper-fallback path if the estimate exceeds 500 credits.</li>\n<li>Do not lump different intents into the same cluster even if the keywords are semantically similar. \"Best X\" (commercial) and \"What is X\" (informational) deserve separate content.</li>\n<li>Pillar pages fail when they try to rank for too narrow a query. The primary keyword of a pillar cluster should have volume &gt; 1,000/mo and be broad enough to justify a 3,000+ word article.</li>\n<li>The priority score is a starting point, not a mandate. Ask the user to review the top 3 clusters before committing a quarter of content.</li>\n<li><strong>Cluster merging is now SERP-driven, not text-driven.</strong> If two clusters share ≥ 40% SERP overlap with each other, the step-7 cannibalisation gate flags them — re-merge those clusters and re-run from step 5.</li>\n</ul>\n","files":[{"path":"references/serp-overlap-methodology.md","sizeBytes":6305,"isText":true},{"path":"SKILL.md","sizeBytes":9880,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-11-19T19:31:39.877557Z","sha256":"6E08A07E6410675508D1D2C0EA5D52CDE6B2790BC3F5B5889879EC8E7E08F40C","sizeBytes":7346},"review":null,"source":{"repositoryUrl":"https://github.com/seranking/seo-skills","path":"skills/seo-keyword-cluster","license":"MIT","commit":"75a886d747fb43689e316811a1e2ff2e7f859451","subtreeSha":"371E7A04576AC25F174C7D644CBB5E380F10678E21202A7BA10DE922187EA82D","lastSyncedAt":"2026-11-19T19:28:24.860564Z"},"reviewedAt":"2026-11-19T19:49:46.245744Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/seranking/seo-skills/tree/main/skills/seo-keyword-cluster"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install seranking-seo-skills@llmmart"},{"target":"git","command":"git clone https://github.com/seranking/seo-skills.git"}]}