# Keyword clustering

> Keyword clustering is an open-source agent skill for marketing and seo. Groups search queries into reproducible intent clusters, each mapped to one page. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/keyword-clustering
- **Repository:** https://github.com/mtarcure/claude-vibe-squad
- **GitHub stars:** 227
- **License:** MIT
- **Skill name:** keyword-clustering
- **Collection:** https://github.com/mtarcure/claude-vibe-squad
- **Categories:** [marketing and SEO](https://ai-powered.com/categories/marketing-and-seo)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through turning a supplied or grounded set of search queries into topic and intent clusters, with each cluster assigned to a single target page. It asks for a fixed normalization rule, a pinned similarity method and a split/merge threshold before any grouping happens, so the result can be replayed and reviewed.

The workflow records where each query came from, when it was collected and its locale and device, then tags each query as informational, navigational, transactional or commercial with a confidence value. Clusters are checked so that no two pages compete for the same cluster, and overlapping existing or proposed pages are flagged as cannibalization. Any judgment call that overrides the pinned rule has to be written down as an exception with its reasoning.

The output is an evidence table with one row per normalized query, plus the cluster-to-page map. The skill does not supply query data or search volumes itself, so the agent needs the queries as input, or access to a source that grounds them.

## When your agent uses it

> Use when supplied or grounded search queries must be grouped into reproducible intent/topic clusters and mapped one-cluster-per-page; emit the evidence table with source/date/locale/device and explicit split/merge rules. Not for measuring ranking impact without analytics.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/keyword-clustering)
- [License: MIT](https://github.com/mtarcure/claude-vibe-squad/tree/HEAD/.agents/skills/keyword-clustering)

## Features

- **Query provenance tracking:** Records source, collection date, locale and device for every query in the table.
- **Intent labeling:** Tags each query with an intent category and confidence, allowing explicit multi-intent exceptions.
- **Pinned clustering rules:** Fixes the normalization, similarity method and split/merge threshold before grouping begins.
- **One cluster, one page mapping:** Assigns each reproducible cluster to exactly one target page or content piece.
- **Cannibalization flagging:** Identifies existing or proposed pages that compete for the same query cluster.
- **Reviewable evidence table:** Produces a per-query table with exception rationale so overrides can be audited.

## Good for

- Group a exported keyword list into topic clusters for a content plan
- Map search queries to one target page each for a site restructure
- Check whether two existing blog posts compete for the same search intent
- Label a set of queries as informational, transactional or commercial
- Produce an auditable table showing how each keyword was clustered

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/keyword-clustering` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/keyword-clustering &&
cp -R "$tmp/.agents/skills/keyword-clustering" ~/.claude/skills/keyword-clustering &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/keyword-clustering` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/keyword-clustering` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/keyword-clustering &&
cp -R "$tmp/.agents/skills/keyword-clustering" ~/.agents/skills/keyword-clustering &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/keyword-clustering` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/keyword-clustering` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/keyword-clustering &&
cp -R "$tmp/.agents/skills/keyword-clustering" ~/.cursor/skills/keyword-clustering &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/keyword-clustering` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/keyword-clustering
```

Or copy the folder to `~/.gemini/skills/keyword-clustering` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/keyword-clustering`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/keyword-clustering &&
cp -R "$tmp/.agents/skills/keyword-clustering" ~/.copilot/skills/keyword-clustering &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/keyword-clustering` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git
```

Then copy `claude-vibe-squad/.agents/skills/keyword-clustering` into your agent's skills folder as `keyword-clustering`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It needs supplied or grounded search queries. It is explicitly told not to invent query or volume evidence, so the input must already contain the queries and their provenance.

### Does Keyword clustering measure ranking impact?

No. The skill says it is not for measuring ranking impact without analytics.

### What does the output look like?

An evidence table with one row per normalized query, including source, date, locale, device, intent label and confidence, cluster ID and target page, plus the cluster-to-page map.

### Does Keyword clustering include scripts?

No. The skill folder contains only the SKILL.md file, with no scripts or reference files.

### How do I install Keyword clustering in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/keyword-clustering to use it in all your projects, or to .claude/skills/keyword-clustering in one project.

### Does Keyword clustering run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Keyword clustering?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Keyword clustering?

The closest alternatives to Keyword clustering are Topic cluster map, SEO cluster, Keyword research, Keyword research and Keyword cannibalization check.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Topic cluster map](https://ai-powered.com/skills/topic-cluster-map): Topic cluster map is an open-source agent skill for marketing and seo.
- [SEO cluster](https://ai-powered.com/skills/seo-cluster): SEO cluster is an open-source agent skill for marketing and seo.
- [Keyword research](https://ai-powered.com/skills/keyword-research-superamped): Keyword research is an open-source agent skill for marketing and seo.
- [Keyword research](https://ai-powered.com/skills/keyword-research-ryze-ai-adgent): Keyword research is an open-source agent skill for marketing and seo.
- [Keyword cannibalization check](https://ai-powered.com/skills/keyword-cannibalization-check): Keyword cannibalization check is an open-source agent skill for marketing and seo.
- [Search intent match](https://ai-powered.com/skills/search-intent-match): Search intent match is an open-source agent skill for marketing and seo.
- [Content strategy](https://ai-powered.com/skills/content-strategy-zeitlos): Content strategy is an open-source agent skill for marketing and seo.
- [Content strategy](https://ai-powered.com/skills/content-strategy-seite-sh): Content strategy is an open-source agent skill for marketing and seo.

---
Source: https://ai-powered.com/skills/keyword-clustering
