SEO & Content

Bot Traffic in Cloudflare Web Analytics: Readers vs Bots

Reads the numbers from Cloudflare Web Analytics and zone analytics (GraphQL or the dashboard) and says how many of them are real readers or real server errors, answered as JSON with the computed figures and a short reason. Knows what pollutes the table - the owner's own headless-browser checks, link-preview fetches from the social network that show up as referrals, the site's own Worker and its cache calls counted as visitors or as 5xx errors, the regional cache host of OpenNext, staging sharing a token - and what makes a true zero - the EU exclusion setting, a content security policy that allows the script but not the measurement request, sampling of data older than seven days. Use when asked how much traffic a site really has, whether a spike or an error count is real, why Web Analytics shows zero, or how to query per-address detail on the Free plan.

Bot Traffic in Cloudflare Web Analytics: Readers vs Bots is a SKILL.md that reads the numbers from Cloudflare Web Analytics and zone analytics (GraphQL or the dashboard) and says how many of them are real readers or real server errors, answered as JSON with the computed figures and a short reason; an agent buys it once for $0.07 over x402.

Tested 2026-10-08No code, no hidden instructionsv1.0.1 · 7.0 KB · perpetual license

Not for

Reading your dashboard or account: it sees only the rows you paste. Not for ranking advice or content planning, and not for other analytics products, whose bot rules differ. It computes the figure from the table; a person still opens the settings it points to, such as the exclusion choice or the content security header.

Tested, honestly

Tested 2026-10-08 with a strong and a weak model.

With and without the skill

Results with and without the skill, for Sonnet and Haiku
SonnetHaiku
withwithoutwithwithout
Right figure or setting reading (21 situations)21/2114/2120/2111/21

The same request on both sides, JSON-only asked for in both. Read by hand, Sonnet without the skill made seven real errors: it counted the social-network link previews as readers (139 instead of 70), gave no sampling answer for data older than 7 days (null), counted 84 readers under the EU exclusion setting instead of 0, thought a separate API token is needed, threw away 33 real Bulgarian readers who came from the social network (249 instead of 282), and twice called small fresh counts not exact. The other 14 situations it solved, including the cache host, the Worker rows and both policy cases.

Same cases and the same checks with and without the skill. The cases are ours, written around what the skill is for; with a handful of cases, a difference of one or two is within noise.

SonnetStrong model, claude-sonnet-5-5
Right in all 21 situations, read by hand: headless checks and one-view link previews at publishing hours were removed (70 readers of 203), real Bulgarian readers from the social network were kept (282 and 54), the cache host answering 504 was not counted as errors (4 real ones; 18 where they were real), the site's own Worker and its Cache API rows were taken out of the outside requests (1995), staging was left out (211), the EU exclusion setting gave zero readers and an incomplete Bulgarian dashboard, both policy cases named the missing directive, data older than 7 days was called sampled (one beacon behind a figure of 10) and newer data exact, six days needed six queries, and no separate token was asked for.
HaikuWeak model, claude-haiku-5-5
20 of 21, with the same figures as Sonnet in every other situation, but it missed one: the small control: for 12 clean page views it wrote that the figure is not exact because the beacon misses visitors who block scripts, and so answered exact false where the sampling rule makes last-week data exact.

Full test summary

Example

Our own test text, before and after the skill ran. Excerpts only.

English · claude-sonnet-5-5

Before

Cloudflare Web Analytics for news.example, last 7 days, 203 page views in total. The owner runs a headless-browser check of every new article from a cloud server. browser | country | referrer | views | visits | note ChromeHeadless | US | none | 64 | 64 | the owner's check Chrome | BG | google.com | 41 | 29 | spread over all days Safari | BG | none | 17 | 11 | spread over all days…

After

{"readers": 70, "why": "Removed 64 ChromeHeadless views (the owner's own checks) and 69 Facebook link-preview fetches (US 38, SE 22, IE 9: one view per visit, all within publishing hours). Kept 41 Google, 17 direct Safari and 12 BG m.facebook.com views, the last being real readers with 2 to 3 views per visit spread over days. 64 + 69 + 70 = 203."}

What is in the file

  • The answer
  • Rows that are not readers (remove them, then add up what is left)
  • A zero or a round number that is not what it looks like
  • Per-address detail with GraphQL on the Free plan
  • Work in this order

Languages

Any language. Tried in: English.

License

Perpetual, non-exclusive; use and modify for yourself incl. paid work; no resale or republishing. Holder: Georgi Kalchev, aiskills402.com. Full terms.

Versions

Current version 1.0.1, updated 2026-11-12. Whoever bought an earlier version gets new ones free through the same re-download token.

  1. v1.0.1 · 2026-10-08

    The skill text is unchanged. The test summary now states Haiku's one miss with the skill as a caveat (it called a small fresh count not exact), instead of reading as clean.

  2. v1.0.0 · 2026-10-08

    First release: turns Cloudflare Web Analytics and zone analytics rows into computed figures as JSON. Removes headless-browser checks, link-preview fetches from the social network, staging hosts, the site's own Worker and its cache calls, and the regional cache host of OpenNext before counting readers or 5xx errors; keeps real readers who share a referrer with the previews. Explains a true zero (EU exclusion setting, a policy that lacks the measurement origin or the script origin), sampling of data older than 7 days, and how to read per-address detail with one-day GraphQL queries on the Free plan.

FAQ

What does it return?

One JSON object with the keys your question names: a computed number such as the readers left after machines are removed, a true or false for a setting or a header, and a short reason that names which rows were removed and which were kept, so a person can audit the sum.

Which rows does it treat as not readers?

Headless browsers, link-preview fetches that arrive at publishing hours with one view per visit, staging hosts that share a token, the site's own Worker and its cache calls, crawlers in zone figures, and the regional cache host of OpenNext. A visitor who shares the same referrer but reads several pages over days stays in, because discarding real readers is also a mistake.

Where does a plain reading go wrong?

The table looks like traffic, and the obvious sum is quick. Three facts cut against it: a cache host that answers 504 on a perfectly healthy site, a Worker that appears in its own zone figures, and an exclusion setting that quietly removes every Bulgarian reader. We measured these on our own sites; the notes give the dates, so a changed Cloudflare screen may call for a new look. Typical examples include sampled older figures, a blocked measurement request and a staging copy counted beside production.

Does it help Claude Sonnet?

Yes, on facts it cannot guess. Across 21 situations Sonnet gave the right figure 14 times without the skill and 21 with it; Haiku went from 11 to 20. The misses without it were real: link previews counted as readers, 84 readers under the EU exclusion instead of none, small fresh counts called inexact, and real Bulgarian readers thrown away.

Read more

Share

Read this page as Markdown: /skills/traffic-reality-check.md.

  • Search Console Errors: What to Do About Each Status

    SEO & Content

    SKILL.md · v1.0.0 · 8.0 KB

    Takes one situation from Google Search Console - a report row, a status, a URL with the way it answers, or a button the site owner is about to press - and returns the single right next action as JSON with a fixed action code, a reason and steps. Knows the cases where the obvious click is wrong - a URL that redirects gets Validate fix and never Request indexing, which creates a Redirect error; a Domain property needs the full sitemap address; Couldn't fetch right after submitting is proven with a live test; a red robots.txt row for a host that answers 404 needs nothing; a missing max-image-preview setting keeps pages out of Discover; Disallow does not remove a page from Google; a redirect added over a cached 404 needs the cache purged. Use when asked what to do about a Search Console report, error or warning, whether to request indexing, validate a fix or resubmit a sitemap, or why a page is not indexed.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 8 Oct 2026

  • Unexpected Cloud Bill Spike: Find the Cause

    Code & Engineering

    SKILL.md · v1.0.0 · 15.9 KB

    Finds the loops behind a bill spike or an unexpected bill. Reviews a web app's code and config for loops and repeats that run up the bill on their own on Vercel, Turso, Cloudflare Workers and D1 and paid AI APIs. Finds two schedulers on one job, retries without a cap, work that triggers itself, client polling and React render loops, caches cleared on every write, middleware running on every static file, queues that resend failures forever, image settings that multiply transformations, health checks that count whole tables, alerts sent on every run and bots crawling endless filter URLs. Counts the runs per month, names the billed unit, ranks by cost and gives the change that stops each one. Use when asked why a Vercel, Turso or Cloudflare bill jumped, to find an infinite loop or a runaway cost, or to review a cron job, webhook, queue consumer, middleware or polling code before it ships.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 4 Oct 2026

  • Cloudflare Workers Review: D1, OpenNext, Fetch

    Code & Engineering

    SKILL.md · v1.2.0 · 9.8 KB

    Reviews pasted Cloudflare Workers code and configuration (a Worker, a Next.js app on OpenNext, D1 queries, wrangler config) for platform pitfalls that pass every local test and then fail in production or quietly cost money. It flags the edge runtime under OpenNext, a fetch to your own Worker's workers.dev address (error 1042), D1 queries that bind more than 100 parameters as data grows, LIKE patterns over D1's 50-byte limit, reading rowsAffected where D1 returns meta.changes, interactive transactions D1 does not have, secrets kept in plain vars, outbound fetch code that treats only a thrown error as failure, a browser User-Agent that bot protection challenges, client hop-by-hop headers forwarded to fetch, cron triggers whose day of the week is written as numbers, and unbounded queries on the request path. Each finding has a fixed code, the place, the reason and a fix, then one verdict. Use to review a Cloudflare Worker before deploy, check D1 or wrangler code, or audit a Next.js app running on Cloudflare.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 8 Oct 2026

More in SEO & Content

  • Pages Not Indexed by Google on Cloudflare (Next.js/OpenNext)

    SEO & Content

    SKILL.md · v1.0.0 · 23.6 KB

    Reads what the owner of a site on Cloudflare Workers (usually Next.js through OpenNext) pasted - Search Console numbers, an audit of status codes, open-next.config.ts, wrangler.jsonc, data-fetch code, robots, sitemap and metadata code, wrangler tail lines, the owner's plan - and finds what stops Google from crawling, indexing or showing the pages, in a fixed diagnosis order. Group 1, the crawler gets errors - the site's own API rate-limiting its own renders, a 5xx or 429 burst whose cause is not pasted. Group 2, the site tells Google the wrong thing, renders cold or never refreshes - ISR without a queue, a queue without its self reference, dynamic routes that never become ISR, a cold cache after every deploy, thin twin pages, pages linked from nowhere, noindex behind a Disallow, www blocked, titles pushed out by a suffix, an untrue lastmod, a redirect over a cached 404, no max-image-preview, a short sitemap address. Group 3, the reading or the plan is at the wrong stage - site:, ranking treated as discovery, an example list taken as the size, young pages, an audit taken during errors, a check without a cache-buster. Each finding has a fixed code, the evidence, a fix and a check that can fail, then one verdict. Use when asked about pages not indexed by Google, why Crawled - currently not indexed or Discovered - currently not indexed will not clear, OpenNext ISR not working with pages that carry no cache headers, or whether a plan will help.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 18 Oct 2026

  • Recommended

    Link Preview and Favicon Fix

    SEO & Content

    SKILL.md · v1.0.4 · 15.4 KB

    Finds why a shared link shows no preview card, the page builder's stock image, a broken relative image path or a blank tab icon, and gives the fix for the person's framework. Reads the report line, the stack, the served head and the file that writes it. It tells apart og:title and og:image missing from the served HTML, an og:image on the page builder's own host, an og:image that is a path instead of a full https address, tags that exist only in JavaScript (a head library or a client component) so link scrapers never see them, and a missing favicon link. The fix makes the image file really exist, and the Verify line fetches it. It leaves out safe look-alikes such as an image on the site's own subdomain, an SVG-only icon, absent twitter tags and tags set by a server-side metadata export. One line per finding, then the exact tags, or exactly No findings. Use when a site check reports no og tags, a builder-default preview image, a relative og:image or a missing favicon.

    $0.05once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 12 Nov 2026

  • Soft 404 Fix

    SEO & Content

    SKILL.md · v1.1.4 · 16.5 KB

    Finds which layer makes a page that does not exist answer 200 OK, the soft 404 that Search Console flags, and gives a fix that keeps every real route working. It also handles robots.txt, sitemap.xml and llms.txt served as the page itself. Reads the report line, the config or code that serves unknown paths - a catch-all rewrite to index.html (Netlify, Vercel, Firebase, Cloudflare), an nginx fallback, an app route that sends the page shell, an error page turned into a redirect or a new status, a Next.js notFound after streaming has begun, a text file the build does not copy. One line per finding with a fixed code, file, reason and fix, then one Verify line - or exactly No findings. when unknown paths answer 404. It leaves out safe look-alikes such as an API proxy rewrite, a specific 301 and an error page that keeps its 404. Use when a site check or Search Console reports a soft 404, when a random URL answers 200, when robots.txt, sitemap.xml or llms.txt comes back as HTML, or before shipping a single-page app.

    $0.01once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 12 Nov 2026

  • Bing and IndexNow Submitter Review

    SEO & Content

    SKILL.md · v1.0.2 · 9.2 KB

    Reviews code and answers questions about sending page addresses to search engines through IndexNow and the Bing Webmaster URL submission API, and catches the mistakes that make a submitter report success that never happened. It flags a Bing call judged only by its HTTP status when the refusal sits inside the body, a retired XML or SOAP endpoint, a fallback chain that retries after a refusal that is ours, a quota read as one number instead of two, an unread quota printed as zero, a report that does not say which engine accepted, a 200 or 202 read as proof of indexing, a key file that cannot validate, and batches over the limits. For a question it answers in the JSON shape asked. Use to review a URL submission function, work out how many addresses may be sent, or explain what a submission status code means.

    $0.04once

    • x402
    • USDC
    • Base
    Get skill

    Tested with Sonnet and Haiku, 8 Oct 2026