Skip to content

How to audit content with AI agents

Learn how AI agents continuously scan and score your content portfolio, replacing quarterly manual audits with always-on diagnosis and clear next actions.

Three small source cards—a crawler spider, a search-performance chart, and an analytics bar chart—flow through converging arrows into one large, near-white page card with a URL-like line and structured content blocks.How-to

Most content teams can't say how many live URLs their website has, which ones lost traffic this year, or which pairs of pages compete for the same query. Every new brief then gets written without that picture, and older pages decay because nobody has decided what should happen to them.

A content audit with AI agents fixes the inventory problem in seven ordered steps: you join your crawl, Search Console and GA4 data into one row per URL and write a scoring rubric, then prompt an agent to score each URL and cite the data behind every finding, and assign each page one action (keep, refresh, consolidate or remove). A named person approves every change before anything ships in the CMS. The split is human-led strategy, AI-led execution: the agent does the reading and scoring across hundreds of pages, and your team keeps the judgment calls.

What a content audit with AI agents is

A content audit with AI agents is an editorial and SEO review of your own published pages. Following human-led strategy, AI-led execution, language models do the per-URL reading and scoring that a strategist would otherwise do by hand in a spreadsheet, and the output is a verdict for every URL with the evidence that justifies it.

Two other jobs share the name. Auditing AI agents means testing the agents themselves for accuracy or security. A compliance audit checks content against legal or regulatory rules. Both have different owners, and neither tells you which blog post to merge.

Much of what a content audit turns up is ROT content: redundant pages duplicate something else on the website, outdated pages carry facts, products or dates that are no longer true, and trivial pages hold little value for a reader or for the business. The acronym appears in Kristina Halvorson and Melissa Rach's Content Strategy for the Web, and records-management groups such as AIIM use a variant with "obsolete" in place of "outdated."

What you need before you start

Gather access and budget before you write a prompt. A missing export stalls the audit halfway through, usually right when the agent needs the data. You'll need these six things:

  • Crawler export. A Screaming Frog SEO Spider crawl with status codes, canonicals, titles, word count and indexability. The free version crawls up to 500 URLs, and a licence at £199 per year (one to four licences) removes the cap.
  • Search Console and GA4 access. API access or exports for clicks, impressions, queries and engaged sessions per page.
  • CMS API access. Read access for publish dates, authors and templates, plus a separate editor account for whoever applies approved changes.
  • Agent environment. Somewhere for the agent to run. Step 4 covers the options.
  • Token budget. A spending cap per run, set before the first test, because test runs spend tokens too.
  • Named human approver. One person who signs off on every refresh, merge and removal, and who has the authority to say no.

How to audit content with AI agents step by step

The seven steps run in order, and each produces an artifact the next step reads. The end state is one row per URL with criterion scores, an action, the evidence behind it and an approval stamp.

Step 1. Build the content inventory

Join the crawl, Search Console and GA4 exports on a normalized URL so every page sits in one row. These columns cover what the rubric needs:

  • URL, canonical URL, status code, indexability
  • Title, H1, word count, page type, publish and last-updated dates
  • Clicks and impressions for the last 12 months and the prior 12 months
  • Top queries by impressions, with average position
  • Engaged sessions and conversions from GA4
  • Internal inlinks, plus backlinks if your SEO tool exports them
  • Extracted body text, stored as a file or column per URL

Search Console's API returns at most 25,000 rows per request, and the default is 1,000, so page through larger properties with startRow. Google's Analytics help documentation says Search Console keeps the last 16 months of data. That covers a year-over-year comparison, but only if you pull it before the oldest months roll off.

Keep the extracted body text. Step 3 feeds it to the agent directly, which is far more reliable than letting the agent fetch live pages.

Parameter and duplicate URLs are where inventories go wrong. They inflate the page count and split one page's metrics across several rows. Before you join, lowercase the host, strip tracking parameters, settle trailing slashes and fold every variant into the canonical URL your crawler reports. Google treats rel="canonical" as a hint, so check that the canonical you fold into is the one getting impressions. Keep the variants in an aliases column, because the redirect work in Step 6 needs the full list.

Step 2. Define the scoring rubric

Score six criteria, each with a weight and a fail rule the agent can apply from the inventory row and page text alone. These are the starting weights we'd use before the first calibration:

More columns
CriterionWhat the agent checksWeightFail rule
Intent matchDoes the page answer the intent behind its top Search Console queries25Primary intent unanswered, or served by the wrong page type
Value (thin content)Does the page add detail, examples or data the ranking pages lack20Nothing original on the page. Word count alone never fails a page
FreshnessAre dates, prices, product names and screenshots current15Any outdated fact a reader would act on
CannibalizationDo two or more URLs earn impressions for the same query15Another URL splits clicks on the page's top query and neither ranks near the top
Traffic trendYear-over-year clicks from Search Console15Clicks down more than 20% year over year
AI visibilityIs the URL cited for the prompts you track10Not cited on a tracked prompt where a competitor is

The traffic threshold follows Ahrefs' quarterly decay audit, which flags pages that lost more than 20% of traffic year over year. The thin-content rule avoids word counts on purpose. In its November 2022 office hours, Google said word count alone doesn't indicate thin content.

Treat any single fail as a reason for an action, and use the weighted total only to rank pages within an action. Tune the weights after the Step 7 spot-check, not before.

Step 3. Write the agent prompts

Run three short prompts per URL instead of one long one, and require every finding to cite the column value or quoted passage it rests on. A finding with no evidence gets discarded. Here is a chain you can copy:

SYSTEM
You are a content auditor. Use only the data provided below.
Every finding must cite the column name and value, or quote the
passage, that supports it. If the data does not support a finding,
write "insufficient data". Return JSON matching the schema only.

PROMPT 1 – CLASSIFY
Inputs: {inventoryRow}, {pageText}, {topQueries}
State the page's primary search intent and page type. For each of
the three queries with the most impressions, say whether the page
answers it and quote the passage that does.

PROMPT 2 – SCORE
Inputs: Prompt 1 output, {inventoryRow}, {rubric}, {siblingUrls}
Score each rubric criterion 0-100. For each score, give pass or
fail and the evidence.

PROMPT 3 – RECOMMEND
Inputs: Prompt 2 output, {actionRules}
Assign one action: keep, refresh, consolidate or remove. For
consolidate, name the target URL. For remove, state whether a
replacement page exists. Rate confidence high, medium or low.

Ask for structured output so the results load straight back into the inventory:

{
  "url": "https://example.com/blog/post",
  "intent": "informational",
  "scores": [
    {"criterion": "trafficTrend", "score": 30, "pass": false,
     "evidence": "clicksLast12m=410, clicksPrior12m=980"}
  ],
  "action": "refresh",
  "consolidateInto": null,
  "confidence": "medium",
  "needsHuman": true
}

The siblingUrls input carries the other URLs that share the page's top queries. Without it, the agent can't see cannibalization from inside a single row.

Step 4. Choose where the agent runs

Pick the environment by how often you'll repeat the audit. For a one-off audit of a few hundred pages, we'd use a no-code tool or an MCP client. For a quarterly audit that should run unattended with logs and retries, a code framework pays back its setup time. The options compare like this:

More columns
EnvironmentSetupScaleCost model
No-code (n8n, Zapier, Make, Gumloop)Visual builder with Sheets, Search Console and LLM connectorsHundreds of URLs, one run per URLSubscription plus usage. n8n counts a whole workflow run as one execution, Zapier bills every step as a task, and Make bills each module action as a credit
Claude or ChatGPT file uploadUpload the inventory CSV and rubric to a chatSmall batches, with no per-URL run logChat plan. Long conversations resend earlier messages, so token use climbs with every turn
LangChain and LangGraphPython or JavaScript code. LangGraph is MIT-licensedThousands of URLs with retriesFree library. LangSmith tracing has a free Developer plan and paid seats
CrewAIPython 3.10 to 3.13, role-based agentsLarge batchesOpen-source framework. The hosted plan has a free Basic tier and custom Enterprise pricing
Microsoft AutoGenAutoGen is in maintenance mode. Microsoft Agent Framework is its successorUse Agent Framework for new buildsOpen source
Output.aiTypeScript, Node.js, Docker and an Anthropic API keyDurable runs with retries and replay on TemporalFree, Apache 2.0
MCP clients (Claude Code, Cursor)Connect MCP servers for Search Console, GA4, your crawler and CMSInteractive analysis and small batchesModel plan or API usage

The per-step billing difference matters more than the headline price. A three-prompt chain across 500 URLs is 500 runs in n8n but several thousand tasks in Zapier. Prices change often, so check each pricing page before you budget.

Step 5. Connect your data and set permissions

Give the agent read access to everything in the inventory and write access to nothing. Approved changes get applied by a person or by a separate, narrowly scoped step after Step 7.

OWASP lists excessive agency as a top risk for LLM applications. It traces the risk to excessive functionality, permissions and autonomy, and recommends the fewest possible tools, the minimum privileges and human approval for high-impact actions. Applied to an audit, each connection looks like this:

  • GA4. Google's official GA4 MCP server needs credentials with the read-only Analytics scope, and its write tools stay off unless you pass --allow-write.
  • Search Console. Search Console MCP servers are community-built. Use one that requests only the webmasters.readonly scope.
  • Screaming Frog. Run crawls and exports in a workspace the agent can't use to touch your CMS.
  • CMS. Webflow's MCP server respects the connecting user's role, Contentful's remote server lets admins allow-list tool categories per environment, and the WordPress MCP Adapter keeps each ability's capability checks. Create a dedicated audit user with the lowest role that can read content.

The pages you audit are untrusted input. Comments, embeds and old guest posts can carry text that reads like instructions to a model, which is why the agent reading them should never hold write access at the same time.

Two more checks belong here. Read your model provider's data-retention terms before sending unpublished drafts or customer data. And if a vendor runs the agent for you, ask for its SOC 2 report and audit logs, and ask whether usage alerts are on by default.

Step 6. Score every URL and assign an action

Run the prompt chain over every row, then apply one action per URL using fixed rules. The agent proposes the action, and the redirect map and removal list come out as files for a person to apply.

  • Keep. The page passes every fail rule and traffic is stable or growing. Leave it alone, since Google's core update guidance warns against changing content that already performs well.
  • Refresh. Intent still matches, but traffic dropped more than 20% year over year, facts are outdated or the page is thin. The URL and its history stay.
  • Consolidate. Two or more URLs split the same query. Merge the best material into the stronger page (more clicks, more backlinks, closer intent), 301-redirect the weaker URL and its aliases, update internal links and drop the old URL from the sitemap.
  • Remove. The page has no traffic, no backlinks and no business purpose, and a rewrite wouldn't save it. Google calls deleting content a last resort. If a close replacement exists, 301 to it. If not, return a 404 or 410.

Use the ROT categories to choose an action. Your team should usually consolidate redundant pages, refresh outdated pages unless the topic is no longer relevant, and review trivial pages for removal. Redirect straight to the final destination rather than chaining hops, and make the change in your CMS or server config, where your existing review rules already apply.

Step 7. Review findings before anything ships

Every proposed action waits in a queue with the status "proposed" until the named approver marks it approved. That gate is the control OWASP recommends for high-impact actions, and in an audit, consolidations and removals are the high-impact ones. The review should include these parts:

  • Action log. Record who approved each action, when, and which model and prompt version produced it.
  • Source traceability. Every finding points to a column value or a quoted passage the approver can check in one click.
  • Spot-check sample. Review every remove and consolidate, plus a random 10% of keeps and refreshes. If the approver overturns more than one verdict in ten, fix the rubric or prompt and rerun before approving the rest.
  • Escalation. Low-confidence verdicts, pages with conversions, and legal or pricing pages go to the content lead.

The approver checks business uses the inventory doesn't capture, such as whether sales sends a low-traffic page to every enterprise prospect.

Worked example of a 500-page website audit

Screaming Frog's free version crawls up to 500 URLs. For this example, assume the crawl stays within that limit and costs nothing. Model cost depends on tokens per URL. The following calculations are planning estimates, not measured audit results:

  • Assume about 3,000 input tokens per URL (extracted text, the inventory row and the rubric) and about 500 output tokens of JSON. One pass then uses 1.5 million input tokens and 250,000 output tokens.
  • Anthropic's Batch API rates list Claude Sonnet 5.5 at $1 per million input tokens and $5 per million output tokens. Under these assumptions, one pass costs about $2.75.
  • Claude Haiku 5.5 batch pricing for prompts up to 100K tokens is $0.05 input and $0.25 output per million. Under the same assumptions, one pass costs about $0.14.
  • The same pricing page notes that Claude 4.7 and later models use a tokenizer that produces roughly 30% more tokens for the same text. If your estimate used the older tokenizer, allow about $3.60 per Sonnet pass, or roughly $11 for three passes for consistency (see troubleshooting). Don't add that allowance if you've already counted tokens with the model's tokenizer.

A sensible split runs Prompt 1 on Haiku and Prompts 2 and 3 on Sonnet. A Search Engine Land walkthrough priced one URL at $0.06 through Screaming Frog and ChatGPT, or as low as $0.03 with bulk credits. Applying those per-URL figures to 500 URLs gives a separate estimate of $15 to $30.

Budget time for your team to join exports, write the rubric and review every consolidation and removal. Review time depends on how many pages the agent flags.

Use the Step 7 spot-check to measure how often the approver overturns a verdict. Log overturned verdicts by action type to calculate the overturn rate for the pages reviewed in your first run.

Add AI visibility to what the audit measures

AI visibility belongs in the rubric because a page can hold its search rankings and still be absent from the answers buyers read. A mention is your brand named in the answer text, and a citation is your URL used as a source for the answer. Your brand can be mentioned without a citation, and your URL can be cited without a brand mention, so track both.

For each URL, list the prompts it should answer and run them in ChatGPT, Claude, Perplexity and Google AI Overviews. Record whether the URL is cited, whether the brand is mentioned and which competitor URLs are cited instead. Answers change between runs of the same prompt, so report a rate (cited in four of five runs) instead of a yes or no from a single run.

Semrush's AI Visibility Toolkit, Ahrefs Brand Radar and Peec AI all report cited pages at the URL level. Peec and Ahrefs also separate pages an engine retrieved from pages it cited.

Troubleshooting agent audit problems

Most failures trace back to the agent working from data it doesn't have, or to permissions it shouldn't hold. These are the common ones:

  • Hallucinated findings. Agents sometimes report on pages they never read. In one Search Engine Land test, Claude relied on search snippets instead of the article it was auditing and admitted it only when asked, and the chatbots tested retrieved only a minority of the URLs provided. Feed the extracted text from your crawl, reject findings with an empty evidence field, and string-match every quoted passage against the page text.
  • Context window limits. Current models accept large prompts, but one URL per call plus its siblings keeps the agent focused and keeps cost predictable. Haiku 5.5 pricing also rises once a prompt passes 100K tokens, so summarize very long pages with a first, cheaper call.
  • Inconsistent scores across runs. LLM judges are less stable than they look. In the MT-Bench study, judges often changed their verdict when the order of two answers was swapped, and few-shot examples improved consistency for all three judge models tested. Add pass and fail examples to the rubric, pin the model and prompt version, run three passes and take the majority action. Send any URL where the passes disagree to the approver.
  • Over-permissioned agents. The clearest sign is an agent proposing to publish, edit or redirect on its own. Revoke write access and split the work into a read-only scoring agent and a separate apply step that runs only on approved rows.
  • Token overruns. Test the chain on 20 URLs, measure the actual tokens, then set a hard cap for the full run. Use batch processing for the full pass and cache the system prompt and rubric, which repeat on every call.

How GrowthX keeps the audit running

One audit is manageable by hand, but running it every quarter is where teams stall, because the inventory, rubric and evidence sit in separate tools and go stale between runs. In GrowthX, Portfolio keeps every URL in one scored inventory with a Health score and a performance band from Freefall to Surging, Opportunities ranks rewrites that keep a page's URL and history, and agents connected over MCP get read-only access by default, with write access as a per-person opt-in where it's enabled for your workspace, while removals and redirects still happen in your CMS. The model is human-led strategy, AI-led execution; if your team keeps rebuilding the brief across disconnected tools, explore GrowthX: shared company context, portfolio priorities, and production in one place, with your team making the calls.