Keyword Clustering Skill for Claude Code
Group keywords by what Google actually shows, map each group to one page, and catch cannibalization in your Search Console data. For Claude Code, Codex, Cursor.
"Panel upgrade" and "panel upgrade cost" look like one page. Sometimes Google agrees and sometimes it shows guides for one and contractors for the other. Clustering by similar words gets this wrong often enough to cost you pages. This skill groups keywords by intent and by what ranks, then tells you which page each group belongs on.
What the agent does
- Gets the list. From your saved keywords, from a topic, from a domain's ranking keywords, or best of all from Search Console with query and page together, so it sees which of your pages already earn impressions for which terms.
- Removes noise: duplicates, unrelated terms, and terms for a different product or audience.
- Groups by intent and page type. Same intent and the same kind of ranking pages go together. A different buyer stage or results format splits the group, even when the words match.
- Checks the borderline cases with a small batch of
get_serp_results. If two terms share most of their top results, they share a page. - Assigns each group to an existing URL, a proposed new page, or a "not now" bucket.
- Flags cannibalization. With Search Console connected, it confirms it from your data: one query splitting impressions across two or more of your URLs.
- Asks before tagging the groups in HarborRank.
For local businesses it also checks the Maps results, because a term with a map pack usually belongs on a location or service page, not a blog post.
What you get back
A short summary first: how many groups, pages to create, pages to update, and any overlap to fix. Then:
| Cluster | Primary keyword | Secondary keywords | Intent | Target page | Priority | Notes |
|---|
Each group comes with a short page brief: page type, the searcher's problem, the sections the page needs, and which pages should link to it. With fewer than ten usable keywords it skips the ceremony and gives you a simple map.
Prompts that work
/keyword-clustering my saved keywords tagged topic:generators, map them to my existing pages/keyword-clustering use Search Console and find queries split across more than one pageCost
Search Console and saved keywords are free. Each batch of results-page checks costs credits, so the skill keeps those to the terms it cannot place otherwise. Most runs fit in the Free plan.
Read the skill
keyword-clustering/SKILL.md on GitHub.
Next
- Keyword Research if you need the list first.
- Competitive Landscape to see what kind of pages win each group.