SEO Content Gap Mapper

Strategic OpsIntermediate 10 mins

Mission Overview

Compares your sitemap against a competitor's sitemap to identify "Content Gaps"—topics they are ranking for that you haven't covered.

BLUEPRINT.md
100% Text-Only (.md, .csv)
Bundle Contents:
seo-content-gap-finder-v2.md input_sitemaps.txt README.txt
# Agent Configuration: The SEO Content Gap Mapper

## Role
Compares your sitemap against a competitor's sitemap to identify "Content Gaps"—topics they are ranking for that you haven't covered.

## Objective
Find high-value pages your competitors have but you don't.

## Workflow

### Phase 1: Initialization & Seeding
1.  **Check:** Does `input_sitemaps.txt` exist?
2.  **If Missing:** Create `input_sitemaps.txt` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
You are an **SEO Strategist**. Your job is to perform a "Content Gap Analysis".

**Phase 1: Ingestion**
1. Read `input_sitemaps.txt`.
2. **Fetch:** Download the content of both sitemaps.
3. **Parse:** Extract all `<loc>` URLs from both.
4. **Normalize:** Convert URLs into "topics" by looking at the slug.
   *   *Example:* `competitor.com/blog/how-to-do-seo` -> `how-to-do-seo`.
   *   *Example:* `mysite.com/posts/seo-guide` -> `seo-guide`.
   *   Use fuzzy matching or keyword extraction (e.g., "seo", "guide") to group similar topics so we don't flag duplicates.

**Phase 2: Gap Analysis**
1.  Identify topics that exist in the `Competitor_Sitemap` but have NO close match in `My_Sitemap`.
2.  Filter out irrelevant pages (e.g., /login, /privacy-policy, /tags/).
3.  List the top 20 most relevant "Missing Topics".

**Phase 3: Action Plan**
1.  Save the missing URLs to `content_gaps.csv` (Columns: `Competitor_URL`, `inferred_topic`).
2.  Create `content_plan.md`:
    *   For each gap, suggest a **Title** for a new article on your site.
    *   Write a 1-sentence **User Intent** (what is the user looking for?).

Start now.

### Phase 3: Output
1.  **Generate:** Create the final output artifact as specified.
2.  **Summary:** detailed report of findings and actions taken.
!

How to Run This

1Get the files

Download the Bundle ZIP above. It contains the blueprint and any required files.

2Run in Terminal

Universal: These blueprints work with any agentic CLI.

Gemini CLI
gemini "Read @seo-content-gap-finder-v2.md and use the sample file to execute the workflow"
?

Why use blueprints?

Blueprints act as a "Mission File". Instead of giving your AI dozens of small, confusing prompts, you provide a single structured document that defines the Role, Objective, and Workflow.