Skip to main content
skill CX Codex

content-gap-analysis · openclaudia — Claude Code skill: what it does, how to install

Compares your website content and search queries against 2-3 competitors using sitemaps and Semrush API. Useful for finding missing topic clusters, formats, and AI search visibility gaps.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OpenClaudia/openclaudia-skills --skill content-gap-analysis -a claude-code
Open on GitHub

What content-gap-analysis does

The skill inventories existing content by parsing sitemap.xml or scanning local MDX, markdown, and CMS files. It categorizes existing pages, fetches sitemaps for 2-3 competitors, and maps topic clusters to reveal coverage gaps. The prompt also audits content against stages of the buyer journey, missing publication formats, and search visibility inside Google AI Overviews.

When a SEMRUSH_API_KEY environment variable is present, the agent executes curl queries to extract organic keywords. It filters gap opportunities to terms with search volume above 100 per month and difficulty below 60. Without a Semrush API key, the skill can only compare sitemap URLs and local files, leaving search demand out of the equation.

Opportunities are ranked through a weighted score. Search volume accounts for 30%, business alignment takes 25%, competition difficulty represents 20%, creation effort is 15%, and strategic value adds 10%. The final output is a markdown report containing executive summaries, gap tables, and quick wins.

What it helps with

  • audit sitemaps against 2-3 competitor websites
  • pull missing organic search queries via Semrush API
  • identify missing content formats and customer journey stages
  • check site citations in Google AI Overviews
  • prioritize editorial topics using weighted scoring

Example prompts for the agent

  • Run a content gap analysis comparing our site against competitor.com
  • What competitor content and topics am I missing on my blog?
  • Find keyword and content format gaps between our domain and competitor.com

How to install content-gap-analysis

1Skills CLI (Vercel)

npx skills add OpenClaudia/openclaudia-skills --skill content-gap-analysis -a claude-code

2Manually: put the files in place

~/.claude/skills/content-gap-analysis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/content-gap-analysis/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about content-gap-analysis

How do I install content-gap-analysis in Claude Code?

Run npx skills add OpenClaudia/openclaudia-skills --skill content-gap-analysis -a claude-code. You can also manually create the file at ~/.claude/skills/content-gap-analysis/SKILL.md.

What does the content-gap-analysis skill do?

It benchmarks your website content against competitors using sitemaps, local markdown files, and Semrush data. The skill detects missing search queries, content formats, and journey stages to generate a prioritized plan.

Is a Semrush API key required to run this skill?

No, baseline page and topic cluster auditing relies on sitemap.xml files and local project repositories. An active SEMRUSH_API_KEY is only needed if you want to pull organic keyword volumes and difficulty metrics via curl.

Source text

SKILL.md · MIT
---
name: content-gap-analysis
description: Identify content gaps between your site and competitors. Use when the user says "content gaps", "what am I missing", "competitor content", "content opportunities", "topics I should cover", "content gap analysis", or asks about finding topics and keywords their site doesn't cover but competitors do.
---

# Content Gap Analysis Skill

You are a content strategy analyst. Identify content gaps by comparing a site's content coverage against competitors, search demand, and audience journey needs.

## Analysis Process

### Step 1: Audit Existing Content

Inventory the user's current content:

1. **Crawl the sitemap** — Fetch `{domain}/sitemap.xml` to list all published pages
2. **Categorize pages** by type: blog posts, landing pages, product pages, docs, case studies
3. **Map topics covered** — What keywords/topics does each page target?

If the user has a codebase, check:
- Blog post files/directories
- MDX/markdown content files
- CMS entries or database content

### Step 2: Competitor Content Audit

For 2-3 competitors, gather their content:

1. **Fetch competitor sitemaps** — `{competitor}/sitemap.xml`
2. **List their blog/resource pages**
3. **Categorize their content** by topic cluster

If SemRush API is available:
```bash
# Get competitor's top organic keywords
curl -s "https://api.semrush.com/?type=domain_organic&key=${SEMRUSH_API_KEY}&domain={competitor}&database=us&export_columns=Ph,Po,Nq,Cp,Co,Tr,Tc&display_limit=100"
```

### Step 3: Keyword Gap Analysis

Compare keywords your site ranks for vs. competitors:

```bash
# Your site's keywords
curl -s "https://api.semrush.com/?type=domain_organic&key=${SEMRUSH_API_KEY}&domain={your_domain}&database=us&export_columns=Ph,Po,Nq,Cp,Tr&display_limit=200"

# Competitor's keywords
curl -s "https://api.semrush.com/?type=domain_organic&key=${SEMRUSH_API_KEY}&domain={competitor}&database=us&export_columns=Ph,Po,Nq,Cp,Tr&display_limit=200"
```

**Gap = Keywords competitors rank for that you don't.**

Filter gaps by:
- Search volume > 100/month
- Keyword difficulty < 60 (achievable)
- Relevant to your business
- Not branded competitor terms

### Step 4: Topic Cluster Gap Analysis

Compare topic coverage at the cluster level:

```
Your topic clusters:        Competitor topic clusters:
├── Cluster A: 8 articles   ├── Cluster A: 12 articles  ← Coverage gap
├── Cluster B: 5 articles   ├── Cluster B: 5 articles   ← Parity
├── Cluster C: 3 articles   ├── Cluster C: 7 articles   ← Coverage gap
│                            ├── Cluster D: 6 articles   ← Missing cluster
│                            ├── Cluster E: 4 articles   ← Missing cluster
```

### Step 5: Content Format Gap Analysis

Check what content formats competitors use that you don't:

| Format | You | Competitor A | Competitor B | Gap? |
|--------|-----|-------------|-------------|------|
| Blog posts | ✓ | ✓ | ✓ | No |
| Case studies | ✗ | ✓ | ✓ | **Yes** |
| Comparison pages | ✗ | ✓ | ✗ | Partial |
| Templates/tools | ✗ | ✓ | ✓ | **Yes** |
| Video content | ✗ | ✗ | ✓ | Partial |
| Glossary/wiki | ✗ | ✓ | ✗ | Partial |
| Webinars/events | ✗ | ✓ | ✓ | **Yes** |
| Podcasts | ✗ | ✗ | ✓ | Partial |

### Step 6: Audience Journey Gap Analysis

Map content to the buyer journey:

| Journey Stage | Questions | Your Content | Gap? |
|---------------|-----------|-------------|------|
| **Awareness** | "What is {topic}?" | {exists/missing} | {Yes/No} |
| **Consideration** | "Best {solution} for {use case}" | {exists/missing} | {Yes/No} |
| **Decision** | "{You} vs {competitor}" | {exists/missing} | {Yes/No} |
| **Onboarding** | "How to set up {product}" | {exists/missing} | {Yes/No} |
| **Expansion** | "Advanced {feature} tips" | {exists/missing} | {Yes/No} |
| **Advocacy** | "How {customer} achieved {result}" | {exists/missing} | {Yes/No} |

### Step 7: AI/GEO Gap Analysis

Check if your content appears in AI-generated answers:

1. Search your core keywords on Google (check AI Overviews)
2. Check if your site is cited in AI-generated responses
3. Note which competitors ARE cited
4. Identify what those cited pages have that yours don't:
   - Structured data
   - Clear, concise definitions
   - Tables and comparison charts
   - FAQ sections
   - Authoritative citations

### Step 8: Prioritize Opportunities

Score each gap:

| Factor | Weight | Score 1-10 |
|--------|--------|-----------|
| Search volume potential | 30% | How much traffic could this drive? |
| Business alignment | 25% | How relevant to our product/service? |
| Competition difficulty | 20% | How hard to rank? (inverse: easy = high score) |
| Content effort | 15% | How much work to create? (inverse: easy = high score) |
| Strategic value | 10% | Does this fill a journey gap or unlock a cluster? |

**Priority Score = Weighted average**

## Output Format

```markdown
# Content Gap Analysis: {Domain}
**Date:** {date}
**Competitors Analyzed:** {list}
**Total Gaps Found:** {count}

## Executive Summary

{2-3 sentences on the biggest opportunity areas}

## Keyword Gaps (Competitor Keywords You're Missing)

### High Priority (Volume > 1,000, KD < 40)

| Keyword | Volume | KD | Competitor | Their Position | Content Type Needed |
|---------|--------|-----|-----------|----------------|-------------------|
| {keyword} | {vol} | {kd} | {competitor} | #{pos} | {type} |

### Medium Priority (Volume 200-1,000, KD < 50)

{Same table format}

## Topic Cluster Gaps

### Missing Clusters (Competitors have, you don't)

| Cluster Topic | Competitor Coverage | Est. Total Volume | Recommended Pages |
|---------------|-------------------|-------------------|-------------------|
| {topic} | {competitor}: {X} articles | {volume} | {count} |

### Under-Covered Clusters (You have some, competitors have more)

| Cluster Topic | Your Pages | Competitor Pages | Missing Subtopics |
|---------------|-----------|-----------------|-------------------|
| {topic} | {count} | {count} | {list} |

## Content Format Gaps

| Missing Format | Competitors Using It | Recommended Action | Priority |
|---------------|---------------------|-------------------|----------|
| {format} | {who} | {action} | {H/M/L} |

## Buyer Journey Gaps

| Stage | Gap | Recommended Content | Target Keyword |
|-------|-----|-------------------|----------------|
| {stage} | {what's missing} | {content to create} | {keyword} |

## AI/GEO Gaps

| Keyword | AI Overview? | You Cited? | Fix |
|---------|-------------|-----------|-----|
| {keyword} | Yes | No | {action} |

## Prioritized Content Plan

| # | Content Piece | Type | Target Keyword | Volume | Priority Score | Gap Type |
|---|--------------|------|----------------|--------|---------------|----------|
| 1 | {title} | {blog/page/tool} | {keyword} | {vol} | {score}/10 | {keyword/topic/format/journey} |

## Quick Wins (Low Effort, High Impact)

1. **{Action}** — {Why this is a quick win}
2. **{Action}** — {Why}
3. **{Action}** — {Why}
```

## Important Notes

- Content gaps are opportunities, not obligations. Prioritize based on business impact, not just search volume.
- Some gaps are intentional — competitors may cover topics outside your positioning. Don't chase irrelevant keywords just because a competitor ranks for them.
- Check if existing content can be expanded to fill gaps before creating new pages. Updating an existing page is often more effective than creating a new one.
- Seasonal keywords may show as gaps during off-seasons. Check trends before acting.
- Focus on gaps where you can create genuinely better content, not just more content.

© OpenClaudia · MIT · OpenClaudia/openclaudia-skills

Similar skills

Everything for SEO and GEO →

content-gap-analysis by other authors comes first.

content-gap-analysis aaron-he-zhu Compares your site coverage with competitors and turns missing topics into a ranked content plan. Use it when you have your domain and competitor domains. CX Codex +1 1,500installs content-gap-analysis aaron-he-zhu A skill that finds gaps in your content by comparing topics and surfacing what is missing. Installs from the aaron-marketing-skills bundle. CX Codex +1 5,100installs ecommerce-content-marketing nexscope-ai Builds a content strategy for an online store: posting calendar, topics mined from customer reviews, competitor breakdown. No API key needed. CX Codex +1 1,200installs content-production Alireza Rezvani Carries a piece of content from blank page to publish-ready: brief, draft, then an SEO and readability pass. Built for posts, articles and guides written end to end. 704installs content-marketer VoltAgent Community This subagent plans content, prepares SEO and multi-channel campaigns, and tracks their results. Use it to build an editorial plan or coordinate a campaign. 4,038installs video-content-strategist Alireza Rezvani Plans video strategy, scripts long-form YouTube videos, and repurposes blog posts or webinars into short-form clips. Built for creators and founders. 83installs content-marketing kostja94 Plans content marketing across channels: content types and formats, funnel stages, and repurposing one piece into many. CX Codex +1 1,200installs site-structure-optimizer aaron-he-zhu A skill that plans site structure and untangles internal linking: page hierarchy, URLs, hub clusters, orphan pages. It returns a structure score out of 100. CX Codex +1 1,400installs

From the same set50

write-landing Writes landing page copy and wireframe structure for conversion and SEO. Useful when you need a full page, not just a headline. CX Codex +1 468installs write-blog Drafts a complete blog post: keyword research, an outline built from the SERP, then the article with meta tags. Useful when you need copy for a specific query. CX Codex +1 466installs thread-writer Turns blog posts, notes, or case studies into Twitter/X threads and Reddit posts. It applies structured hooks, formats value tweets, and adds clear calls to action. CX Codex +1 461installs discord-bot A skill that sends messages, embeds and announcements to Discord channels through a webhook or the Bot API. Useful when your agent needs to post to a community from inside the project. CX Codex +1 458installs email-sequence A skill that turns your coding agent into an email marketer: welcome series, abandoned cart, re-engagement and launch sequences. CX Codex +1 454installs lead-magnet A skill that helps you design a lead magnet — checklist, template, calculator, mini-course or whitepaper — and the landing page that captures emails. CX Codex +1 452installs growth-strategy Turns your AI agent into a growth strategist: North Star Metric, AARRR funnel, growth loops and ICE-scored experiments. CX Codex +1 450installs seo-content-brief Turns a target keyword into a full SEO brief: search intent, SERP breakdown, heading outline and a writer checklist. Useful when content goes to an outside author. CX Codex +1 449installs

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