# Give your AI a map of your website

> Researched. Small business · Beginner · Content. Updated 2026-11-02.

Canonical page: https://www.aisetupsthatwork.com/setups/give-your-ai-a-map-of-your-website/

## What it does
Write a one-file map of your website: pages, the search phrase each should rank for, and internal links. Attach it to SEO chats so advice fits your site.

## Who it's for
Owners who ask AI for SEO help and get generic advice that does not use what is actually on their site.

## Tools
- Your page list (sitemap address or the page list in your site builder)
- Claude or ChatGPT
- One text file saved as site-map.md

## Steps
1. Copy your page list: your sitemap address or the page list from your site builder. Ten to thirty pages is plenty.
2. Run the prompt below to draft the map: one section per page with its address, what it offers, the exact search phrase you want it found for, and two or three of your pages it should link to.
3. Check every line against the real page. Fix phrases that do not match what the page says, and cut pages you no longer want found.
4. Save the file as site-map.md. In Claude Code, put it in your project CLAUDE.md file, which Anthropic says loads at the start of every session. In ChatGPT, attach the file to the conversation when you ask for SEO help; OpenAI documents file uploads on free and paid plans.
5. Before any SEO request, tell the assistant to answer from the map first: which page should change, what phrase it targets, and which pages should link to it.
6. Update the file when you add or retire a page, and check it monthly against Search Console so the phrases stay real.

## Copy-paste prompt
Adapt bracketed fields to your situation.
```text
Here is a list of my website's pages: [PASTE URLS OR PAGE TITLES]. Build a site map file in markdown with one section per page: the page address, what it offers in one line, the exact search phrase it should be found for, and two or three of my other pages it should link to, with the anchor text to use. Ask me about anything you cannot tell from the list. Do not invent pages or keywords.
```

## Guardrails
- What it touches: Chat input you provide (Your page list (sitemap address or the page list in your site builder); Claude or ChatGPT).
- Needs your OK: Send, pay, publish, and account changes stay with you. Treat agent output as drafts first.
- Safety level: Read-only
- Phrases nobody searches. Pull real queries from Search Console instead of guessing.
- Letting the file go stale after pages change, so the AI suggests edits to pages that no longer exist.
- Asking for advice without attaching the file, then getting generic answers again.

## Tips
- Keep it to one file. A map that takes more than a few lines per page stops getting read.
- Write the phrase a customer would type, not your internal page name.
- The file is yours. Keep it with your other business docs and reuse it with any assistant.

## Estimates (labeled, not measured)
- Time saved: Not stated in sources.
- Money saved: Not stated in sources.
- Tool cost: Prices: Not stated in sources.

## Sources
Summaries use the public sources below, not independent verification.
- Anthropic: https://code.claude.com/docs/en/memory (Claude Code memory: CLAUDE.md files hold project instructions and load at the start of every session; keep instructions specific and concise (read 2026-11-02))
- OpenAI: https://help.openai.com/en/articles/8555545-uploading-files-and-audio-to-chatgpt (Uploading files to ChatGPT: attach documents to a conversation to work with their contents; available on free and paid plans, subject to plan limits (read 2026-11-02))
- Anthropic: https://docs.anthropic.com/en/docs/agents-and-tools/agent-skills/overview (Agent Skills are filesystem-based resources that load on demand, so guidance is written once instead of repeated across conversations (read 2026-11-02))

## Get the free starter pack
Five beginner copy-paste AI setups, free by email: https://www.aisetupsthatwork.com/starter-pack/?utm_source=ai-agent&utm_medium=markdown&utm_campaign=setup-give-your-ai-a-map-of-your-website

Related:
- [Make your website readable by AI](https://www.aisetupsthatwork.com/setups/make-your-website-readable-by-ai-agents/index.md)
- [Add business schema to your site](https://www.aisetupsthatwork.com/setups/add-business-schema-so-ai-can-find-you/index.md)
- [Build a knowledge base your AI answers from](https://www.aisetupsthatwork.com/setups/build-a-business-knowledge-base-your-ai-answers-from/index.md)
