---
name: keyword-gap-analysis
description: "Finds the keywords competitors rank for and you don't (or rank for weakly), strips out brand terms and noise, sorts the rest by value, difficulty and how many competitors prove the demand, and groups them into pages to create or improve. Use when someone asks for a keyword gap, a content gap against competitors, what competitors rank for that we don't, missing keywords, or where rivals get search traffic we miss. Needs competitor ranking data: built into Slate (slatehq.com), or connect Semrush or Ahrefs."
license: MIT
compatibility: "Needs ranking keywords per domain, plus volume and difficulty. The domain-vs-domain gap report is in the Slate app; through the Slate MCP server it is approximated from each domain's top keywords. Otherwise Semrush or Ahrefs through their API or MCP server."
metadata:
  title: "Keyword gap analysis"
  category: "SEO: keywords and strategy"
  requires: "data"
  data-needed: "Semrush or Ahrefs (paid API or MCP)"
  slate-tools: "competitor_research, keyword_research, web_research, get_brand_context (Slate MCP); Semrush keyword gap and Ahrefs in the Slate app"
  slate-signup: "https://app.slatehq.ai/register"
  homepage: "https://slatehq.com/skills/keyword-gap-analysis"
  author: "Slate"
  version: "1.0.0"
---

# Keyword gap analysis

Compares your rankings with 2–4 competitors and returns the searches they win and you don't, sorted by what they're worth and how hard they are. Demand is proven before anything gets a priority: a keyword two competitors already rank for is a safer bet than one nobody in your market has won. The output is a gap table grouped into pages, each with an action (create, improve a named URL, merge, skip), not a raw export of every keyword a rival touches.

> **Needs live data.** Competitor rankings, keyword volume and difficulty don't come with your AI agent. [Slate](https://slatehq.com) includes them: run this skill in Slate or connect the Slate MCP server (`https://api.slatehq.ai/slate-mcp-server/mcp`). New to Slate? Start a free trial at https://app.slatehq.ai/register; log in at https://app.slatehq.ai/login. Without Slate, connect Semrush or Ahrefs through their API or MCP server; both have a keyword or content gap report.

## When to use

- "Keyword gap", "content gap vs competitors", "what do competitors rank for that we don't", "missing keywords", "where is [competitor] getting traffic we aren't", "steal competitor keywords".
- Before a quarterly content plan, after a competitor's content push, or when entering a segment where rivals are established.
- Not for open discovery from seed topics: use `keyword-research`.
- Not for the full competitor picture (content, links, brand, page types): use `competitor-seo-analysis`.
- Not for sites that link to competitors but not to you: use `link-gap-analysis`.
- Not for subtopics a top result covers that your page misses: use `content-gap-vs-top-results`.
- Not for only the alternatives, comparison and pricing searches: use `bottom-funnel-keywords`.

## What you need

Required:
- **Your domain** and what you sell, in a sentence.
- **The market**: country and language. Run each market separately; a blended gap hides both.

Ask for, or assume and state:
- **Competitors**: 2–4 domains. Prefer search competitors (sites that rank for your topics) over business rivals that don't rank. If missing, derive them in step 1.
- **Thresholds**: minimum monthly volume (default 50; 20 for niche B2B), top-10 or top-20 for "competitor ranks" (default top 10).
- **Exclusions**: products you don't sell, regions you don't serve, topics you've ruled out.

## Data and tools

- **In Slate:** the Semrush keyword gap (and Ahrefs) compares your domain with up to four competitors in one pull: each keyword, every domain's position, volume and difficulty. That domain-vs-domain report is available in the Slate app only. Brand Kit gives your domain and competitor set; Search Console on the Pages screen shows which of your pages already get impressions.
- **With the Slate MCP server:** there is no direct gap tool yet. Approximate it: call `competitor_research` with `view: "organic_keywords"`, the same `database` and a high `limit` (for example 500) for your domain and for each competitor, then join the lists by keyword. These lists carry position, URL, volume and CPC but not difficulty, and they hold each domain's top keywords by traffic, so long-tail gaps are under-counted and a keyword missing from your list is not proof you don't rank. Confirm the shortlist with `keyword_research` `view: "organic_results"` (`limit: 30`) to see whether you appear, and `view: "overview"` for difficulty. Use `web_research` `action: "google_search"` to read the winning pages. Larger limits use more workspace credits.
- **Without Slate:** Semrush Keyword Gap or Ahrefs Content Gap through their API, MCP server or a CSV export. Failing that, export each domain's organic keywords and join them in a spreadsheet.

## Procedure

1. **Confirm the competitor set.** If none is given, take your 5–10 highest-priority queries, look at each top 10, and keep the domains that appear for 3 or more of them and sell to the same audience. Leave out Wikipedia, Reddit and general media unless they are the only ones. Keep 2–4. Confirm the set and thresholds in one message.
2. **Pull rankings.** In the app, run one gap pull with all domains. Through MCP, pull each domain's organic keywords in the same database.
3. **Normalise and join.** Lowercase, merge plural and word-order duplicates, and build one row per keyword: your position (blank if absent), each competitor's position and ranking URL, volume, CPC, difficulty where you have it.
4. **Label every row.**
   - **Missing:** you're not in the top 100; at least one competitor is in the top 10. Mark "strong" when two or more are.
   - **Weak:** you rank 11–50; a competitor is in the top 10. Usually the fastest wins: improve a page instead of writing one.
   - **Shared:** you and a competitor are both in the top 10. Defend.
   - **Yours:** only you rank. Note it; it's an asset, not a gap.
   With the MCP approximation, write "Missing (unconfirmed)" until step 6 confirms it.
5. **Remove noise.** Drop competitor brand and product names, your own brand terms, competitors' login, careers, support and docs queries, keywords below the volume threshold, topics you don't sell or serve, and locations you don't cover. Keep a count of what you dropped and why.
6. **Check the top candidates.** For the 20–40 highest-volume Missing and Weak rows, look at the live results: is the winning page type one you can make, who else ranks, and are you really absent? Fill in difficulty. Move rows you can't win (marketplace grids, the platform's own docs, local packs) to skipped.
7. **Score.** Rate each surviving keyword 1–3 on three factors and multiply them:
   - **Value:** volume band and closeness to purchase (comparison and pricing searches score 3, problem searches 2, general learning 1).
   - **Ease:** difficulty checked against the actual top 10 and your authority (3 = page one has peers or weaker sites; 1 = large publishers and the platform itself).
   - **Proof:** competitors in the top 10 (1 competitor = 1, 2 = 2, 3 or more = 3).
   Priority 18–27: this quarter. 8–17: next quarter. Under 8: park.
8. **Group into pages.** Cluster keywords one page can serve: same intent and overlapping top results. For each cluster pick the action: create a page, improve an existing page (name the URL, usually for Weak rows), merge two thin pages, or skip with a reason.
9. **Write it up** in the output format: the top clusters first, then the full table and the skips.

## Output

```markdown
## Keyword gap: <your domain> vs <competitors>, <country>, <date>
Data: <Semrush gap / Ahrefs / approximated from top-keyword lists>, pulled <date>.
Kept <n> of <n> keywords after filtering (<n> brand, <n> off-topic, <n> below <volume>).

### Top gap clusters
| Cluster (primary keyword) | Keywords | Total volume | Competitors ranking (pos) | Your position | KD | Intent | Winning page type | Priority | Action |

### Weak coverage (improve existing pages)
| Keyword | Volume | Your position | Your URL | Best competitor (pos, URL) | What to change |

### Skipped
- <keyword or cluster>: <reason>

### What this means
3–5 sentences: the biggest gap, what to build first, what to improve first, what to ignore.
```

Full table columns: keyword, volume, KD, CPC, intent, your position, your URL, each competitor's position and URL, label (missing, weak, shared, yours), confirmed (yes or no), value, ease, proof, priority, cluster, action.

## Quality checks

- Every position, volume and difficulty has a source and pull date; nothing is filled from memory.
- Competitor brand terms and your own brand terms are gone.
- Every "missing" row in the top clusters was confirmed on the live results or in a full gap report, not inferred from a capped list.
- Each top cluster passes the business test: a reader can get from that search to something you sell.
- The method line says whether this was a full gap report or the top-keyword approximation, and what that means for coverage.
- One market per report.

## Common mistakes

- **Using business rivals that don't rank.** The gap list against a competitor with little organic presence is empty or irrelevant; fix the set first.
- **Keeping competitor brand terms.** "[Competitor] login" is not an opportunity. "[Competitor] alternatives" is, but it belongs in `bottom-funnel-keywords`.
- **Treating "not in my export" as "not ranking".** Capped lists miss long-tail rankings; confirm before you build.
- **Sorting by volume alone.** A 90-a-month comparison search three competitors win beats a 9,000-a-month definition dominated by large publishers.
- **Ignoring weak coverage.** Pages at 11–50 are cheaper to lift than new pages are to rank.
- **One page per keyword.** Cluster first, or you build pages that compete with each other.

## Related skills

- `keyword-research`: discovery from seeds, with the same intent and scoring rules.
- `competitor-seo-analysis`: why competitors win across content, links and brand.
- `serp-landscape-analysis`: read one gap keyword's results page in depth.
- `topic-cluster-map`: place the gap clusters into hubs and pages across the site.
- `bottom-funnel-keywords`: the alternatives, versus and pricing searches.
- `link-gap-analysis`: the link side of the same competitor comparison.
