All twelve steps typed as written and run · Nov 2026

The AI SEO playbook
with Claude Code

Twelve steps for a marketer who does not know where to start: see what you rank for, check the site can be read, get keywords with real numbers, see what ChatGPT says, write a brief, a draft, a refresh and internal links, then ask for the mentions you are missing. Each step is a prompt to type, what comes back, what to check, and what to do next. We typed every step as written into Claude Code on our own site.

12steps, a prompt in each
12run as written
$0.43metered on treg.to, all twelve
0pages published for you
Start here Find your step

How do you do SEO with Claude Code?

To do SEO with Claude Code, you describe each job in a prompt and the agent does the work in a folder on your computer: it reads your Search Console, checks that Google and AI search can read your site, pulls real keyword volumes, finds what competitors rank for, asks ChatGPT what it recommends, and writes a brief, a draft, a refresh plan and internal links. Every step ends in a file you read and approve. Nothing is published for you. This playbook is the twelve prompts, in order, with what came back when we ran them on our own site.

New to this? Start at step 0. Already doing SEO? Pick your problem and jump in.

›
agent idle$0.00
An abbreviated replay of the 27 Nov 2026 run. The prompts are shortened here; the full ones are in each step. The meter is what treg.to charged, running total.

Start here:
which of these sounds like your week?

We read 451 Reddit threads about SEO with AI, from r/SEO, r/ClaudeAI and others, June to November 2026. The same problems repeat. Tick the ones you recognise and the playbook tells you where to start. If none fits yet, start at step 0.

StepsContents
Step 0 · Start Setup

How do I start doing SEO with Claude Code?

You need a website, Claude Code and twenty minutes. No code. Every step after this one is a prompt you type; it ends in a file, and the next step reads that file. Nothing in this playbook changes your site.

  1. Add your site to Google Search Console if it is not there yet. It is free, and it takes a few days to fill with data.
  2. Install Claude Code and open it in an empty folder.
  3. Set up treg.to. Paste the line below into Claude Code and follow it. A new verified account gets $1.00 of credit, once. Our steps 1 to 9 cost $0.42.
  4. Connect Search Console with the second line. Claude gives you a Google link; you approve it in the browser. It runs on your own Google account, and those calls are free.
  5. Save seven lines about your site as site.md. Write “I don’t know” for competitors if you do not; step 4 finds them.
paste into Claude Code
set up treg — https://treg.to/llms.txt
then
Using treg, connect my Google Search Console. Give me the link to approve, then list the sites you can read.
worksheet · site.md
Site: [your site address]
Brand: [the name people search for]
What: [what you sell, in one line]
Who it is for: [who, and when they need it]
Topic: [the one subject you want to be found for first]
Best for: [the one case where you are the right answer]
Competitors: [three sites, or "I don't know"]

The example in every step is our own site, treg.to, with the topic “ad library data”. We print no figures from our own Search Console, only the shape of what came back. Other sites in the runs are shown as Site A, B and C.

What this playbook cannot do. It cannot make a site rank. It shows what you rank for, fixes what is on the page and drafts what is missing. The rest is other people finding you useful.

NextType the prompt in step 1.
Step 1 · Baseline Run 27 Nov · free

How do I see what my site already ranks for?

SymptomYou do not know what you rank for, so every idea feels equally urgent.

You have. site.md from the start page, and Search Console connected.

type this
Read site.md. Using treg, read Search Console for my site, last 3 months. Save baseline.md: clicks, impressions, click rate and average position; the top 25 queries and the top 25 pages by clicks; the split between queries that contain my brand and those that do not. Then save striking.csv: queries at positions 5 to 20 with at least 100 impressions, sorted by impressions, with the page that ranks. Use only numbers from Search Console. Change nothing.

You get. baseline.md and striking.csv, in about two minutes, free. These are our own Search Console figures, so we print the shape and not the numbers.

FileWhat is in it
baseline.mdTotals for 91 days. Top 25 queries, top 25 pages. Three rows for the split: brand, non-brand, and queries Search Console withholds.
striking.csvQueries at positions 5 to 20, each with impressions, clicks, position and the page that ranks.
27 Nov 2026, our own site. Claude also reported that two of our Search Console connections had expired, and which one it used.

Check.

  1. The brand split. If nearly every click contains your brand name, Google is not yet bringing you strangers. That was true for us.
  2. The withheld row. Search Console hides rare queries, so the brand and non-brand rows will not add up to the total.
  3. Junk queries. Ours had a pasted spreadsheet header and a forum name. Delete them before you read the list.
  4. Compare clicks, not impressions, across 27 Apr 2026. Google misreported impressions for almost a year before that date.
NextKeep both files. striking.csv is your first work queue: pages already near page one.
treg doesReads Search Console on your own Google account. Those calls are free.
You decideThe band. Positions 5 to 20 is our choice. Practitioners use anything from 4 to 20 up to 10 to 30.

Go deeperSearch Console in your agentSearch Console queries and clicksGoogle Analytics reports

Step 2 · Can it be read Run 27 Nov · free

Can Google and AI search read my site?

SymptomYou write and nothing is indexed, or you are not sure ChatGPT can see the site at all.

You have. baseline.md from step 1.

type this
Read site.md and baseline.md. Check whether Google and AI search can read my site. Read robots.txt and the sitemap. For each of Googlebot, Bingbot, OAI-SearchBot, Claude-SearchBot and PerplexityBot say allowed or blocked. Using treg, inspect my top 10 pages from baseline.md in Search Console: indexed or not, and why. Fetch each of those pages as served and check the title, the h1, the canonical and noindex. Save audit.md: at most ten fixes, ranked, each with its evidence. Fix nothing.
then
Read audit.md. Four more checks, added to audit.md under a new heading. One: does any Disallow line in robots.txt cover a folder of pages I want found? Two: do any of my top 10 pages carry nosnippet, data-nosnippet or max-snippet? Three: can each of the top 10 be reached from the home page in three clicks or fewer, and are there broken links on the way? Four: is there an About page that says who runs the site, and does each article name its author? Fix nothing.

You get. audit.md: who can read the site, and ten fixes at most. Ours took six minutes and cost nothing; the four extra checks took four more.

CheckWhat came back
Five crawlers in robots.txtAll allowed
Sitemap652 pages, all load, none marked noindex
Top 10 pages in Search ConsoleAll indexed
Top 10 pages as servedFive have a broken main heading when scripts are off
One pageIndexed although robots.txt blocks it, so its noindex tag is never read
Blocked folders, snippet limitsNone
Three clicks from the home pageNine of ten. One top page has no link pointing to it at all
About page, authorsNo About page. No article shows its author to a reader
27 and 30 Nov 2026, our own site. A site can pass every index check and still serve a broken heading, hide a page from its own links, and never say who runs it.

Check.

  1. The search bots, not the training bots. OAI-SearchBot, Claude-SearchBot and PerplexityBot decide whether you can be cited. GPTBot and ClaudeBot are for training.
  2. The audit fetched pages from your computer. Only Googlebot is confirmed from Google’s side, by Search Console. A firewall can still block the others.
  3. In Search Console, open Settings and look at “Search generative AI”. It must say included. Claude cannot read this setting.
  4. Ten fixes, ranked. Ask for a longer list and you get a hundred small ones and fix none.

Skip these. Google’s own pages say Search ignores llms.txt, needs no special schema for AI features, and does not want content cut into small pieces for AI. The FAQ rich result ended in May 2026. Several popular SEO skills still recommend them.

NextFix the top three yourself, or hand them to your developer. Then go on.
treg doesInspects pages in Search Console on your own account, free. Claude Code reads the pages itself.
You decideWhich fixes are worth doing. A clean audit does not bring traffic on its own.

Go deeperIs this page indexed, and why notSearch Console in your agentFree web access for agents

Step 3 · Keywords Run 27 Nov · $0.23

How do I do keyword research with real numbers?

SymptomClaude gives you search volumes with confidence, and you cannot tell which are invented.

You have. site.md and striking.csv.

type this
Read site.md and striking.csv. Using treg, find keywords for my topic. Start from the queries in striking.csv and add related keywords from a keyword data provider. Get US monthly volume and difficulty for each, and name the provider. Never estimate a number. Then get the Google US results for the 30 with the most volume, save them as serps.json, and group keywords that share three or more of the same top-ten pages. Save keywords.csv: keyword, volume, difficulty, group, and my page if I rank. Cap $0.50.

You get. keywords.csv and serps.json. Ours had 292 keywords and 30 sets of results, in four and a half minutes, for $0.23.

Keywords with a volume292
With a difficulty score212
Results fetched (top 30 by volume)30
Groups that share top-ten pages8
Of the 30, where our site is in the top ten0
27 Nov 2026, topic “ad library data”. Volume and difficulty from DataForSEO, results from ScrapeCreators, both through treg.to. The largest group leads with a 90,500-a-month keyword; the agent terms are small (“meta ad library api”, 320).

Check.

  1. The provider is named and no number is estimated. A blank difficulty is honest. A round guess is not.
  2. The result links are real pages. Our first pull returned Google redirect links, so no two keywords shared a page. Claude noticed, said so, and pulled again from a second provider.
  3. Volumes in a group do not add up. Close spellings share one number.
  4. Your striking list may not match your topic. Ours did not, so Claude started from the topic and said so.
NextStep 4 uses serps.json to find who you are up against.
treg doesKeyword volume and difficulty, and Google results, from several providers through one account.
You decideThe topic. One subject you can honestly be the best answer for.

Go deeperKeyword volume and CPCGoogle results for a keywordSEO data for AI agentsDataForSEOScrapeCreatorsWays to get SEO data

Step 4 · Competitors Run 27 Nov · $0.10

How do I find what competitors rank for and I do not?

SymptomYou cannot name your search competitors. They are often not the companies you sell against.

You have. serps.json from step 3.

type this
Read site.md and serps.json. Name the five sites that appear most often in the top ten, leaving out Google, Meta, YouTube, Reddit, LinkedIn and Wikipedia. For the top three, using treg, get the keywords each ranks for in Google US, positions 1 to 20. Keep the ones about my topic where my site is not in serps.json or striking.csv. Save gaps.csv: keyword, volume, who ranks, their page. Then mark the ten I could honestly write about, given site.md. Cap $0.50.

You get. gaps.csv. Ours had 146 keywords from three sites, with ten marked, in three minutes, for $0.10.

SiteWhat it isKeywords kept
Site AA tool built on this exact topic128
Site BA social platform ranking for its own name23
Site CAn ecommerce platform’s blog21
27 Nov 2026. 172 rows, 146 different keywords. Only Site A is a competitor in the usual sense.

Check.

  1. Who the three are. A platform that ranks for its own brand is not a gap you can close. Swap it for the next site on the list.
  2. The same keyword can show two volumes. Ours showed 74,000 in one file and 90,500 in the other, from two endpoints of one provider. Both are estimates.
  3. “Could honestly write about” is the filter that matters. Ten is plenty.
NextStep 6 picks one of the ten.
treg doesThe keywords a domain ranks for, with position and volume.
You decideWhich gaps are yours. A keyword you rank for and cannot serve brings visitors who leave.

Go deeperKeywords a domain ranks forBacklink profile of a domainSerpstatSE RankingSemrush on your own key

Step 5 · AI answers Run 27 Nov · $0.08

How do I check what ChatGPT says when buyers ask?

SymptomYou are told to get cited by AI. Nobody can tell you where you stand today.

You have. site.md.

type this
Read site.md. Write 10 questions a buyer of what I sell would ask ChatGPT. None may name my brand. Using treg, ask each one to ChatGPT three times, US, with web search. Save ai-answers.md: for each question, the brands named, the pages cited, and in how many of the three runs my brand was named. Then list the ten pages cited most across all questions. Cap $1.
then
Read site.md and ai-answers.md. Using treg, ask ChatGPT three times, US, with web search: what is my brand and who is it for? Use the brand and site in site.md. Add a section to ai-answers.md: what it said, anything wrong or out of date compared with site.md, and the page each wrong fact came from. Cap $0.05.

You get. ai-answers.md. Ours held 30 answers, in 13 minutes, for $0.08. The brand check added three more for under a cent.

Questions10
Answers (three runs each)30
Answers that named us0
27 Nov 2026. One question described our product almost word for word, and ChatGPT named three other companies. The page cited most, in 9 of 30 answers, was a “best APIs” list on a competitor’s blog.

Check.

  1. Three runs, not one. The same question names different brands each time. Count runs, not a single answer.
  2. Read the questions before you trust the result. If they sound like your homepage, rewrite them.
  3. The cited pages are your to-do list. Most of ours were comparison lists on other sites.
  4. This is ChatGPT only. Engines disagree with each other. Google shows its own AI numbers in Search Console, by page and with no queries.
  5. One screenshot of one answer proves nothing, yours or anyone else’s. Ask for the before, and for three runs.
  6. Telling the chatbot it is wrong changes nothing for the next person. Fix the page it read.

The brand check. Asked by name, ChatGPT knew us in all three runs and described us the same way each time. Asked without the name, it never brought us up. One figure was out of date, and it came from another site’s article about us. A second figure looked wrong and was not: our own site.md was the stale one.

What moves it. No AI company publishes formatting advice for being cited; their pages cover crawler access only. Google says AI search is still search. Practitioners who report progress say it came from other sites: comparison pages, directories and review listings that name you. Check the answer again after each change, or you will never know.

NextKeep the ten questions. You ask the same ten again in step 11.
treg doesAsks the live ChatGPT with web search and returns the answer and its citations, about $0.003 an answer.
You decideThe questions. They should be what a buyer asks, in a buyer’s words.

Go deeperHow AI answers mention your brandThe AEO workflowAI search endpoints and pricescloro

Step 6 · Brief Run 27 Nov · $0.01

How do I write a content brief from the live search results?

SymptomYou ask for an article and get the same article as everyone else.

You have. keywords.csv and gaps.csv.

type this
Read site.md, keywords.csv and gaps.csv. Pick one keyword group to write a page for and say why in two lines. Using treg, read the top five Google results for its main keyword. Write brief.md: who searches this and what they want; what every top page covers; what none of them covers; a title; the headings; and the facts only I can supply, as questions to me. Then stop.

You get. brief.md. Ours took three minutes and about half a cent, and ended with 13 questions for us.

Keyword picked“meta ad library api”, 320 searches a month, difficulty 30
WhyIt asks for what we sell, and the site ranking tenth does it with a home page
Top five readThe platform’s own documentation, two product pages, a forum thread, the platform’s search page
What none coversThe cost of one real job, and an agent doing the work
Questions to us13, such as: one real run with the date, the count and the cost
27 Nov 2026. Claude chose the 320-a-month keyword over the 90,500 one, and said why.

Check.

  1. The pick. Small and exact beats large and vague. Change it if you disagree.
  2. What was read only in part. Ours said a forum thread came back without its comments.
  3. The ranking can differ by provider. Two providers gave different top fives; the brief says which it used.
  4. Answer the questions yourself. They are the part no other page has.
NextWrite your answers down. Step 7 needs them.
treg doesReads a web page for a fraction of a cent.
You decideThe keyword, and what you have that the top five do not. The easiest is a fact only you hold: your price or terms, set beside the usual alternative, with the arithmetic shown.

Go deeperGoogle results for a keywordFree web access for agentsWeb reading endpoints

Step 7 · Draft Run 27 Nov · $0

How do I draft a page without invented facts?

SymptomThe draft reads well and you cannot tell which sentences are true.

You have. brief.md and your answers to its questions.

type this
Read brief.md. My answers: [your answers to the brief's questions, in plain sentences]. Anything else: I do not know. Write draft.md from brief.md. Use only facts in site.md and my answers. Where you need a fact you do not have, write [NEED: ...] and do not guess. Answer the search in the first paragraph. Then list every sentence that contains a number, for me to check.

You get. draft.md, with a marker wherever a fact is missing, and a list of every sentence with a number. Ours took a minute and a half.

Facts we gave5
[NEED] markers in the draft17
Sentences with a number, listed for checking17
27 Nov 2026. Claude also told us which sentences came from the brief and not from us, and asked whether to keep them.

Check.

  1. Every [NEED]. Fill it from what you know or delete the sentence. Do not let Claude fill it.
  2. Every number, against its source. Google calls this check critical before you publish, and includes the title and description.
  3. Does the first paragraph answer the search? If it does, leave the rest plain. No block of questions added for its own sake.
  4. Would you put your name on it? Then do: add who wrote it and why they know the subject. Google’s guidance names author and About pages as how it tells who is behind a page.
  5. A question block only for real questions the page has not answered, taken from your Search Console queries. No special markup is needed.

How many pages. One at a time. Google’s spam policy is about many pages made to rank and not to help, however they are made. Nobody we read could name a safe number, and people who published in bulk report pages dropping out of the index.

NextPublish it the way you publish anything: your CMS, your review. Then step 9 links to it.
treg doesNothing here. This step uses your own files.
You decideEvery claim. Your experience is the only part of the page a model could not have written.

Go deeperThe GTM engineering playbookThe AI ads playbook

Step 8 · Refresh Run 27 Nov · under $0.01

Which pages should I refresh, and how?

SymptomA page that used to bring clicks is fading, and you find out months later.

You have. Search Console connected, and at least six months of data.

type this
Read site.md. Using treg, compare Search Console clicks by page for the last 3 months with the 3 months before. List the ten pages whose clicks fell most, with the queries that fell. For the first one, fetch the page as served and read the top three Google results for its main query. Write refresh.md: what is out of date, what to add, a new title. Add only; remove nothing. Do not edit the site.

You get. refresh.md: ten pages that lost clicks, and a plan for the first. Ours took three and a half minutes. The figures are our own, so we print none.

What happenedWhat Claude did
Our site had almost no data in the earlier 3 monthsSaid the comparison was empty, split the last 3 months in half, and labelled the result as that
The top page fell after a launch weekSaid most of the fall was the spike ending, not a ranking loss
Two pages fell to zero impressionsSaid it looked like changed addresses, not lost rankings
The plan for the first pageWhat is out of date, each item checked against the pages now ranking
27 Nov 2026, our own site. The useful output was the reasons, not the list.

Check.

  1. Why it fell, before you rewrite. A spike ending, a holiday, a changed address or lost links are not fixed by new words.
  2. Add only. The worst story we read was an agent that replaced three live articles with stubs and reported success.
  3. The dates. Compare the fall with Google’s published list of ranking updates before you rewrite anything.
  4. A page that still ranks: leave it alone.
  5. No decay threshold is standard. “Fell most in clicks” is our choice.
NextMake the edits yourself. Write the date and the page in log.md.
treg doesReads Search Console on your own account, free, and the pages that rank now.
You decideWhether the page is worth saving. Some should be left to fade.

Go deeperSearch Console queries and clicksGoogle results for a keyword

Step 9 · Links Run 27 Nov · $0

How do I add internal links with Claude Code?

SymptomNew pages sit alone. Nothing on your site points to them.

You have. striking.csv, draft.md and a sitemap.

type this
Read site.md, striking.csv and draft.md. Read my sitemap. For the draft and for the top five pages in striking.csv, suggest three internal links each: the page to link from, the sentence to add there, and the anchor text. Use only pages that are in the sitemap, and fetch each one to confirm it loads. Save links.md. Change nothing.

You get. links.md. Ours had 18 suggestions, each from a page that loads and does not link there yet, in four minutes.

Found on the wayWhy it matters
Three live pages already aim at the draft’s keywordDecide which one should rank before you add a fourth
One live page says the opposite of the draftFix one of them
A number in site.md differs from the live siteThe draft would have published the old one
Most impressions on one page are people looking for another companyNo link will turn those into clicks
27 Nov 2026, our own site. Reading every page it wanted to link from is what surfaced these.

Check.

  1. Each sentence reads naturally where it would sit. If not, skip that link.
  2. Pages that already target the same keyword. Two of your own pages competing help neither.
  3. Template pages. A sentence added to one may have to go into the template.
NextAdd the links yourself. Then step 10.
treg doesNothing here. Claude Code reads your sitemap and pages itself.
You decideWhich links to add. A few that help a reader, not a link in every paragraph.

Go deeperFree web access for agentsMore workflows

Step 10 · Publish Run 30 Nov · $0

How do I publish safely and check that Google indexed it?

SymptomYou are afraid an agent will change the live site, or the new page never shows up in Google.

You have. A page you have published yourself, and draft.md.

type this
Using treg, inspect [the new page address] in Search Console. Is it indexed? If not, give Google's reason. Check that the page is in my sitemap and that the pages in links.md now link to it. Fetch the live page and confirm that the title and the first paragraph match draft.md. List any placeholder text, example.com links or buttons that go nowhere. Change nothing.

You get. A yes or no on indexing, with Google’s reason, and a check that what is live is what you approved. Ours took two minutes, on a page we had published eleven days before.

CheckWhat came back
IndexedYes, crawled the day before
In the sitemapYes, once
Linked from the three pages in links.mdNone of the three. Google found the page through the sitemap and two outside links, none of ours
Title and first paragraph match draft.mdYes, word for word
Placeholders, example.com, dead buttonsNone. One outside link returned an error; Claude said to open it by hand
30 Nov 2026, a page on our own site. Indexed is not finished: the links we had planned were never added.

Check.

  1. Ask Claude to check the served page, not its own report of what it did.
  2. Not indexed after a few days is normal. A sitemap does not make Google index a page.
  3. To ask Google to look, use Request indexing in Search Console, by hand. Google’s Indexing API is only for job postings and livestreams.
  4. IndexNow tells Bing and others about a new page. Google does not take part.
  5. Before you publish, search the page’s keyword signed out and save what Google’s AI answer says and links to, with the date. Do the same a week after. Without the first one you cannot say anything changed.

Who publishes. You do. Let the agent read anything and write only files. If you let it edit the site, have it open a change for you to review, and never let it merge its own work.

NextWrite the page and the date in log.md.
treg doesChecks a page’s index status in Search Console on your own account, free.
You decideWhen it goes live, and what the agent may touch.

Go deeperIs this page indexed, and why nottreg.to in Claude Code

Step 11 · Weekly Run 30 Nov · $0

What should I do every week?

SymptomYou change ten things at once, then cannot say which one worked.

You have. baseline.md, ai-answers.md and log.md.

type this
Read log.md. For each change older than 28 days, using treg, compare Search Console clicks and position for that page in the 28 days before and after. Write one line each: better, worse or no change. Then pull striking.csv again and name the one page to work on this week. Once a month, ask the ten questions in ai-answers.md again and show what changed.

You get. One line per past change, and one page to work on. Ours took three minutes, over six changes from October.

Change in log.mdVerdict
Corrected examples on a launch pageWorse, but the launch spike was already ending. Not the edit
Rewrote a page’s openingNo change, while the whole site grew. So it fell behind
Removed a row from a comparisonBetter
Three new pagesNo before to compare. First 28 days recorded instead
This weekThe launch page: a how-to query where it sits low on page one
30 Nov 2026, our own site. Claude skipped the monthly ChatGPT questions: step 5 had asked them three days before.

Check.

  1. 28 days is our choice. Practitioners wait from one week to two months, and during a Google update the numbers move on their own.
  2. One change a week on one page. Then the log means something.
  3. A verdict against the whole site, not only the page. Ours: a page that held steady while the site grew had lost ground.
  4. New pages have no before. Note their first 28 days and compare the next 28.
  5. Sales and signups per landing page, not impressions. Impressions at position 60 are not progress, and Google’s own advice for AI search is to measure what visitors do.
  6. Ask new customers how they found you, with “an AI assistant” as one of the answers. No report shows it.
  7. If nothing moves after the page work is done, the gap is reputation: other sites that mention you. Step 12 is where that starts.
NextBack to step 6 or step 8 with this week’s page. Once a month, step 12.
treg doesThe same free Search Console calls as step 1, and the same ChatGPT check as step 5. treg.to does not schedule; you or your agent start it.
You decideWhat counts as better. Decide before you look.

Go deeperStep 1: the baselineStep 5: AI answersPricing

Step 12 · Mentions Run 30 Nov · $0

How do I get other sites to mention me?

SymptomThe site is clean, the pages are written, and traffic still does not move.

You have. ai-answers.md from step 5.

type this
Read site.md and ai-answers.md. Take the ten pages cited most. Fetch each one. For each say: what kind of page it is, who runs it, whether it names my brand, and how a company gets added (a form, an editor's address, or not possible). Save mentions.md. Then draft a short pitch for the three I could most honestly ask, using only facts in site.md, with [NEED: ...] where a fact is missing. Use my brand name or site address as the link text, never a keyword. Send nothing.

You get. mentions.md: the ten pages ChatGPT leans on, how to get onto each, and three draft pitches. Ours took three minutes.

Pages ChatGPT cited most10
That name us today0
Lists that name outside companies and give an address3
Lists with no way in2
Product or marketplace pages4
Would not load1
30 Nov 2026. Every page that loaded belongs to a company selling the same thing, and each puts its own product first. Claude said so, and said a no is likely.

Check.

  1. Who runs each list. Ours were all competitors’ own blogs. Look for independent lists, directories and review sites too.
  2. Every [NEED]. Ours wanted the sender’s name, a price and a page to link to. A pitch with a guessed fact is worse than none.
  3. The link text is your name or your address. Google lists keyword links in articles and press releases sent to other sites as link spam.
  4. Never pay for a mention or ask friends to post one. Google’s spam policy names both paid links and attempts to manipulate AI answers.
  5. Measure it. Ask step 5’s ten questions before you send, and again a month later.

Other honest routes. Answer journalists and podcast hosts who ask for sources in your field. Publish one number from your own customers that others can quote. Add an About page that says who you are; step 2 showed we had none. A press release is a document for journalists. Nobody has shown that it teaches an AI anything.

NextSend the three yourself. Write the date in log.md.
treg doesNothing new here. It uses step 5’s answers; Claude Code reads the pages itself.
You decideWho you ask and what you say. One honest pitch a week, not fifty templates.

Go deeperThe AEO workflowHow AI answers mention your brandBacklink profile of a domain

Appendix A

Ways to get SEO data into Claude

Read on 27 Nov 2026 from each provider’s own pages. We ran the first and last rows ourselves. Prices change; check before you choose.

WayWhat you getCostThe catch
Google Search ConsoleYour own queries, pages, clicks and index statusFreeYour site only. Nothing about anyone else
Search Console’s AI reportImpressions in AI Overviews and AI Mode, by pageFreeNo queries, no clicks. Read it in the browser
Ahrefs’ hosted connectorRankings, keywords and backlinks for any siteA paid plan, Lite or higherEach call spends API units
Semrush’s hosted connectorKeywords, rankings and competitorsPlans that include 50,000 API unitsUnits refresh on renewal
DataForSEO directlyKeywords, results, rankings and backlinksPay as you go, $50 minimum top-upIts Google result links came back as redirects in our run
treg.toSearch Console on your own account, plus keyword, results, ranking, backlink and AI answer data from several providersSearch Console free. Our steps 1 to 9 cost $0.42Pay per call. No dashboard

Your own site only: Search Console, and nothing else is needed. Already paying for Ahrefs or Semrush: use their connector. No subscription and a few jobs a week: pay per call.

The ruleSearch Console first. Pay only for data about sites that are not yours.
Appendix B

Claude Code skills and connectors for SEO, and what each needs from you

We read these repositories on 27 Nov 2026. We have not run them end to end. Star counts are from that day.

RepositoryStarsWhat it doesWhat you bring
coreyhaines31/marketingskills62.9kNine SEO skills: audit, AI SEO, schema, site structure, content planNothing for the skills. Your own keys for live data
AgriciDaniel/claude-seo32.7kAn audit with 28 sub-skills. Reports only, apart from index submissionsNothing required. Optional Google, DataForSEO and other keys
every-app/open-seo29.0kAn open-source SEO app with its own connectorA data account, or its hosted plan
zubair-trabzada/geo-seo-claude11.9kAn AI-search audit with scores. It has no ranking or volume dataNothing
TheCraigHewitt/seomachine7.6kLong articles written into WordPress as draftsSearch Console and Analytics keys, a DataForSEO login, a WordPress password
AminForou/mcp-gsc2.3kA community Search Console connector, 21 toolsYour own Google Cloud OAuth client
Illyism/seo-skills2.2k30 skills. Several edit your code and open or merge changesMost need nothing. Some need Ahrefs or DataForSEO

What to check before you install one: which data it needs from you, and whether it only reports or also changes your site. Several score things Google says it ignores, such as llms.txt. Google has published no official Search Console connector; the ones here are community projects.

Appendix C

Every run behind this playbook

RunDateWhat came backMetered on treg.to
Steps 1 to 9, each printed prompt typed as written, in order, in one empty folder (9 prompts, 40 minutes)27 Novbaseline.md, striking.csv, audit.md, a 292-keyword file, gaps.csv, 30 ChatGPT answers, brief.md, draft.md, refresh.md, links.md$0.42
Steps 10 and 11, in a new folder: a page published 19 Nov, three planned links, and seven real changes from our log30 NovIndex, sitemap, link and match checks; a verdict per change and one page for the week$0
Three more prompts in the same folder: four extra audit checks, the brand check, and step 1230 NovExtra checks in audit.md, three brand answers, mentions.md with three draft pitches$0.01
One open-source skill’s keyword grouping, on 12 keywords, on two providers26 NovOn the first provider the result links were redirects and nothing grouped. On the second, 11 groups$0.03

Step 12’s pitches were drafted and not sent. Claude Code’s own usage is not in these figures.

Appendix D

Glossary and questions

Search ConsoleGoogle’s free report of the searches and pages that bring people to your site (step 1).
ImpressionOne time your page was shown in a result. Not a visit.
PositionWhere your page sits in the results, averaged. 1 is the top.
Striking distanceQueries where you already rank just off the top, positions 5 to 20 here (step 1).
IndexedGoogle has stored the page and can show it (steps 2 and 10).
Search botThe crawler that decides whether an AI assistant can cite you: OAI-SearchBot, Claude-SearchBot, PerplexityBot (step 2).
DifficultyA provider’s estimate, 0 to 100, of how hard a keyword is to rank for. Each provider has its own (step 3).
BriefOne page that says who searches, what the top pages cover, what they miss, and what only you can add (step 6).
AEO, GEONames for being named in AI answers. Google says it is still search (step 5).
Internal linkA link from one of your pages to another (step 9).
Can Claude Code do keyword research on its own?

No. The model has no search data of its own, so any volume or difficulty it gives without a data source is invented. Connect one: Search Console for your own site, and a keyword data provider for everything else. In our run the volumes came from DataForSEO through treg.to, and the prompt says never estimate a number.

Will Google penalise AI-written content?

Google's guidance does not ban AI content. Its spam policy is about scale without value: many pages made to rank and not to help. The same guidance calls a manual fact check of AI content critical before publishing, and that covers titles, descriptions and structured data too. So write few pages, from your own facts, and check every one.

Do I need llms.txt or special schema to appear in AI answers?

Not for Google. Google's own page says Search ignores llms.txt, that no special schema is needed for AI features, and that there is no need to break content into small pieces. To be cited by ChatGPT, Claude or Perplexity, their search crawlers must be allowed in robots.txt. Their documentation gives no formatting advice beyond access.

How long until SEO changes show results?

There is no rule. Practitioners we read wait days to two weeks for technical fixes, one to three weeks for titles, four to eight weeks for content, and longer for links. This playbook logs every change with a date and reads the result after 28 days. That number is our choice, not Google's.

How much does it cost to run this playbook?

In our 27 Nov 2026 run steps 1 to 9 cost $0.42 on treg.to: keyword data $0.23, competitor rankings $0.10, 30 ChatGPT answers $0.08 and page reads about a cent. The brand check and step 12, run on 30 Nov, added under a cent. Search Console calls are free because they run on your own Google account. Claude Code's own usage is separate.

Can an agent get my site to rank?

It cannot promise that, and neither can this playbook. An agent can show what you rank for, fix what is on the page and draft what is missing. It cannot create demand or the reputation that comes from other sites mentioning you. The most common complaint we read was a technically clean site whose traffic did not move. Step 12 is a first, honest action on that.

Run step 1
in your agent today.

One key for 4,200+ tools across 141 providers. $1.00 of free credit once per new verified account, which covers every step as we ran it.

›set up treg — https://treg.to/llms.txt
Set up tregRead as Markdown