seo-keyword-gap-audit
About
This skill analyzes competitor SEO data via Ahrefs MCP to identify and prioritize keywords your target property doesn't rank for. It's designed for content planning, finding quick wins, and competitive analysis when entering new markets or losing share. The output is a prioritized, clustered list of keyword opportunities for new or improved content.
Quick Install
Claude Code
Recommendednpx skills add rampstackco/claude-skills -a claude-code/plugin add https://github.com/rampstackco/claude-skillsgit clone https://github.com/rampstackco/claude-skills.git ~/.claude/skills/seo-keyword-gap-auditCopy and paste this command in Claude Code to install this skill
Documentation
SEO Keyword Gap Audit
Find keyword opportunities by comparing the target property's organic footprint against a competitor set, using Ahrefs MCP data. Stack-agnostic. Produces a prioritized list of keywords to target with new or improved content.
When to use
- Planning content investment for the next quarter
- Identifying quick-win keywords for fast organic gains
- Scoping market entry into a new vertical
- Refreshing a stale content strategy
- Diagnosing why a competitor is gaining organic share
- Pre-acquisition due diligence on growth ceiling
When NOT to use
- Pure keyword discovery without a competitor frame (use
seo-keyword) - Single-page optimization (use
seo-onpage) - Content audit on existing pages (use
seo-content-audit) - Topic and pillar planning (use
content-strategy)
Required inputs
- Target property
- Competitor set (3-5 properties with overlapping intent and audience)
- Target market and language
- Business priorities (which segments matter most)
- Existing content inventory (URLs and primary topics)
- Confirmation Ahrefs MCP is connected
The framework: the gap matrix
A keyword can fall into one of four cells based on whether the target ranks and whether competitors rank.
| Target ranks | Target does not rank | |
|---|---|---|
| Competitors rank | Shared territory (defend and grow) | Pure gap (the opportunity) |
| Competitors do not rank | Unique territory (asset to protect) | Untouched (validate before investing) |
The audit focuses primarily on the "pure gap" cell. The other cells get secondary treatment.
Pure gap (top focus)
Keywords where one or more competitors rank in the top 10 and the target does not rank at all or ranks past page 3. These are the primary opportunities.
Shared territory
Keywords where both target and competitors rank. Useful for defending position and finding pages to push from page 2 to page 1.
Unique territory
Keywords where the target ranks and no competitor does. These are differentiators. Audit to confirm they are actually valuable (not just irrelevant terms).
Untouched
Keywords no one in the set ranks for. Could be opportunity or could be irrelevant. Validate intent before investing.
Opportunity scoring
Not every gap keyword is worth pursuing. Score each candidate.
Scoring dimensions
| Dimension | What it measures | Weight |
|---|---|---|
| Search volume | Estimated monthly searches in target market | 20% |
| Business relevance | How close to a money topic for the target | 30% |
| Difficulty | How hard to rank (Ahrefs KD or proxy) | 15% |
| Intent match | Whether target can satisfy the dominant intent | 20% |
| Position potential | Realistic top 3 reach within 6 months | 15% |
Weights adjust based on goal. For quick wins, weight position potential and difficulty higher. For strategic territory, weight business relevance and volume higher.
Opportunity score formula
score = (volume_normalized * 0.2)
+ (relevance_score * 0.3)
+ (difficulty_inverted * 0.15)
+ (intent_match * 0.2)
+ (position_potential * 0.15)
Where each input is normalized to 0-100. The result is a 0-100 score.
Banding for action
| Score | Action |
|---|---|
| 80-100 | Top priority. Plan content this quarter. |
| 60-79 | Strong priority. Plan within 6 months. |
| 40-59 | Watch list. Revisit if competitive landscape shifts. |
| Below 40 | Park or drop. |
Workflow
- Define the competitor set. 3-5 properties. Confirm they share intent and audience.
- Pull keyword data. For each property: organic keywords, top pages, traffic estimates.
- Build the gap matrix. Label each keyword with which property ranks where.
- Filter to the pure gap cell. Strip out the other cells for now.
- Validate intent. For each keyword, confirm the SERP intent matches what the target can produce.
- Score by opportunity. Use the formula. See
references/opportunity-scoring-rubric.md. - Cluster. Group related keywords into topics. One topic, one piece of content.
- Map to existing content. Some gap keywords are addressable by updating an existing page rather than creating new.
- Sequence. Build the prioritized list with action (create / update / merge / new pillar).
- Hand off. Output feeds
content-strategyandseo-onpage.
Failure patterns
- Wrong competitor set. Choosing competitors by brand recognition rather than SERP overlap produces gap lists that are not actually competitive. Pick competitors that fight you in the SERPs.
- Volume worship. High-volume gap keywords are often unrealistic. A 50-volume keyword you can rank for beats a 5,000-volume keyword you cannot.
- Ignoring intent. A gap keyword where the SERP is dominated by tools or marketplaces is not addressable by an article. Match content type to intent.
- Skipping clustering. Targeting individual keywords instead of topics produces thin content that loses to topical hubs.
- Over-relying on Ahrefs KD. Difficulty scores are heuristics. Look at the actual SERP. If it is dominated by Forbes and Wikipedia, KD is misleadingly low.
- No business filter. A high-volume gap with zero buyer intent is a vanity opportunity. Filter for relevance.
- One-shot audits. Gap closes and reopens as competitors publish. Rerun on a cadence.
- Forgetting unique territory. Defending what you uniquely rank for can be more valuable than chasing gaps. Audit both directions.
- Single-language audits in multi-market sites. Run separate gap audits per market. Patterns differ.
Output format
A keyword gap audit document with:
- Executive summary. Top 3 themes and top 10 priority keywords.
- Competitor set. Who, why selected, SERP overlap evidence.
- The gap matrix. Counts and patterns across the four cells.
- Pure gap analysis. The opportunity list, scored and banded.
- Topic clusters. Groups of related keywords mapped to content concepts.
- Action map. Create / update / merge decisions per cluster.
- Quick wins. Top 5-10 highest-confidence opportunities.
- Strategic plays. High-impact, longer-horizon investments.
- Methodology. Data sources, scoring weights, caveats.
Length: 6-15 pages plus an attached opportunity spreadsheet.
Reference files
references/opportunity-scoring-rubric.md- Scoring rubric with normalization rules, formula, and worked examples.
GitHub Repository
Related Skills
seo-site-health-audit
OtherThis skill prioritizes technical SEO issues from crawlers like Ahrefs by their actual impact on rankings and traffic, not just by severity labels. It helps developers create a prioritized fix backlog when reviewing audit results or scoping SEO sprints. Use it to cut through decision paralysis from long lists of crawl errors and focus on high-impact actions.
seo-traffic-diagnosis
OtherThis skill diagnoses organic traffic changes using Ahrefs and Search Console data, performing a 5-layer root cause analysis. It triggers on issues like sudden traffic drops, algorithm updates, or post-migration losses to identify the problem. The output provides a clear diagnosis and actionable plan for developers to resolve SEO performance issues.
seo-rank-tracking
OtherThis skill helps developers set up and manage SEO rank tracking using Ahrefs MCP. It guides you through selecting keywords, segmenting them, establishing baselines, and configuring alert thresholds. Use it when initiating a new tracking project or establishing a reporting cadence for stakeholders.
seo-content-gap-audit
OtherThis skill analyzes Ahrefs data to identify content gaps, outdated pages, and decaying performance. It helps developers build a content roadmap by recommending actions like creating, updating, or merging pages. Use it when planning content strategy, refreshing a stale catalog, or diagnosing flat organic traffic.
