AI SEO Guides

Running an SEO audit with Claude Code, without letting it loose on your site

"Claude Code for SEO" is one of the busiest SEO topics on YouTube this month. Get the useful part, a prioritised fix list, and keep the agent away from anything it could break.

AI search visibility / Trending on YouTube

On this page
  1. What the videos are showing
  2. The workflow
  3. Prompts worth stealing (rewrite them for your site)
  4. Where it goes wrong
  5. Sources (YouTube trend, seen 30 Nov 2026; views as shown that day)

What the videos are showing

The trending uploads follow a pattern: install an SEO "skill" or plugin into Claude Code (or Codex), point it at a site, and let several agents audit technical SEO, content and on-page issues, ending in a score and a fix plan. One creator's free MIT-licensed plugin, claude-seo, does exactly that. Others pair the agent with paid content tools over MCP. Several of the videos promote tools or communities through affiliate links; this guide uses none.

The workflow

The agent reads, a person changes the site

  1. Read-only inputsCrawl export, sitemap, Search Console export
  2. Write the briefGoal, templates that matter, what not to suggest
  3. Findings with evidenceAI stepURL, element, why it matters
  4. Fix plan by templateAI stepSorted by impact and effort
  5. Human reviewa personChecked against the live page
  6. Fix in a branchThe agent opens a pull request; a person merges
  7. Measure on a scheduleRe-crawl, then Search Console four weeks later
Each step in full
  1. Give it read-only inputs. A crawl export (from any crawler), your sitemap, a Search Console export by page and query, and the HTML of five representative templates. Don't give it CMS credentials, deploy keys or write access to the repo for the audit.
  2. Write the brief. Your site's goal, the templates that matter, what "good" looks like, and what not to suggest (for example, no new pages, no URL changes).
  3. Ask for findings with evidence. Every issue should name the URL, the exact element, why it matters and how sure the agent is. Reject findings without a URL.
  4. Ask for a fix plan sorted by impact and effort, grouped by template, not by page. One template fix can clear hundreds of URLs.
  5. Human review. A person checks every high-impact finding against the live page and Search Console before anything is scheduled. Agents misread rendered pages, confuse canonical and duplicate URLs, and invent "best practices".
  6. Fix in a branch, deploy normally. If you let the agent write the change, it opens a pull request; a person merges it. Nothing goes live from the agent's session.
  7. Measure on a schedule. Re-crawl after deploy, and compare Search Console four weeks later, keeping core update dates in mind.

Prompts worth stealing (rewrite them for your site)

  • "From this crawl, list templates where the title or H1 is missing, duplicated or over 65 characters. Give counts and three example URLs each."
  • "Compare the Search Console export with the sitemap. List indexable URLs with zero impressions in 90 days, grouped by folder."
  • "For these five templates, say whether the main answer appears in the first 150 words. Quote it, or say it is missing."

Where it goes wrong

FailureGuard
Agent "fixes" content at scale and produces near-identical pagesNo bulk content writes. Content changes go through an editor.
Recommends tactics from old SEO folkloreRequire a reason tied to Google's documentation or your own data.
Changes robots.txt, canonicals or redirectsThose files are off-limits to the agent. A person makes these changes.
Scores look precise but mean nothingIgnore the score. Track the fix list and Search Console.

Back to the AI search visibility guide.

Sources (YouTube trend, seen 30 Nov 2026; views as shown that day)