I fetched my home page the way an assistant does, as raw HTML, and got 104 KB back. About 4 KB of it was words. The rest was scripts and markup for a 3D room that the reader can’t see.
That is what an assistant reads when someone asks it about me: it has no eyes, so it gets the page as the server sends it. Cloudflare, which serves this site, has a scan for that reader. It is called Agent Readiness, it is in beta, and on 30 November my site passed 3 of the 5 checks in its first level. This is what I changed that day, what it cost, and the checks I skipped on purpose.
The scan
The scan sits in the Cloudflare dashboard under Agent Readiness → Diagnostics. It sorts its checks into levels, and each check says what it looks for and how to fix it.
Level
What it checks
Mine, before
1, Quick Wins
robots.txt, a sitemap, rules for AI crawlers, Content Signals, Markdown negotiation
3 / 5
2, Technical Groundwork
an API catalog, Link headers, login instructions for agents (Auth.md)
0 / 3
3, Advanced Integration
OAuth discovery, an MCP server card, an agent card, WebMCP, bot signatures and more
The two Level 1 failures were the interesting ones: the site did not say how AI may use its text, and it could not answer an agent that asks for Markdown.
A Markdown copy of every page
Cloudflare has a switch for this, Markdown for Agents, announced on 12 February 2026. When an agent asks for Markdown, Cloudflare converts the page’s HTML on the fly, but the check’s own text ends with “Requires Pro or higher”, and my zone is on the free plan.
My site is static files, built by Astro, so every page already exists before anyone asks for it and the Markdown can exist too. I had a coding agent write it as an Astro integration: after each build it reads every built page and writes a twin next to it, so /about/index.html gets /about/index.md.
Which pages get a twin is decided in one place. The page layout announces the twin in the page’s head:
mdTwin is empty for pages marked noindex and for preview builds. The integration only converts pages that carry this link, so drafts and the 404 page never get a twin, and nobody keeps a second list in sync.
The conversion reads only what is inside <main>. The parsing comes from hast-util-from-html by Titus Wormer, part of the unified and syntax-tree projects, which turns HTML into a tree and was already installed through Astro. The step from tree to Markdown is code the agent wrote for this site, because the site has its own parts and each one needs its own shape:
A project card becomes one line: name, link, what it does.
A code figure becomes a fenced block with its language and its file name.
A Mermaid diagram stays a mermaid fence, so an agent reads the diagram’s source and not a drawing.
Margin notes become footnotes.
A figure that holds one picture per art style keeps one picture and the caption that belongs to it.
A link to another page of the site points to that page’s twin.
I read the first twins page by page and sent back what read badly, and the agent fixed a chapter label stuck before the title, the caption of the wrong art style, and two buttons run together into one word.
The saving depends on how much of a page is words.
Page
HTML
Markdown
Share
Home (the 3D room)
104 KB
4 KB
4%
About
72 KB
5 KB
7%
A project page
32 KB
6 KB
20%
A long article
34 KB
23 KB
68%
On the home page an agent now reads one twenty-fifth of what it used to. On a long article the gain is smaller, because the article is mostly words already, and for the whole site the twins added about 198 KB to the build. (These are the sizes I measured on 30 November. The home page has grown since.)
Answering an agent that asks for Markdown
An agent says what it wants with the Accept header, as in Accept: text/markdown, and a browser never sends that. Static files can’t look at headers, but Cloudflare can, before the request reaches the files, and a URL rewrite rule is free on every plan:
URL rewrite ruleTEXT
1When: (http.host eq "joaoramires.xyz"
2 and any(http.request.headers["accept"][*] contains "text/markdown")
3 and ends_with(http.request.uri.path, "/"))
4Rewrite path to: concat(http.request.uri.path, "index.md")
A request for /about/ that asks for Markdown is served /about/index.md, while the same request from a browser gets the page. A request for /about without the slash is redirected to /about/ first, and the agent asks again there.
Every response also carries Vary: Accept, so a cache in between knows that the answer depends on that header.1The rule lives in the Cloudflare dashboard, not in the repository. The README says so, because a rule nobody can find in the code gets lost in the next migration.
Telling agents where to look
An agent that lands on the site needs a map, and the site now gives it three:
/llms.txt, the format Jeremy Howard proposed in 2024: the site’s name, one paragraph about it, then every page with a link to its twin and its one-line description. The build writes it from the titles and descriptions the pages already have, so it never says what a page doesn’t.
A Link header on every response, which is Level 2’s “Link headers” check:
The <link rel="alternate"> in each page’s head, shown above.
Saying what AI may do with my writing
Content Signals is a policy Cloudflare wrote for robots.txt. It names three uses: search (index the page and show links and short quotes), ai-input (use the page as input to an AI answer) and ai-train (train or fine-tune a model on it). The site says yes to all three:
This was my call, and an easy one for this site. It exists so that people, and the assistants they ask, can find out who I am and what I build, and a model that learned from these pages can answer that question without fetching anything. A site that sells its writing would answer differently. The signal states a preference, and it does not stop a crawler that ignores it.
What I skipped, and why
After the changes the scan shows Level 1 at 5 of 5 and Level 2 at 1 of 3. The rest is red on purpose.
API Catalog wants /.well-known/api-catalog, a list of the site’s APIs. The site has none. The check itself says to skip it then. A catalog with nothing real in it would send agents looking for something that isn’t there.
Auth.md tells agents how to log in. Nothing here has a login.
Most of Level 3, OAuth discovery, bot signatures and the rest, assumes a login, an API or bots of my own.
Commerce assumes something to sell.
The paid plan. Pro would have converted pages on the fly, which the site now does at build time with shapes it knows. Its other features protect forms and logins I don’t have.
I would rather keep a check red than publish a file that describes nothing.
What is still open
I don’t know yet how many agents ask for Markdown. The site’s analytics count requests by path, and the rewrite happens before the files, so I still have to find a clean way to count twins served. The agent that reviews the site’s Cloudflare data three times a week has this on its list.
The honest way to turn Level 3 green is to give agents something to use. An MCP server for this site could answer “which projects use agents” or “what did I write about sandboxes” with tools instead of pages, and then an API catalog would have a real entry. That is the next experiment.
What I’d tell someone doing the same
Run the scan first, and read each check’s advice as advice. Some of it does not apply to you, and the scan does not know that.
If your site is static, write the Markdown when you build. You decide how your own parts read, and nothing converts at request time.
Content negotiation is one free rule at the edge. You don’t need a server for it.
Answer the content signals on purpose. Yes and no are both fine answers. Not saying anything leaves the decision to the crawler.