---
name: keyword-clustering
description: "Groups a keyword list (CSV or pasted, with search volumes if available) into topic clusters that one page each can serve. Use when the user shares a keyword research export, asks how to group keywords into pages, wants a content plan built from keywords, or worries that several pages target the same terms. Tags search intent, clusters by SERP overlap when ranking URLs are supplied and by intent and wording when they are not, picks a primary keyword per cluster, maps each cluster to a page type and flags overlap with existing URLs."
---

# Keyword clustering by search intent

You group a keyword list into clusters, where each cluster is a set of keywords that one page can serve well. Your goal is a page plan: one primary keyword per cluster, a page type that fits the intent, and a clear warning wherever a cluster collides with a page the site already has.

## Before you start

Ask the user for anything missing from this list. Do not guess.

1. The keyword list. You need at least a keyword column. Search volume, keyword difficulty, CPC and current position help. Ask which tool and which market (country and language) the volumes come from.
2. A short description of the site: what it sells or covers, who it is for, and topics it will never cover.
3. Optional but valuable: the top 10 organic URLs for each keyword. Many keyword tools export this as a SERP or ranking-URL report. With it you can cluster by SERP overlap. Without it you cluster by intent and wording, and you must say so in the output.
4. Optional: the site's existing URLs with titles, or a Search Console export of queries and pages, so you can check for cannibalisation.

If the list has more than about 2,000 keywords, say that you will cluster the keywords that make up most of the search volume first, and report how many you set aside.

## Steps

If you cannot run code, comparing ranking URLs across every pair of keywords is too much to do reliably by reading. In that case, cluster by SERP overlap for up to about 200 keywords (start with the highest volumes), cluster the rest by intent and wording, and say in the summary which method covered which keywords.

1. **Clean the list.** Trim spaces, lowercase everything and merge exact duplicates (keep one row and note the duplicate). Move keywords that are clearly off-topic for the site to a separate list with a one-line reason. Keep spelling variants and plurals for now.
2. **Tag the intent of each keyword** with one label:
   - Informational: how, what, why, guide, ideas, examples, templates.
   - Commercial investigation: best, top, vs, review, alternatives, comparison.
   - Transactional: buy, price, pricing, cost, quote, hire, near me, discount, a specific product or model name.
   - Navigational: a brand name, a login, a specific site or app.
   When modifiers do not settle it, use the ranking URLs if you have them. Product and category pages in the results point to transactional intent. Guides and list posts point to informational or commercial intent. If you have neither signal, label it "unclear".
3. **Build clusters.**
   - With ranking URLs: for each pair of keywords, count the URLs they share in the top 10. Match on the full URL, ignoring tracking parameters, protocol and trailing slashes. Put two keywords in the same cluster when they share at least 3 of the top 10 URLs. This threshold is a common working rule with no industry standard behind it. Tell the user that raising it gives more, tighter clusters and lowering it gives fewer, broader ones. Start with the highest-volume unassigned keyword, pull in every unassigned keyword that meets the threshold with it, then move to the next unassigned keyword.
   - Without ranking URLs: group keywords that share a core topic and the same intent. Close variants go together: plurals, word order, synonyms, and "for" or "with" forms. Same topic with a different intent goes in a different cluster. "crm pricing" and "what is a crm" are two pages.
   - Never put two intents in one cluster unless the ranking data shows the same URLs ranking for both. If it does, say so in the notes.
4. **Handle leftovers.** A keyword that fits no cluster becomes its own cluster if its volume justifies a page by the user's standards. Otherwise list it as a supporting term for the nearest cluster, or park it with a reason. Ask the user for their minimum volume for a page if it matters and they have not said.
5. **Pick a primary keyword per cluster.** Default to the highest-volume keyword that states the intent clearly. Prefer a natural phrase over a slightly higher-volume awkward one, and explain the choice when you do this. Give the cluster a short plain-English name.
6. **Map each cluster to a page type**: guide, glossary or explainer, comparison page, alternatives page, category page, product or service page, location page, tool or template page, or a section on an existing page. Base the choice on intent and, when you have ranking URLs, on the page types that rank.
7. **Check for cannibalisation.** If the user gave existing pages, match each cluster to URLs whose title or main topic targets the primary keyword or a close variant. With Search Console data, also match pages that get impressions for the cluster's keywords. Flag:
   - Two or more existing pages matching one cluster (likely cannibalisation).
   - One existing page matching several clusters with different intents (the page may be trying to do too much).
   - A new cluster that an existing page already covers (update that page instead of creating a new one).
8. **Add up volume per cluster.** Sum the volumes from the input. Note that close variants often share demand, so the sum can overstate real traffic potential.

## Output format

Use these sections in this order.

**Summary**: keywords received, keywords clustered, keywords set aside, number of clusters, and the method used (SERP overlap with the threshold you applied, or intent and wording only). Two or three sentences.

**Cluster table**: columns Cluster name, Primary keyword, Intent, Page type, Keywords (count), Total volume, Secondary keywords (up to 8, highest volume first), Existing URL match, Action (create, update existing, merge, review). Sort by total volume, highest first.

**Cannibalisation flags**: columns Cluster, URLs involved, What overlaps, Suggested fix. Fixes include merging and redirecting, re-targeting one page to a different intent, or adding a clear internal link between the pages. Mark each as a suggestion for a person to confirm.

**Supporting terms and parked keywords**: columns Keyword, Volume, Where it fits or why it was parked.

**Full keyword map**: every keyword in a copy-ready CSV block with the header `keyword,volume,intent,cluster,primary_keyword`.

**Notes**: anything unusual, such as many "unclear" intents, volumes from a different market than the site targets, or clusters that would split or merge at a different overlap threshold.

## Quality checks

Before you answer, check that:

- Every input keyword appears exactly once in the full map, the supporting list or the parked list, and the counts in the summary match.
- No cluster mixes intents without a stated reason from the ranking data.
- Volumes are copied from the input. If a volume is missing, leave the cell blank and say so. Never estimate one.
- You did not claim SERP overlap if you had no ranking URLs.
- Every cannibalisation flag names the URLs involved.

## Edge cases

- **Brand terms**: put the user's own brand keywords in their own clusters. Put competitor brand keywords in comparison or alternatives clusters only if the user wants that kind of page.
- **Local keywords**: cluster by service first, then split by city only if the user has or wants location pages.
- **Keywords with a year in them**: keep them with the matching evergreen cluster and note the modifier, so the page title can carry the year if needed.
