SEO audit with Claude Code, every week: catch regressions before Google does
To run an SEO audit with Claude Code every week, give it a fixed list of key pages and checks (status, noindex, canonical, title, structured data, sitemap), connect Google Search Console for clicks and queries, and have it compare each run with last week's report so you only see what changed. Fixes go out after you approve them.
- You get
- A weekly SEO report on your key pages: what broke, which queries dropped, and fixes ranked by impact, ready for your approval.
- Runs
- Every Tuesday at 09:00 in your time zone
- Connects
- Google Search Console, GitHub (optional)
How does this routine work, step by step?
- On schedule, the agent fetches robots.txt, your sitemap and each key page you listed.
- On every page it checks the status code, noindex and canonical tags, title and description, one h1, and that each JSON-LD block parses.
- It pulls last week's clicks and impressions by page and query from Google Search Console and compares them with the week before.
- It compares everything with last week's report and lists only what changed, ranked by how much traffic is at stake.
- You approve the report. If you allowed it, approved fixes go out as a pull request for your review.
What should a weekly SEO audit with Claude Code check?
Keep the weekly run short and repeatable. The checks that catch the expensive bugs:
- Indexability. HTTP status,
noindexin meta or headers,robots.txtrules, canonical pointing at the right URL. - On-page basics. One
h1, a unique title and description, no empty or duplicated ones across your key pages. - Sitemap. It loads, it lists your key pages, and new pages appear in it.
- Structured data. Every
application/ld+jsonblock parses, and its claims match visible text. - Search Console movement. Pages and queries whose clicks dropped week over week.
The alexop.dev write-up of a Claude Code SEO audit is the case for the first item: the audit found the site had "noindex, nofollow meta tags (development setting blocking all search engines!)" and a robots.txt "blocking all crawlers." Both are one-line mistakes a deploy can reintroduce any week.
Why does a weekly diff beat a one-off SEO audit?
The popular route is a deep toolkit. The open-source claude-seo plugin runs "26 sub-skills and 19 specialist agents" and had 18,728 GitHub stars when we checked on 2026-10-12. It is excellent for a quarterly deep audit.
A weekly check has a different job: notice regressions. That needs two things a one-off audit lacks: the same checks every time, and last week's result to compare against. The report then reads "the pricing page gained a noindex tag on Thursday" instead of 40 findings you have already seen.
How do you set it up yourself with Claude Code or Codex?
- List your key pages. Ten to twenty URLs that carry most of your traffic.
- Connect Search Console. The Search Analytics API returns clicks and impressions by page and query, with dates in Pacific Time. Google notes it "does not guarantee to return all data rows but rather top ones," so compare like with like.
- Store last week's report. A routine clones your repository fresh each run, so commit the report back or keep it in a connected store.
- Allow your domain. Claude Code routines run with a default network allowlist; requests to other hosts "fail with 403," so add your site's domain to the environment before the first run.
- Gate the fixes. Let the routine open a pull request with proposed fixes, and keep merging with you.
How do you start it in Kavela in about 10 minutes?
Google Search Console connects to Kavela in one click, and the workspace keeps last week's report between runs. The setup you still do:
- Paste the prompt below into Kav in your Kavela workspace with your site and key pages.
- Connect Google Search Console, and GitHub if you want fix pull requests.
- Read the first report, which is the baseline. Kav then sets the weekly routine.
Every Tuesday at 09:00 <your time zone>, run an SEO check on <your site URL> and tell me what changed since last week.
Key pages: <URL 1>, <URL 2>, <URL 3>, <up to 20>.
Each run: fetch robots.txt and <sitemap URL>. For every key page, check the HTTP status, any noindex (meta tag or header), the canonical URL, the title and meta description, that there is exactly one h1, and that every application/ld+json block parses as JSON.
From Google Search Console for <property>, pull last week's clicks and impressions by page and by query, and compare them with the week before.
Save this run's results in my workspace as seo/<date>.md and compare them with the previous run. Report only what changed, ranked by clicks at stake. Quote the exact tag or value for every finding.
Propose a fix for each problem in one or two lines. Send me the report as an approval. Only after I approve a fix, open a pull request in <GitHub owner/repo> with it. Never merge.
Connect Google Search Console and GitHub when you need them.
Run it once now as the baseline, then set it as a weekly routine.
What goes wrong with automated SEO audits?
- Alarm fatigue. A report with 40 standing issues gets ignored by week three. Diff against last week and list only changes.
- Search Console lag and sampling. Recent days are incomplete. Compare full weeks that both ended at least a few days ago.
- Fixes without review. An agent that "fixes" canonicals site-wide can do more damage than the bug. Pull requests, reviewed by a person.
Watch your competitors' pages with the same snapshot method in competitor analysis with Claude, and pair site changes with release notes from GitHub. For running Claude Code on a schedule in general, see Claude calendar.
Stuck on setup? Ask in the Kavela Discord.
Frequently asked questions
Can Claude Code do a full SEO audit?
It can do the technical and on-page parts well: fetch pages, read tags, parse structured data, read your code and propose fixes. It cannot see backlinks or keyword volumes on its own; those need a data source such as Search Console or a paid SEO tool.
Why run it weekly instead of a one-off audit?
The costly SEO bugs are regressions: a deploy that ships a noindex tag, a canonical that points at staging, a sitemap that stops updating. A one-off audit finds last quarter's problems; a weekly diff finds this week's before rankings move.
Do I need the claude-seo plugin?
No. It is a capable open-source toolkit for deep audits. A weekly regression check needs a short, fixed list of checks on your key pages and last week's report to compare against.
Does it work with Codex?
Yes. The checks are page fetches, tag reads and a Search Console query, which either agent handles. What changes is where it runs on a schedule and where last week's report is kept.
Will it change my site without asking?
Not with the prompt below. It reports and proposes; any code change goes out as a pull request only after you approve the fix list, and merging stays with you.