Skip to content
Agents Handbook
PlaybooksJobsAgentsLessonsField logFor agents
Corroborated· Two or more independent accountslow risk

Build a keyword map that gives every page on your site one search query to own

Start from your buyers' problems, not from search volume. An agent lists the questions buyers ask at each stage, from first noticing the problem to comparing products, then joins them with your Search Console queries and your pages. Each page gets one main query. Two pages that chase one query get merged, and queries with no page become your content backlog. Take volumes from a real keyword tool, because agents guess numbers.

Credit: Ilias Ism (seo-skills) · Edited by the Agents Handbook editors · CC BY 4.0

What you get

One table that maps each query to one page, with intent and status, plus a backlog of gaps sorted by value.

Difficulty
Intermediate
Time
Half a day for the first map, then a monthly update
Sources
3 · 3 independent
Updated
2026-10-13
Cost:
Included in an agent plan. Keyword volume tools are often paid.
Start here

The prompt

Fill the blanks here, or leave them for your agent to ask. Pick the tab for your agent. The hand-off button gives any agent this page as markdown.

Build a keyword map for [https://example.com]. Product: [one sentence on what it does and who buys it]. Competitors: [3 to 8 names, or "find them"].

1. Write the questions a buyer asks at each stage: unaware of the problem, aware of the problem, comparing kinds of solution, comparing products, and ready to buy. Write them the way a person types them into Google or an AI assistant. Give 5 per stage.
2. Add the search terms for the category, competitor names, "alternative to" and "vs" queries, integrations and use cases.
3. Add my real queries from [Search Console MCP / data/gsc-queries.csv] for the last 3 months.
4. Group the queries by intent. Give each group one main query.
5. Match each group to one existing page. If two pages target one group, flag it and say which page should win. If no page fits, mark it as a gap.
6. Output [seo/keyword-map.csv] with these columns: query, intent, stage, monthly volume, difficulty, target URL, status (live, planned, gap), current position.
7. Leave volume and difficulty empty unless they come from [keyword tool or export]. Never estimate them.
8. List the gaps as a backlog sorted by how close each one is to a buying decision. Wait for my review before you plan any content.
Open in ClaudeOpen in ChatGPT6 of 6 blanks left

Human checkpoints: the agent stops and asks you

  • Confirm the buyer, the product facts and the competitor list before the agent maps queries.
  • Approve every merge or redirect of an existing page.

Merging or redirecting pages can lose traffic. Approve each one.

Before you start

What you need

8 steps

Steps

0/8 done
  1. Write down the buyer and the product

    Give the agent one sentence on what you sell and who buys it, and your competitors. Correct its summary of your product before you go on.

    Check: The agent describes your product the way your best customer would.

  2. List buyer questions by stage

    The agent writes the questions people ask from the moment they notice the problem to the moment they buy. These often differ from the terms with the highest volume.

    Check: You have about 25 questions that sound like real people.

  3. Add your real query data

    The agent adds your Search Console queries. These show what Google already connects to your site.

    Check: Your top queries are in the list.

  4. Group by intent and assign one page

    Each group of queries with the same intent gets one target page. This step shows pages that compete with each other and topics you never covered.

    Check: Every group has one target page or a gap mark.

  5. Add real volumes

    Fill volume and difficulty from a keyword tool. Leave them empty where you have no data.

    Check: No number in the map is an estimate from the agent.

  6. Fix pages that compete

    For two pages on one query, pick the winner. Merge the weaker page into it with a redirect, or change its focus. Approve each change.

    Check: No query has two target pages.

  7. Turn gaps into a backlog

    Sort the gaps by closeness to a buying decision, then by volume. Comparison and alternative queries often come before broad guides.

    Check: You have a short, ordered list of pages to write.

  8. Update the map every month

    Add new queries, update positions and statuses, and remove dead ends.

    Check: The map has a last-updated date that is less than a month old.

5 known failures

What goes wrong

  • The agent invents search volumes or gives its own opportunity score.

    Fix: Leave volume and difficulty empty unless a keyword tool supplies them.

  • The map chases big head terms you cannot win.

    Fix: Prefer specific, longer queries with clear intent. One team found a single brand word too competitive and moved to longer queries.

  • Two pages keep targeting the same query.

    Fix: One query, one page. Merge the weaker page, redirect it, or give it a different focus.

  • The map lists topics buyers never search.

    Fix: Start from buyer questions and check each group against real query data.

  • The map goes stale after a month.

    Fix: Keep it in a file the agent updates, with a date column.

Corroborated

Evidence

Two or more public accounts from different people or sites describe the same job. We summarise each source in our own words. Open the original before you rely on it.

  • Blog2026-02-05· Claude Code
    Claude Code SEO Optimization, a real case study

    The site's authors asked Claude Code to search three target queries and report the top results, content gaps and opportunities. They say it advised long-tail queries over a single brand word that was too competitive, and they built their content plan from it. Its opportunity scores are the agent's own estimates.

    Claude World · claude-world.com
  • LinkedIn2025-11-02· Claude Code
    Using Claude Code to audit a web tool for SEO

    He describes a recipe: have Claude Code research the business, competitors and market, save it to files, pull Search Console data with scripts, and then run a keyword and query gap analysis. He says the result was actionable but gives no traffic numbers.

    Alex Nederlof · linkedin.com
  • LinkedIn2026-08-09
    Mapping internal links with a Claude skill

    As part of his process he finds pages that compete for the same keyword, picks one to win, and links the rest into it.

    Borja Obeso · linkedin.com
Close the loop

Report how it went

Every report makes this page better for the next person and the next agent. Reports are reviewed before they count. Agents can report with the report_run tool.

How did it go?