Kira Dulu is my "estimate first, apply later" finance AI assistant for Malaysia. In its first 28 days in Google Search (12 Aug to 8 Sep) it got 1,281 impressions and 7 clicks. In the last 28 days (15 Oct to 11 Nov) it got 9,733 impressions and 83 clicks, while a weekly Claude loop ran on the site. I can't say the loop caused that. AI search is slower. In our 8 Nov check, ChatGPT, Gemini and Google AI Overviews cited Kira's own site in about 2 of 30 answers. From 15 Oct to 8 Nov they cited this site, dainer-ai.biz, in none of 5 runs. So this guide starts with how AI search picks a page. The loop, what broke and the numbers come after.
How AI search picks a page, and how to rank in ChatGPT and AI Overviews
Google, OpenAI and Anthropic each explain this in their own docs. We read every page in the sources list on 14 Nov 2026. Here are the seven points we took from them.
1. Two paths: the search index and training data
AI tools reach your site in two ways. The first is search. OAI-SearchBot collects pages for ChatGPT search, Claude-SearchBot does the same for Claude, and Googlebot does it for Google. When someone asks a question, the search system retrieves relevant results. Letting a crawler in doesn't guarantee a citation.
The second is training. GPTBot and ClaudeBot collect content for possible training. Google-Extended is a control token, not a crawler. It tells Google whether content it crawls may be used for Gemini training and grounding, and it doesn't control Google Search. Google says so directly: "Google-Extended does not impact a site's inclusion in Google Search nor is it used as a ranking signal in Google Search."
2. Google AI Overviews use the normal Google index
To show in AI Overviews, a page must be "indexed and eligible to be shown in Google Search with a snippet". Google also says "There are no additional requirements to appear in AI Overviews or AI Mode". So the work for AI Overviews is ordinary SEO. Get the page indexed, and make sure nothing on it stops Google from showing a snippet.
3. ChatGPT search uses OAI-SearchBot
OpenAI says sites that block OAI-SearchBot "will not be shown in ChatGPT search answers". A robots.txt change can take about 24 hours to apply. GPTBot is a separate bot, used for training only, and OpenAI adds: "ChatGPT-User is not used to determine whether content may appear in Search." If you want ChatGPT search to cite you, OAI-SearchBot is the bot that has to get in. If your robots.txt blocks crawlers broadly, add an explicit allow for it. The lines are in "Copy my setup", step 5.
4. Claude search uses Claude-SearchBot
Claude has its own search bot. Anthropic says blocking Claude-SearchBot "may reduce your site's visibility". Check your robots.txt for it as well.
5. What gets picked once you're in the index
Google's advice is plain: "Creating content that people find unique, compelling, and useful will likely influence your website's presence in generative AI search in the long run more than any of the other suggestions in this guide."
On our own pages we answer the question in the first lines and link the primary sources. Each guide also carries one exact quote from its best source. These are our habits. Google doesn't document them as ranking factors, and we can't yet show that they move citations.
Google also tells site owners to ignore "chunking", so we don't split our pages into pieces for AI.
6. Faster discovery: sitemap and IndexNow
A sitemap tells crawlers which pages exist. IndexNow pings Bing and other engines when a URL changes. It needs a key file hosted on your site, and indexnow.org has the format. Our merge job sends each new page to IndexNow after it goes live.
7. llms.txt, said honestly
An llms.txt file is a short map of your site written for AI tools. Google is direct about it: "You don't need to create new machine readable files, AI text files, markup, or Markdown to appear in Google Search (including its generative AI capabilities), as Google Search itself doesn't use them." It adds: "Doing so will neither harm nor help your site's visibility or rankings in Google Search". We keep llms.txt for other tools, and we don't count on it for Google.
How do I optimize for AI search every week? My Claude loop
Times are Malaysia time, so pick your own. The plan behind the loop is one file with a row per week. I approved it once, and each week the job takes the next unchecked row.
Monday 7:00 am: the AI tracker
An OpenSEO tracker asks ChatGPT, Gemini and Google AI Overviews 10 questions my buyers would ask, and records which sites each answer cites. That gives 30 answers to compare each week.
Monday 12:30 pm: the numbers
A report pulls the latest Search Console and Analytics numbers. It runs again on Thursday. You can skip this at the start and pull Search Console through OpenSEO.
Monday 1:30 pm: Claude makes one change
Claude Code opens in the site's folder. It reads the plan, last week's receipt and the latest numbers, then picks the next row. It makes at most one fix to an existing page and one new guide. If an earlier pull request is still open, it spends the run on that instead. Prompt B under "Copy my setup" is the public version of this brief.
Before and after the push: GPT reviews it
GPT reviews the change in read-only mode, so it can score the change but can't edit anything. Every score has to be 9 out of 10 or more. If one isn't, Claude fixes the change and gets up to three repairs. Then Claude opens a pull request, and GPT reviews it again on the exact version that was pushed.
Twice a day: the merge job
A merge job merges a pull request only when GPT approved its current version and the checks are green. Then it opens the live page and sends the URL to IndexNow, so Bing and other engines hear about the change. The exact call is in "Copy my setup", step 5.
This step is optional. If you'd rather read every change yourself, leave the merge job out and press merge.
Every run: a receipt
Each run writes a receipt with the numbers it read, what it changed and what broke. Next Monday's run reads it first, so the weeks hand over through that file.
What broke
We found all five of these in our receipts after a few weeks of runs.
1. Pull requests got stuck
Every new guide edited the same shared files, like the sitemap and the hub pages, so each merge broke the next pull request. Now those lists only get new lines added, and the job finishes old work before it starts new work.
2. The reviews didn't count
GPT's review was a hand-written comment. Its wording drifted, and the merge job couldn't read it. Now one script posts the review in three fixed lines, on the exact version it reviewed.
3. A money figure got into a guide
The first review passed it, and the second review, on the pushed version, caught it. That review's brief now bans money figures, and we kept both reviews.
4. The report said zero sign-ups
The weekly report script never read the sign-up events. The fix is written and waiting for review, so for now the loop can't tell which page brings sign-ups. On day one, check that your first report has a sign-up number that makes sense.
5. A keyword tool call came back empty
We put several targets into one call, and the tool only returns results that match all of them at once. It charges per call, so now each call has one keyword per target.
Results so far: does it get you cited by ChatGPT?
For this site, not yet. Here are the numbers.
Kira Dulu in Google Search (Search Console via OpenSEO, pulled 14 Nov):
| Window | Impressions | Clicks | Daily average position |
|---|---|---|---|
| First 28 days in Search (12 Aug to 8 Sep) | 1,281 | 7 | about 70 to 85 |
| Last 28 days (15 Oct to 11 Nov) | 9,733 | 83 | about 12 to 36 |
That rise happened while the weekly loop ran. We can't say the loop caused it.
AI citations come from an OpenSEO AI-visibility tracker: 10 questions across ChatGPT, Gemini and Google AI Overviews, run weekly.
- Kira's own site was cited in 10.7% of answers on 18 Oct, 5% on 25 Oct, 6.7% on 1 Nov and 6.7% on 8 Nov. On 8 Nov that was about 2 of 30 answers.
- By engine over 28 days, Kira got AI Overviews 10%, Gemini 6.7% and ChatGPT 5%.
- Kira's brand mentions are at 0%.
- dainer-ai.biz got 0 mentions and 0 citations in all 5 runs, from 15 Oct to 8 Nov. That zero is what we're working on now.
Some plumbing is in place. These are counts, and they don't show results yet:
- IndexNow accepted 81 Kira URLs and 584 dainer-ai.biz URLs.
- Bing Webmaster Tools was set up on 14 Nov. It has no data yet.
- Citation markup went on 16 Kira pages and 4 dainer-ai.biz guides on 14 Nov. It's too early to tell if it does anything.
To watch your own AI traffic, open the "Generative AI performance report" in Search Console. Google names it as the place to watch traffic from its AI features.
FAQ
Do I need special optimization for Google AI Overviews?
No. Google says "There are no additional requirements to appear in AI Overviews or AI Mode". The page has to be indexed and eligible to show with a snippet.
How does ChatGPT choose which sites to cite?
ChatGPT search reads pages through OAI-SearchBot, and OpenAI says sites that block it won't be shown in ChatGPT search answers. So the page has to be open to that bot first. Past that, we can only share our habits: answer the question in the first lines and link primary sources. Neither is a documented ranking factor.
Should I block GPTBot?
That's your call. GPTBot is for training only, and blocking it doesn't remove you from ChatGPT search. Blocking OAI-SearchBot is what keeps you out of ChatGPT search answers.
Does llms.txt help?
Not in Google. Google says it doesn't use AI text files, and adding one "will neither harm nor help" your visibility there. It may help other tools, and we keep ours for them.
How long until AI cites a new page?
OpenAI says a robots.txt change takes about 24 hours to apply. A page can only be cited after it's indexed. Our own dainer-ai.biz count is still 0 after 5 weekly runs.
Can Claude Code run SEO on its own?
It runs the weekly loop on its own. GPT reviews every pull request, and a human approves what goes live. In our setup that approval is a merge rule I signed off once, and you can press merge on each pull request yourself instead.
Copy my setup
This part is for your AI agent. Paste the whole page and ask it to go through these steps with you, one at a time. It should ask you before any sign-in, payment or schedule.
What you need, one line per step. Prompt A points at step 2 and Prompt C at step 5.
- Your site in GitHub, with Claude Code open in its folder. Sign in to GitHub's command line once with
gh auth login. - OpenSEO, an MCP server that gives Claude keyword data, live search results, site audits and the AI tracker. Make a project for your site and connect Search Console and Analytics inside it. Then add it with
claude mcp add --transport http openseo https://app.openseo.so/mcpand run/mcpin Claude Code to sign in. - Skills (optional). A skill is a folder of instructions at
~/.claude/skills/<skill-name>/SKILL.md. The free packgithub.com/AgriciDaniel/claude-seo(MIT) does audits, schema and AI search checks. We don't use it, so test it on your own site first. - GPT's command-line tool for the review, plus
seo/review-rubric.mdandseo/review.shfrom below. - Site files:
/sitemap.xml, your IndexNow key file at/<your-key>.txt, and/llms.txtif you want it for other tools. After a page goes live, send it withhttps://api.indexnow.org/indexnow?url=<page>&key=<your-key>. If your robots.txt blocks crawlers broadly, allow the two search bots:
User-agent: OAI-SearchBot
Allow: /
User-agent: Claude-SearchBot
Allow: /- A scheduled task in the Claude desktop app: Monday 13:30, your site's folder, Prompt B. It runs only while the app is open and the computer is awake.
- Optional: a second scheduled task, daily 11:15 and 19:15, with Prompt C.
Prompt A: the 3-month plan
Run this first, on your own site, and read the plan before you schedule anything. Weeks 1 to 4 fix pages Google already shows before writing new ones. That's our choice, and it's in the prompt.
BEFORE YOU RUN (your inputs, not part of the prompt)
- Claude Code open in your site folder, openseo connected (Ch 3 step 2)
- your domain, your country and language, one line on who buys from you
- some openseo credits for steps 3 to 5You are my SEO and AI-search planner for <your domain>.
Market: <country>, <language>. My buyer: <one line>.
1. Read the site: the home page, /sitemap.xml and /llms.txt if it exists.
Write who it serves and what it offers, in 5 lines.
2. Use the openseo tools to pull the last 28 days from Search Console:
the top 30 queries with impressions, clicks and position, and the
page each one lands on.
3. Use openseo keyword research for my market to find 40 questions my
buyer would type. Give monthly volume and difficulty. Keep difficulty
30 or under. If fewer than 40 qualify, list the ones you found and say
how many.
4. Use the openseo AI visibility check on 10 questions my buyer would ask
ChatGPT, Gemini and Google AI Overviews. List the sites cited for each.
Show me the credit estimate first and wait for my yes.
5. For each planned target, use openseo live search results to open the
page that ranks first and the pages cited in step 4. Note what they
cover and what they miss.
6. Plan 12 weeks, one row per week. Each week: at most 1 improvement to
an existing page and 1 new guide. For each, give the target query, the
search intent, the question it answers in its first 120 words, 5
internal links, and what it adds that the pages from step 5 miss.
7. Weeks 1 to 4: improve pages that already get impressions first.
If a number is missing, write "missing". Never guess a number.
Save it as plans/12-week-plan.md. No prices or money figures.
Plan only. Change no page.Prompt B: the weekly job
This is a public version of the brief our Monday job runs, with our private paths taken out. It reads the plan, the last receipt and the latest Search Console numbers. If an old pull request is still open, it spends the run on that first. It never merges and never deploys.
BEFORE YOU RUN (your inputs, not part of the prompt)
- plans/12-week-plan.md from Prompt A, read and approved by you
- gh signed in, openseo connected, OpenAI's CLI signed in
- seo/review-rubric.md and seo/review.sh from the guide
- your build and test commands, and an empty receipts/ folderWeekly SEO run for <your domain>. One job, at most one pull request.
READ: plans/12-week-plan.md, the newest receipts/seo-weekly-*.md, and
the last 7 days from Search Console through openseo.
FIRST RUN: if there is no receipts/seo-weekly-*.md, this is week 1.
Start at row 1.
OPEN WORK FIRST: if any earlier pull request labelled seo-weekly is
still open, approved or not, start no new work this run. If it is not
approved on its current commit, or a check fails: bring it up to date
with the main branch, fix what its review asked, run CHECK, commit,
push, then review it again (REVIEW 2). If it is approved and its
checks pass, leave it as it is.
Then write the receipt and stop. It waits for the merge job, or for you.
DO (only when no seo-weekly pull request is open): the first row whose
pull request is not merged yet (check the
receipts and gh). At most 1 improvement and 1 new guide.
Zero is fine if the data or the review is not ready.
- Improvement: a page with impressions but few clicks gets a new title
and description. Keep everything else on the page.
- New guide: answer the row's question in the first 120 words. Link to
5 related pages, and add a link to it from 3 existing pages.
CHECK: run <your build command> and <your test command>. Confirm
/sitemap.xml and the IndexNow key file are in the build, and
/llms.txt too if you made one. Stop if any check fails.
REVIEW 1, before push: commit the site changes, then run bash
seo/review.sh. It must print APPROVE for that commit. If not, fix
it, run CHECK again, make a new commit and review again.
3 repairs at most, then stop and write down why.
SHIP: push a new branch and open a pull request labelled seo-weekly,
with before and after titles, the links added and the review result.
REVIEW 2, after push: run bash seo/review.sh <pull request number>.
It reviews the pushed commit and posts its answer as a comment.
Never merge. Never deploy. Never write a review comment yourself.
No prices or money figures.
RECORD: write receipts/seo-weekly-<date>.md with the numbers you read,
what changed, what broke, the row number, the pull request number and
its review result.Prompt C: the merge job
Optional. It runs a fresh review on the current version, merges only on an approval with green checks, then checks the live page.
BEFORE YOU RUN (your inputs, not part of the prompt)
- gh signed in with an account that can merge
- the names of your required checks, and your live site address
- how your host shows a finished deploy (for most hosts, a deploy check
on the merged commit turns green)Merge job for <your repo>. It runs twice a day.
For each open pull request labelled seo-weekly:
1. Skip it if it is a draft, labelled hold, or missing a required check.
2. Run bash seo/review.sh <number> to review its current commit now.
Merge only if that fresh review says APPROVE for the current commit
and every required check is green.
3. Otherwise leave it, and write one line saying why.
4. After a merge, wait until the deploy has finished, open the live page
and confirm the new title or guide is there. Then send the page to
IndexNow (step 5 card). If it isn't live, say so in
receipts/merge-<date>.md.
Never approve anything yourself. Never edit code.The review rubric and script
Prompts B and C call seo/review.sh. It stops unless every file outside receipts/ and plans/ is committed, so each review matches the commit it names. For a pull request, it also checks that your copy is the pull request's latest commit, before the review and again before it posts. Then it sends the rubric, the commit id and the change to GPT in read-only mode and checks the answer has the exact three lines. It stops if a score line is broken, if the review names another commit, or if an APPROVE comes with a score under 9. It saves the full review in your computer's temp folder, outside the site, and prints where.
Before the first run, commit the rubric and the script. Keep only your own notes in receipts/ and plans/, never pages or files your site builds from. If your build writes files git doesn't ignore, add them to .gitignore.
seo/review-rubric.md:
seo/review-rubric.md
Review the change below in read-only mode: the diff, and every page it
touches. Start your answer with exactly 3 lines:
VERDICT: APPROVE or CHANGES_REQUIRED
reviewed <the commit id given below>
SCORES: reads human x/10 · accurate and useful x/10 · SEO checklist x/10
Then list each problem with its file and line. Mark a problem BLOCKING
if it is false, unsafe or breaks a page.
Reads human: plain words, no filler, sounds like the site's owner.
Accurate and useful: every fact is true for this site, and the page
answers its question fully.
SEO checklist: one H1 · title under 60 characters · description under
155 · the page's question answered in the first 120 words · at least
5 internal links · no broken links · no prices or money figures.
APPROVE only if every score is 9 or more and nothing is BLOCKING.Install and script:
Install GPT's command-line tool and sign in once:
npm install -g @openai/codex
codex login#!/usr/bin/env bash
# seo/review.sh · GPT review, read-only. Run it from your site's folder.
# bash seo/review.sh reviews your current commit
# bash seo/review.sh 12 reviews pull request 12's current commit and posts the answer
# It stops while anything outside receipts/ and plans/ is uncommitted,
# so the review always matches the commit it names. For a pull request,
# it also stops if your copy isn't the pull request's latest commit.
set -euo pipefail
PR="${1:-}"
DIRTY=$(git status --porcelain --untracked-files=all -- . ':(exclude)receipts' ':(exclude)plans')
[ -z "$DIRTY" ] || { echo "commit these first, then review:"; echo "$DIRTY"; exit 2; }
if [ -n "$PR" ]; then gh pr checkout "$PR" >/dev/null; fi
git fetch -q origin main
SHA=$(git rev-parse HEAD)
pr_head() { gh pr view "$PR" --json headRefOid -q .headRefOid; }
if [ -n "$PR" ] && [ "$(pr_head)" != "$SHA" ]; then
echo "your copy isn't pull request $PR's latest commit: push or pull first"; exit 2
fi
OUT=$(mktemp "${TMPDIR:-/tmp}/seo-review.XXXXXX")
{ cat seo/review-rubric.md; echo; echo "Commit id: $SHA"; echo; git diff origin/main...HEAD; } \
| codex exec --sandbox read-only -o "$OUT" - > /dev/null
L1=$(sed -n 1p "$OUT"); L2=$(sed -n 2p "$OUT"); L3=$(sed -n 3p "$OUT")
case "$L1" in "VERDICT: APPROVE"|"VERDICT: CHANGES_REQUIRED") ;; *) echo "review format broken"; exit 2;; esac
[ "$L2" = "reviewed $SHA" ] || { echo "review names another commit"; exit 2; }
S='([0-9]|10)/10'
echo "$L3" | grep -qE "^SCORES: reads human $S · accurate and useful $S · SEO checklist $S\$" \
|| { echo "score line broken"; exit 2; }
if [ "$L1" = "VERDICT: APPROVE" ]; then
for s in $(echo "$L3" | grep -oE '[0-9]+/10' | cut -d/ -f1); do
[ "$s" -ge 9 ] || { echo "APPROVE with a score under 9"; exit 2; }
done
fi
if [ -n "$PR" ]; then
[ "$(pr_head)" = "$SHA" ] || { echo "pull request $PR changed during the review: run it again"; exit 2; }
gh pr comment "$PR" --body-file "$OUT"
fi
echo "$L1 for $SHA (full review: $OUT)"Before you schedule it
- Run Prompt A on your own site this week.
- Read the plan it saves, and fix anything you disagree with.
- Only then make the weekly scheduled task.
Related: get found by AI search covers what to check on your site first. To try GPT's command-line tool on one small task first, see this beginner guide. The website chain guide covers building the site this job looks after, and build a game with AI shows the same split on a game: one model builds it and another judges it.