How to Use AI Agents for SEO: Method, Data, Tools and 6 Prompts
An AI agent can already run your SEO. What it needs is a method, data and tools: six free skills, the four kinds of data it can't guess, five tools, a weekly routine and six prompts to paste.
By Fabio BergmannPublished 11 min read
On this page
To use AI agents for SEO, give your agent three things: a method, data and tools. The method is how to work, and six free skills hold it. The data is what no agent can guess: Search Console, keyword volumes, AI answers collected every day and the pages those answers cite. The tools are what lets it change your site: schedule, update and publish pages, find the sites that cite your rivals, and measure every change against the 28 days before. An agent that remembers and runs on a schedule, such as Claude Code with routines or Grok Bot, can then run the work week after week, and you approve what goes out.
Disclosure: the author wrote and maintains the ai-seo-skills set described below. Facts checked 1 December 2026.
What does an AI agent need to run your SEO?
An AI agent needs a method, data and tools to run your SEO. Today's agents already know enough SEO to reason about it. What they lack is something to read and somewhere to write.
- The method is how to work: what to check first, what deserves a page, when to leave a page alone.
- The data is what the agent reads: how Google sees your site, what people search, what AI answers say about you.
- The tools are what it can change: put a page on your site, edit one, and see what the edit did.
Most people hand their agent only the method, in a long prompt. An agent with a method and no data guesses. Ask for 20 keywords and you get 20 guesses, each with a search volume that looks exactly like a real one.
Which method should the agent follow?
The method fits in six skills, free and MIT-licensed. A skill is a folder of instructions an agent loads when the job comes up, so its rules don't sit in every chat. Every rule in these six names its public source: Google's documentation, studies or vendor data, each labelled for what it is.
One line installs them:
npx skills add fabio-bergmann/ai-seo-skillsThey work in Claude Code, Codex, Cursor, Gemini CLI and any agent that reads SKILL.md files, with no account and no API key. Each skill has its own page on the free AI SEO skills hub, and the Claude SEO skills guide covers installing them as a plugin.
- ai-seo-playbook, the routine. Ask "Run SEO for my site." It runs the others on a rhythm: health checks daily, a review of Google and AI answers weekly, keyword research and a 30-day plan monthly. Its notes live in a
seo/folder in your repo, so whichever agent picks up the job starts where the last run stopped. - ai-seo-audit: can bots get in? Ask "Why isn't my site in ChatGPT?" A crawl script (Node 18, nothing to install) reads your robots.txt the way each search and AI bot would, then runs five gates, access first. A page a bot can't fetch can't rank or be cited.
- ai-visibility-check: what AI says about you. Ask "Who does AI name instead of us?" It writes 20 to 25 questions your buyers would ask an AI, counts named, recommended and cited apart, and turns the cited pages that name your rivals but not you into a pitch list.
- seo-page-writer: go, hold or kill. Ask "Should we write about this?" Five gates come before a single word: fit, intent, duplicate, edge, worth it now. If more than a third of the ideas get a Go, the skill says the agent is cheering, not deciding.
- seo-page-refresh: the smallest change. Ask "Why did this page drop?" It changes a live page only for a reason, such as a lost AI citation, a stale fact or a page stuck at positions 8 to 20, and records a baseline first.
- The sixth skill connects the data and the tools below. More on it at the end.
One rule runs through all six: every number needs a source and a date. What the agent can't reach is marked BLOCKED, never guessed. Run the skills for a week, then read the BLOCKED lines. They are the list of what your agent is missing.
What data can't an AI agent get on its own?
Four kinds of SEO data can't be guessed and don't come from a quick web search: Search Console, keyword data, daily AI answers and the pages AI cites. An agent can reason about all four once it has them.
Search Console
Search Console holds clicks, impressions and positions per page and per search, from Google itself. It is the only first-hand view of how Google sees a site. Google shows it only to the site's owners and the users they add (Search Console Help), so an agent needs an authorised connection through the Search Console API. A weekly review starts here: the last 28 days against the 28 before, brand and non-brand searches apart. A worked example: a weekly SEO report from Search Console, run by your agent.
Keyword data
Keyword data is how many people search a phrase each month, how hard it is to rank for, and which phrases Google answers with the same pages. An agent can guess which searches matter, but it can't count them: volumes come from a provider that collects them. Grouping keywords takes the live results pages, because two keywords belong on one page when Google ranks several of the same URLs for both, not when they sound alike. More in AI keyword research on real search data.
AI answers, every day
AI answers show what ChatGPT, Gemini and Google's AI say when buyers ask about your category: who they name, who they recommend, which pages they link to. Yesterday's answers can't be fetched later, so if nothing asked on Tuesday, Tuesday is gone. One day also says little. In Ahrefs' 20-day study (published 29 October 2026, about 37,500 citations), 50 to 59% of day-one citations were gone the next day, and about 75% of those came back within the 20 days. More questions beat more runs of one: going from 10 to 100 prompts cut the spread of a brand's measured coverage by about 73% in Otterly's test.
An agent can ask an AI model itself, and ai-visibility-check shows how: blind, in a fresh session that doesn't know your brand, three runs per question. That is a good snapshot. A trend takes a tracker that asks the same questions in each AI model every day and keeps every answer, as in how to monitor your brand in AI search results.
Which pages AI cites, and for whom
Cited pages show which sources each answer leaned on, and whose they are. Each kind is a different job:
- Your own page, cited: what does the rival page cited for the same question say that yours doesn't?
- A list that leaves you out: that is your pitch list. See finding the prompts where competitors are named and you aren't.
- A rival's own page: a topic you haven't covered yet.
This data comes out of the same daily answers, kept per question, per AI model and per day. The models barely share sources: in TJ Robertson's October 2026 citation study, ChatGPT shared about 5% of its cited pages with Google's AI. Each model needs its own record.
Which tools does the agent need to change your site?
Data alone gets you a good report. Five tools turn it into changes on your site.
- Schedule new pages. A calendar the agent can write to: a page gets a day, and on that day it goes live. In the skills, a page gets its day only after your yes.
- Update existing pages. Edit a live page, keep everything it wasn't asked to change, and take a change back when it lost.
- Publish. Write access to your CMS, so a page goes from draft to live without copying and pasting.
- Find the sites that cite your rivals. The lists, reviews and comparisons AI answers lean on that name your rivals and not you, with a person to write to. The agent drafts the pitch. You send it, unless you've said it may.
- Measure every change against the 28 days before. A baseline recorded on the day of the change, the same numbers read 28 days later, and one line: won, flat or lost. Without the baseline, every change is a guess.
Publishing needs your CMS's keys, finding the sites needs the cited pages from the data above, and measuring needs the numbers from before the change, kept where the agent can read them back. Which jobs to hand over and which to keep is its own question: what to automate in SEO and what needs a person.
What does a weekly SEO routine with AI agents look like?
A weekly SEO routine with AI agents is a fixed rhythm the agent runs on its own schedule, with notes it reads before every run and a short report for you. Starting from the skills, the agent keeps this folder:
seo/
site.md what you sell, to whom, prices, rivals, the data it can reach
prompts.md the fixed buyer questions and every run's results
pages.md every page, the question it answers, its last change
ledger.md every decision: Go, Hold or Kill, with the reason
plan.md the next 30 days
log.md one line per change shipped
reports/ the weekly reportsThe ledger matters most. Next week the agent reads it and doesn't decide again what it decided last week, unless the data changed.
On our own site the week runs like this:
- Every day. 100 buyer questions go to 4 AI models: ChatGPT, Gemini, Google's AI Overviews and AI Mode. Search Console syncs. A page with a day on the calendar goes live at 06:00.
- Six mornings a week, at 04:00. A small script checks Google's and the AI engines' official news. On a quiet day nothing else wakes up. On a core update, an agent reads it at the source, fixes what it makes wrong in the notes and drafts the skill changes.
- Friday, 02:30. The deep run, about two and a quarter hours: what the engines changed that week, what researchers published, what rivals shipped, and the site's own numbers against the weeks before. It rewrites what we know, checks all six skills against it and lines up what to write next.
- Friday morning. A short report with at most three calls, each with the agent's pick. Nothing goes out without a person's yes.
For what an agent can and can't do in SEO and GEO today, see agentic SEO.
Which prompts should you give your agent?
Paste these six prompts as they are. Each one names its skill, so the agent loads the right rules.
1. The first session
Set up SEO for my site with the ai-seo-playbook skill. Find what you
can in this repo and ask me for the rest. In seo/site.md, list the
data you can reach today (Search Console, keyword volumes, AI
answers, the pages they cite) and mark the rest BLOCKED with what
would unblock it. Then run ai-seo-audit and a first
ai-visibility-check, and stop. Show me the five worst fixes and the
baseline.2. Every Monday
Every Monday morning, run this week's SEO review with
ai-seo-playbook. Read seo/ first, and don't decide again what the
ledger already decided unless the data changed. AI answers first,
then Google: the last 28 days against the 28 before, brand and
non-brand apart. End with the weekly report, under 300 words, with
your doubts for me.3. What AI says about you
Run ai-visibility-check with the fixed prompt set in seo/prompts.md.
Ask each prompt blind, in a fresh session that doesn't know my
brand, three times per AI model. Count named, recommended and cited
apart, keep branded prompts apart, and list the pages the answers
cite that name my rivals and not me.4. Before any new page
Run "[topic]" through seo-page-writer's five gates. Give me Go, Hold
or Kill with the reason, and write it to the ledger. Only on a Go:
the brief first, then the draft, answer-first, every fact with its
source and date. It gets a day on the calendar only after my yes.5. The cheapest win
Find my pages at positions 8–20 that have impressions. Pick one,
find the search none of its headings answers, and propose the
smallest change with seo-page-refresh. Record the baseline before
you change anything, and read the result against the 28 days before
once 28 days have passed.6. What your agent is missing
Read seo/ and list every BLOCKED line from the last four weeks. For
each one: what it cost (a decision held, a number guessed, a change
we couldn't measure) and what would unblock it: a sign-in, an API
key, or a service that collects the data every day. Rank them by
cost, worst first.Prompt 2 sets a schedule in agents that can keep one, such as Claude Code with routines or Grok Bot. Other agents run it once, each time you ask.
FAQ
Can an AI agent do SEO on its own?
An AI agent can do most of the SEO work on its own once it has a method, data and tools: audits, keyword research, page decisions, drafts, refreshes and reports. What it can't do alone is collect data over time, such as daily AI answers, or publish without access to your CMS. Keep a person's yes on anything that goes public.
Which AI agent is best for SEO?
The best AI agent for SEO is one that remembers past decisions and runs on a schedule, because SEO is weekly work. Claude Code, Codex, Cursor and Gemini CLI all run the skills; Claude Code with routines and Grok Bot can also start the work by themselves. For choosing between ready-made SEO agents and your own, see how to choose your AI SEO setup.
Do I need Claude Code to use AI agents for SEO?
No. The skills follow the shared SKILL.md format, so any agent that reads skills can run them. What Claude Code does for SEO with and without live data is covered in SEO with Claude Code.
How do you know if the agent's changes worked?
You know an agent's change worked by recording a baseline on the day of the change and reading the same numbers 28 days later against the 28 days before. The answer is one line: won, flat or lost. A change without a baseline can't be judged.
Are the AI SEO skills free?
Yes. ai-seo-skills is free and MIT-licensed on GitHub. Five of the six skills need no account and no API key; the sixth connects a paid service for the data and tools.
How do you give your agent the data and the tools?
The method is free: npx skills add fabio-bergmann/ai-seo-skills. For the data and the tools, the sixth skill, sightkick, connects your agent to Sightkick: AI answers tracked every day, your Search Console, keyword data, scheduling and publishing, and every change measured against the 28 days before. Give your agent this line:
Set up Sightkick – sightkick.so/setup.mdThen paste the first prompt. Your agent takes it from there.

Written by
Fabio Bergmann · Founder of Sightkick
Fabio works on SEO and GEO: getting brands ranked on Google and recommended by AI. He builds the tools that let your AI agent do that work every day.
Grok Bot
Muse
Hermes