SEO prompts for Claude Code (Search Console data)
six SEO prompts that run on your own Google Search Console exports, not on a paid keyword tool. they fix low CTR titles, plan one page per long question, clean up "crawled, not indexed", suggest internal links, rewrite first paragraphs for AI answers and find content gaps. use them as Claude Code slash commands or paste them into any assistant.

What's inside
| # | Prompt | What it does |
|---|---|---|
| 01 | Low CTR title rewrite | Find pages that already rank but get few clicks, and rewrite their title and meta description. |
| 02 | Long question page plan | Turn the long questions people type (the same ones they ask AI) into a one-page-per-question content plan. |
| 03 | Crawled, not indexed triage | Sort the "Crawled - currently not indexed" list into fix, merge, noindex and leave, with a reason for each URL. |
| 04 | Internal link suggestions | Find where a page should be linked from on your own site, with the exact sentence and anchor text. |
| 05 | First paragraph for AI search | Rewrite the opening of a page so AI answers and featured snippets can quote it directly. |
| 06 | Content gaps from Search Console | Find queries you already show up for but have no page about, and turn them into a content plan. |
Quick start
Search Console → Performance → Search results → pick a date range → Export → Download CSV. you need Queries.csv and Pages.csv
for long questions add a Query filter with Custom (regex)
^(?:\S+\s+){7,}\S+$first, step by step hereinstall the commands, put the CSV files in your project folder, run one
git clone https://github.com/birdeveloper/seo-prompts-for-claude-code
mkdir -p ~/.claude/commands
cp seo-prompts-for-claude-code/claude-code-commands/*.md ~/.claude/commands//low-ctr-title-rewrite exports/Queries.csv exports/Pages.csv, min 100 impressionsevery prompt has the same rule: numbers only from your files. no invented search volume, no "expected uplift".
limits built into the prompts: titles max 60 characters, meta descriptions max 155, first paragraphs 40-60 words, 5-10 internal link sources per page. the Search Console UI exports up to 1,000 rows per table, which is plenty for one run. export the last 3 months for titles and long questions, 12 months for content gaps, and after a batch of changes wait 2-4 weeks before you judge the new CTR.
01. Low CTR title rewrite
Find pages that already rank but get few clicks, and rewrite their title and meta description. Claude Code: /low-ctr-title-rewrite
You are an SEO editor. I'm giving you a Google Search Console Performance export (Queries.csv, Pages.csv).
1. List pages with average position 1-10, at least [100] impressions and CTR clearly below other pages at a similar position in the same export. Use only numbers from the files.
2. For each page, list the top 5 queries it shows for (from the data, not guessed).
3. Write 3 title options (max 60 characters) and 1 meta description (max 155 characters) per page. Put the main query near the start, promise exactly what the page delivers, no clickbait, no year unless the page is dated.
4. Show the character count next to every title and description.
Rules:
- Don't invent clicks, CTR or "expected uplift". If a number isn't in the export, don't write one.
- If the page content doesn't answer the top query, say so instead of writing a better title for it.02. Long question page plan
Turn the long questions people type (the same ones they ask AI) into a one-page-per-question content plan. Claude Code: /long-question-page-plan
You are a content strategist. I'm giving you Search Console queries with 8 or more words (Queries.csv) and a list of my existing URLs.
1. Group the queries by the question behind them. Same intent = same group, even if the wording differs.
2. For each group: does an existing URL already answer it? If yes, name the URL and what's missing on it. If no, plan one new page.
3. For each planned page give: the H1 written as the question, a 1-2 sentence direct answer for the first paragraph, 3-5 H2s, and which existing page should link to it.
4. Sort by impressions of the group, highest first.
Rules:
- One page per real question. Never one big post for all of them.
- Use only queries and numbers from the file. Don't invent search volume.
- If a group is too thin (one query, few impressions), put it in a "later" list instead of planning a page.03. Crawled, not indexed triage
Sort the "Crawled - currently not indexed" list into fix, merge, noindex and leave, with a reason for each URL. Claude Code: /crawled-not-indexed-triage
You are a technical SEO. I'm giving you the "Crawled - currently not indexed" export from Google Search Console. Read each URL.
Put every URL in one bucket:
- FIX: a page that should rank but is thin, duplicated in its title/H1, or missing internal links. Say exactly what to add or change.
- MERGE: near-duplicate of another page. Name the page it should be merged into and 301 to.
- NOINDEX: pages that should never be in search (filters, tag pages with 1 post, internal search, thank-you pages). Say which rule or template to change.
- LEAVE: fine as is, Google will get to it or it doesn't matter. Say why.
Rules:
- Read the page before deciding. No bucket based on the URL alone.
- Don't promise indexing. Say what improves the chance, not "this will get indexed".
- Group repeated patterns (e.g. all /tag/ pages) into one row with one fix.04. Internal link suggestions
Find where a page should be linked from on your own site, with the exact sentence and anchor text. Claude Code: /internal-link-suggestions
You are a technical SEO. Target page: [URL]. I'm giving you Pages.csv from Search Console and access to my site content.
1. Read the target page and write its main topic in one sentence.
2. Find 5-10 existing pages on my site that are about a related topic AND have the most clicks or impressions in Pages.csv.
3. For each one, quote the exact sentence where a link to the target fits naturally and give the anchor text (3-6 words, describes the target, not "click here").
4. If no natural sentence exists on a page, propose one new sentence instead of forcing the link.
Rules:
- Only pages that really are related. No links from the footer or sidebar.
- Max one link to the target per page.
- Don't change the meaning of the existing text.05. First paragraph for AI search
Rewrite the opening of a page so AI answers and featured snippets can quote it directly. Claude Code: /ai-search-first-paragraph
You are an editor optimizing a page for AI answers (ChatGPT, Perplexity, Google AI Overviews) and featured snippets.
Page: [URL or pasted text]. Question it should answer: [question].
1. Write a new first paragraph, 40-60 words. The first sentence answers the question directly. The second gives the one detail or condition that matters most.
2. Use the exact terms from the question once, naturally.
3. Say what to cut or move from the current intro (anecdotes, "in this article we will", history).
4. Suggest the H2 structure below it in max 5 headings, each answering one follow-up question.
Rules:
- Only facts that are already on the page. If the page doesn't actually answer the question, say so.
- No "In today's world", no "Great question", no filler.06. Content gaps from Search Console
Find queries you already show up for but have no page about, and turn them into a content plan. Claude Code: /content-gaps-from-search-console
You are a content strategist. I'm giving you 12 months of Search Console data (Queries.csv, Pages.csv).
1. Find queries I show up for but have no page about: the ranking page covers a different topic, or the query only matches a passing mention.
2. Group them. One group = one page I should write.
3. For each group: working title, the 3-5 queries it covers with their impressions from the file, the existing page it should link from.
4. Sort by total impressions.
Rules:
- Don't invent numbers. Every number comes from the files.
- Skip groups that are just my brand name or navigational queries.
- One page per group, not one post for all of them.Why these work
they start from data you already have. Search Console shows what Google already connects your site to, that beats any guess
one question = one page. a post that answers 20 questions answers none of them well
the first paragraph is what AI answers and snippets quote, so it answers the question, no intro
hard rules in the prompt (character limits, "only numbers from the file") stop the model from padding and inventing
