Skill in AI engineering
Agent-readable website
Makes a website usable by the agents inside chat apps: what they open, what blocks them, what to serve.
- Changed 4 Dec 2026
- Sources read 4 Dec 2026
- Version 1
- About 1,350 tokens
- Needed by both models tested, 4 Dec 2026
Say this to your agent
Use https://mysi.dev/agent-readable-website/ to make my site's docs readable by the agents in Claude and ChatGPT. Nothing to install, no key, no settings. An agent that can open web pages opens the page, follows the steps with the figures and code on it and gives you the answer.
When to use
- A site publishes docs, instructions or data that users will hand to Claude or ChatGPT.
- An agent says it cannot open a page, reads the wrong thing, or a site owner wants to recognize or block AI traffic.
- Not for signed-in app differences, connectors, or whether a vendor actually obeys robots.txt.
Steps
- List the pages agents should read and how a user reaches them (pasted address, link on another page, address built from data).
- Content type: serve text files as
text/plain(or HTML or PDF). ChatGPT refused a file served astext/markdownwithX-Content-Type-Options: nosniffand read the same bytes astext/plain. Claude's web fetch reads only text, HTML and PDF; other types fail withunsupported_content_type. - No JavaScript rendering: Claude's web fetch does not run JavaScript, so the full content must be in the served HTML or text.
- Address length: keep every address under 250 characters. Claude's web fetch refuses longer ones with
url_too_long, wherever the address came from. - robots.txt: do not disallow agent pages for
User-agent: *. ChatGPT refused such a page even when the user pasted the address and aChatGPT-Usergroup allowed it; its copy of robots.txt lagged the site by hours. Claude's web fetch also refuses pages robots.txt blocks (url_not_allowed). - Where addresses must appear:
- Claude's web fetch opens only addresses already in the conversation: in a user message, a client-side tool result, or an earlier web search or web fetch result. A link on a page it fetched counts. An address the model built itself, or one only in the system prompt, or only in code execution, MCP connector or tool search results, fails with
url_not_in_prior_context. - ChatGPT opens an address the user's message names. Any other address loads automatically only if an independent public web index already knows it; otherwise the user gets a warning or the agent is told to try another site. A link only inside a fetched page that the index did not know was refused.
- So: never rely on an agent building an address from the user's data; ask the user to paste each address, and make each page stand alone.
- Claude's web fetch opens only addresses already in the conversation: in a user message, a client-side tool result, or an earlier web search or web fetch result. A link on a page it fetched counts. An address the model built itself, or one only in the system prompt, or only in code execution, MCP connector or tool search results, fails with
- Prompt links:
https://claude.ai/new?q=plus the encoded prompt prefills a Claude chat.https://chatgpt.com/?q=sends at once; add&disable_auto_send=1to prefill only. - Robots.txt timing: OpenAI's OAI-SearchBot and Amazon bots take about 24 hours to apply a change, Perplexity bots up to 24 hours; Amazon bots may use a cached robots.txt up to 30 days old and ignore
Crawl-delay. - Agent browsers have no robots.txt token: ChatGPT's cloud browser signs requests with Web Bot Auth (RFC 9421), header
Signature-Agent: "https://chatgpt.com"with quotes, keys athttps://chatgpt.com/.well-known/http-message-signatures-directory. Claude-Agent adds the tokenClaude-Agent(for examplecompatible; Claude-Agent/1.0) to a browser string, IPs athttps://claude.com/.well-known/sailunderclaude-agent; rules for ClaudeBot, Claude-User and Claude-SearchBot do not control it. Google-Agent uses IPs inuser-triggered-agents.json, and Google's user-triggered fetchers generally ignore robots.txt. - Training opt-outs: a robots.txt rule naming ClaudeBot overrides the general "no AI training" signal Anthropic honors since 2026-10-30. Google-Extended has no crawler of its own and does not control grounding in AI Overviews or AI Mode (use the Search Console control).
MistralAI-Trainingis the Mistral name to disallow for training;MistralAI-Userfetches only on a user's request. Applebot follows Googlebot rules when robots.txt names only Googlebot. - Report, page by page: content type, robots.txt result, address length, whether the page works without JavaScript, and how the user will hand over the address.
- For an app, fetcher or crawler not covered here, say so; do not answer from memory.
Mistakes this prevents
- Serving
.mdastext/markdownwithnosniffand assuming ChatGPT reads it. - Allowing
ChatGPT-UserwhileUser-agent: *blocks the path. - Expecting Claude to open an address it built from a template or one only in its system prompt.
- Blocking ClaudeBot and expecting Claude-Agent to stop.
Tell the user
- The ChatGPT behaviour was measured signed out on 2026-10-12; signed-in behaviour may differ.
- Vendors change fetch rules; the facts were read on the date shown on this page.
- When a fetch fails, signed-out ChatGPT sometimes invents the page's content without saying the fetch failed. Asked to quote a line exactly, ChatGPT has dropped clauses, so check any quote against the page itself.
What it reads
Keep it: save https://mysi.dev/agent-readable-website.md as SKILL.md in a folder named agent-readable-website, and it is a skill in agents that have skill folders.
Tested
Tested 4 Dec 2026: claude-haiku-5-5 was right on 0 of 3 questions without this page and 3 of 3 with it; claude-fable-5-2 was right on 1 of 3 questions without this page and 3 of 3 with it.
Changes
- Opened on mysi.4 Dec 2026
Cite as: mysi, Agent-readable website, mysi.dev/agent-readable-website, version 1, changed 2026-12-04. Code MIT.