Skip to main content
skill Claude Code CX Codex Cursor GitHub Copilot

keyword-clustering — Claude Code skill: intent-based keyword

Groups keywords by search intent and assigns each cluster to an existing or proposed page.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add every-app/open-seo --skill keyword-clustering -a claude-code
Open on GitHub

What keyword-clustering does

Gathers keywords from a list, Search Console, or ranked domain, checks SERP overlap via OpenSEO MCP tools (get_serp_results, get_search_console_performance), and builds clusters by intent, not lexical similarity. Maps each cluster to a URL from project context or recommends creating a new page.

Identifies cannibalization — queries splitting impressions across multiple URLs. If no key pages are saved in the project, the skill prompts a minimal setup before clustering.

Results save through the seo-report skill as a table of clusters, page briefs, and an action list. Requires projectId and a keyword set; for local SEO it uses get_local_serp_results.

What it helps with

  • cluster keywords by intent, not by words
  • assign each cluster to an existing or new page
  • find cannibalization — queries splitting across URLs
  • validate SERP overlap for borderline terms
  • write page briefs with sections and internal links

Example prompts for the agent

  • Cluster these keywords and map them to pages, check intent via SERP
  • Group Search Console queries and show where cannibalization happens
  • Build a cluster map for this domain and suggest new pages

How to install keyword-clustering

1Skills CLI (Vercel)

npx skills add every-app/open-seo --skill keyword-clustering -a claude-code

2Manually: put the files in place

~/.claude/skills/keyword-clustering/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/keyword-clustering/

From the same set9

The whole set →
keyword-research every-app Finds search query opportunities via OpenSEO MCP tools, evaluates SERP metrics, and saves vetted keywords to the project. Claude Code CX Codex Cursor +1 6,700installs competitor-analysis every-app A skill for analyzing one competitor's organic footprint: keywords, content themes, backlinks, and gaps. Delivers a report with a winnable action plan. Claude Code CX Codex Cursor +1 6,600installs link-prospecting every-app Finds realistic link prospects from search results and competitor backlinks, uncovers public contact details, and drafts targeted outreach pitches. Claude Code CX Codex Cursor +1 6,500installs competitive-landscape every-app This skill maps SEO competitors, content themes, keyword coverage, and backlinks. Use it to find gaps across a market. Claude Code CX Codex Cursor +1 6,500installs seo-coach every-app Enters an OpenSEO coach mode to explain search optimization workflows, suggest concrete next actions, and guide agent research tools. Claude Code CX Codex Cursor +1 6,500installs seo-project-setup every-app Collects a site's SEO context, goals, positioning, competitors, and key pages. Use it before running other OpenSEO skills. Claude Code CX Codex Cursor +1 6,500installs seo-audit every-app Audits a domain with OpenSEO tools, finds qualified organic search opportunities, and produces a data-backed action report. Useful when preparing an SEO review for non-experts. Claude Code CX Codex Cursor +1 5,100installs local-seo every-app Audits Google Business Profiles, benchmarks them against local rivals, and maps Google Maps visibility across a coordinate grid. Claude Code CX Codex Cursor +1 4,300installs

Similar

content-creation official anthropics This skill helps draft marketing content for blogs, social posts, newsletters, landing pages, and more. Use it when channel formatting, SEO copy, headlines, or CTAs matter. Claude Code CX Codex Cursor +1 4,900installs data-manager-api-event-ingestion official google Guides event and conversion ingestion to Google products through the Data Manager API. Use it for offline conversions, lead conversions, and Google Analytics events. Claude Code Gemini CLI CX Codex 6,148installs seo-audit official anthropics This skill audits a site’s search visibility, pages, technical signals, and competitor content. Use it to identify SEO work and sort findings into priorities. Claude Code CX Codex Cursor +1 3,700installs seo AgriciDaniel Runs site audits, technical checks, Schema.org validation, and Generative Engine Optimization. Suitable for SaaS, e-commerce, and local business audits. Claude Code CX Codex Cursor +1 9,000installs seo-audit coreyhaines31 Diagnoses technical SEO issues, indexing drops, and metadata errors. Identifies why your site is losing organic search rankings in Google. Claude Code CX Codex Cursor +1 236,800installs brand claudekit Keeps brand voice, visual rules and design tokens in one markdown file, then feeds them to your agent's prompts and to your CSS variables. Claude Code CX Codex Cursor +1 39,500installs banner-design claudekit Generates banners for social media, ads, and web hero sections using HTML/CSS. Useful when you need fast visual creative assets directly in your coding agent. Claude Code CX Codex Cursor +1 39,000installs marketing-psychology coreyhaines31 Applies behavioral science and mental models to marketing decisions. It helps teams analyze buyer motivations and solve funnel bottlenecks. Claude Code CX Codex Cursor +1 164,000installs

Questions about keyword-clustering

How to install keyword-clustering in Claude Code?

Run npx skills add every-app/open-seo --skill keyword-clustering -a claude-code, the skill installs to ~/.claude/skills/keyword-clustering/SKILL.md.

What does keyword-clustering do?

Groups keywords by search intent, checks SERP overlap, and assigns each cluster to an existing or proposed page. Identifies query cannibalization.

What does keyword-clustering need to run?

A projectId, a keyword list or connected Search Console, and key pages in project context. If none are saved, the skill prompts a minimal setup first.

Source text

SKILL.md · MIT
---
name: keyword-clustering
description: Cluster keywords by intent and map them to existing or proposed pages.
---

# OpenSEO Keyword Clustering

## Goal

Group keywords into page-level clusters and decide which existing or new page should target each cluster. This is a keyword mapping workflow, not just a semantic grouping exercise.

## Required inputs

- `projectId`
- A keyword list, saved keyword tag, seed topic, or target domain
- Optional existing URLs/pages to map against

If keywords are not provided, use `list_saved_keywords` for saved sets, `research_keywords` for seed discovery, or `get_ranked_keywords` when the user starts from a target domain.

## Project context

The project-context tools are free and shared with the app and other agents.

1. Call `get_project_context` first and ground the mapping in it — the saved key pages are the existing pages clusters should map to, and the business and goal decide which clusters are worth targeting.
2. This skill needs key pages. If none are saved, run a minimal inline setup: ask the user for the pages that matter, or propose a shortlist from the site, an audit, or Search Console and confirm it, write it back with `update_project_context` (`addKeyPages`), then continue the clustering. Never front-load the full interview; suggest `seo-project-setup` at the end for the rest.
3. Before spending credits, check the research log. If the same research ran within the last 30 days, reuse that result and say so instead of re-buying it.
4. On finish, write back what is durable with `update_project_context` — new or corrected `addKeyPages` entries with the topic each page now targets — and append a research log entry: `{ appendResearchLog: { summary: "Keyword clustering: <keyword set>. Verdict: <conclusion>" } }`.

## Deliver as a report

Deliver through the `seo-report` skill, saving with `skill: "keyword-clustering"`. If that skill is not available, say so and stop before writing HTML.

## OpenSEO MCP tools

- `list_saved_keywords`: fetch an existing keyword set, optionally filtered by tags.
- `research_keywords`: expand a seed when the user starts from a topic.
- `get_ranked_keywords`: gather exact ranking keywords and URLs when the user starts from a domain or page.
- `get_search_console_performance`: when Search Console is connected, pull real queries with `dimensions: ["query","page"]` to map terms to the pages already earning impressions and to surface cannibalization (one query splitting clicks across multiple URLs).
- `get_serp_results`: validate whether keywords belong on the same page by checking SERP overlap and intent.
- `get_local_serp_results`: use for local SEO clusters when Maps/local-pack intent should affect page mapping.
- `save_keywords`: optionally tag final clusters after user confirmation.

## Workflow

1. Gather the candidate keyword set.
   - Use `get_search_console_performance` (dimensions `["query","page"]`) when Search Console is connected to start from real queries and the pages already ranking for them.
   - Use `get_ranked_keywords` for domain/page-driven clustering.
   - Use `search_local_businesses` and `get_local_serp_results` when proximity, local packs, or Google Business results determine whether terms belong on location pages.
2. Remove duplicates, irrelevant terms, and terms that clearly require a different product or audience.
3. Build clusters around intent and page type:
   - Same SERP intent and similar ranking pages belong together.
   - Different intent, buyer stage, or SERP format should be split.
   - Similar words do not guarantee the same cluster.
4. For important borderline terms, use a small `get_serp_results` batch to check overlap.
5. Assign each cluster to:
   - Existing URL, if supplied and appropriate
   - New page recommendation, if no existing page fits
   - Do-not-target / later bucket, if weak or off-strategy
6. Identify cannibalization risk when multiple pages would target the same intent. When Search Console is connected, confirm it from real data with `get_search_console_performance` (`dimensions: ["query","page"]`) — the same query sending impressions to multiple URLs.
7. Ask before applying cluster tags with `save_keywords`.

## Output format

`h1`: the site or keyword set.

If a report template applies (see `seo-report`), its sections and tone replace this list.

Sections in this order:

1. **The map** — one or two opening sentences: how many clusters, how many pages to create, how many to update, and any cannibalization found.
2. **Clusters** — a table of cluster, primary keyword, intent, target page, and priority. Keep secondary keywords in the per-cluster briefs, not in this table.
3. **Page briefs** — one finding per cluster: the page type and the searcher's problem, then the page to create or update. List required sections and internal links underneath.
4. **Cannibalization** — a table of the query, the competing URLs, and which one to keep, only when there is real evidence for it.
5. **What to do next** — an ordered list, including the tag suggestions and the explicit ask before applying them.
6. **How this report was made** — opens with the skill link line from `seo-report`, pointing at `https://openseo.so/docs/skills/keyword-clustering` ("OpenSEO Keyword Clustering skill"), then where the keywords came from, and a note labelling target pages as proposed when no URL data was supplied.

## Guardrails

- Do not over-cluster tiny keyword sets. If there are fewer than 10 usable terms, produce a simple map.
- Do not rely on lexical similarity alone. SERP intent wins.
- Do not replace tags broadly without explicit confirmation.
- If existing URL data is missing, label target pages as proposed.

© every-app · MIT · every-app/open-seo

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor