# Search Console Gap Audit

> Reads a Google Search Console CSV export and lists the queries you already rank for that no page owns: striking-distance queries, keyword cannibalisation and uncovered topic clusters. Standard-library Python and no API keys; the script makes no network call except an optional sitemap read.

Search Console Gap Audit is a free AI agent skill on Agensi by Harshit Kunwar, in Marketing & SEO. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Harshit Kunwar](https://www.agensi.io/creators/harshit-kunwar)
- Category: [Marketing & SEO](https://www.agensi.io/skills/marketing-seo)
- Version: 1.0
- Last updated: 2026-11-17
- Security: scan passed (2026-11-17); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/search-console-gap-audit
- Tags: marketing, seo, python, google-search-console, data-analysis

## About this skill

Find the Search Console queries you already rank for that no page owns, straight from the CSV Search Console gives you.

### What it does

Turns a Google Search Console export into three lists, in the order worth acting on:

1. **Cannibalisation**: two or more of your URLs ranking for the same query (needs a query and page table from the Search Console API or Looker Studio).
2. **Striking distance**: queries already inside a movable position with real impressions, sorted by impressions.
3. **Uncovered**: query clusters with impressions whose words appear in no URL in your sitemap.

### How it works

Your agent runs `gsc_gap_audit.py` on the `Queries.csv` you download from Search Console (Performance, Queries, Export, CSV). Python 3.10+, standard library only. No API keys and no account connection. The script itself makes no network call except the optional `--sitemap` read of your public sitemap; your agent reads the results the same way it reads any file in your session.

The skill also tells the agent how to read the result: cannibalisation first, then the striking-distance queries at positions 4 to 15 with the most impressions, and to treat "uncovered" as a list to check rather than pages to write.

### Limits, stated plainly

- Clustering groups queries by their two most distinctive words. It is crude on purpose.
- Search Console samples and truncates, and positions are period averages.
- It finds gaps. Whether to write a new page or extend an existing one stays a judgement call.

Try it first on the invented export in `sample/Queries.csv`. MIT licensed.

## Requires

- Python 3.10+
- Google Search Console access (to export Queries.csv)
- Node.js
- Optional: Search Console API or Looker Studio (query + page table for cannibalisation)

## Known limitations

Clustering groups queries by their two most distinctive words, so it is crude. Search Console samples and truncates data, and positions are period averages. Numbers must use a dot as the decimal separator. Cannibalisation needs a query and page table the Search Console UI cannot export. It finds gaps; it does not judge intent or write fixes.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Search Console Gap Audit skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does it find?

Three lists from your Search Console export: queries where two of your URLs compete (cannibalisation), queries already in a movable position with real impressions (striking distance), and query clusters whose words appear in no sitemap URL (uncovered).

### Do I need to give it my Google login or API keys?

No. It reads the Queries.csv you download from Search Console (Performance, Queries, Export). The script reads the file locally and makes no network call except the optional --sitemap read of your public sitemap. Your agent sees the results, as it does any file you give it.

### What is in the download?

SKILL.md (instructions for the agent), gsc_gap_audit.py, a README, an invented sample export in sample/Queries.csv with its expected output, and the MIT licence. The same code is open source.

### What do I need to run it?

Python 3.10 or newer, standard library only, and an agent that can run a terminal command, such as Claude Code, Codex CLI or Cursor. Without an agent you can run the script yourself.

### How do I get the cannibalisation report?

Pass --pages-csv with a table that has one row per query and page. The Search Console UI cannot export that, so pull it from the Search Console API (dimensions query and page) or a Looker Studio table. If you pass the UI Pages.csv by mistake, the script stops and tells you.

### Why use a script instead of asking the AI to read my CSV?

The script does the counting and grouping the same way every time, on every row, so the agent starts from a fixed list instead of estimating from a long file. The agent then explains the result and, with you, decides what to fix.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
