OpenAI scores 87/100 (Grade B), passing 13 of 23 checks (57%). The documentation is broadly accessible to AI agents but has 9 areas that could be improved to better serve automated tooling.
# Agent Score Fix Report — OpenAI URL: https://platform.openai.com/docs Score: 87/100 (Grade B) I need help improving the AI-readiness of the documentation at https://platform.openai.com/docs. Agent Score found 4 failing checks and 5 warnings. ## Failing Checks (4) - [page-size] Content Start Position: 3 of 10 sampled pages have content starting past 50% (worst 102%) - [url-stability] Redirect Behavior: 3 JavaScript redirect(s) detected across 10 sampled pages - [observability] Markdown Content Parity: 1 of 7 pages have substantive content differences between markdown and HTML (avg 6% missing) - [observability] Cache Header Hygiene: 3 of 11 endpoints have aggressive caching or missing cache headers ## Warnings (5) - [content-discoverability] Llms Txt Exists: llms.txt found but only reachable via cross-host redirect (agents may not follow it) - [markdown-availability] Markdown Url Support: 7/10 sampled pages support .md URLs (70%); inconsistent support - [markdown-availability] Content Negotiation: Content negotiation partially supported: 7 correct type, 0 wrong type, 3 HTML only - [page-size] Page Size Html: 3 of 10 sampled pages convert to 50K–100K chars (max 644K HTML → 77K markdown (92% boilerplate)) - [authentication] Auth Gate Detection: 3 of 10 sampled pages require authentication (7 accessible) ## Fix Instructions For each issue above, please: 1. Analyze the documentation site at https://platform.openai.com/docs 2. Implement the specific fix 3. Verify the fix would cause the check to pass ### Common fixes: - **No llms.txt**: Create /llms.txt following https://llmstxt.org — list all doc pages in markdown format - **No .md URL support**: Configure your docs platform to serve pages at equivalent .md URLs (e.g. /docs/quickstart.md) - **No content negotiation**: Return markdown when request includes Accept: text/markdown header - **Large page size**: Reduce nav boilerplate, inline scripts, and repetitive markup - **No sitemap**: Generate /sitemap.xml listing all documentation URLs - **Auth walls**: Ensure docs pages return 200 without requiring login cookies or tokens - **No Last-Modified header**: Configure your server/CDN to include Last-Modified response headers - **Tab content hidden**: Ensure tabbed content is rendered in the HTML (not JS-only) so agents can read all variants ## Run afdocs Locally for More Detail To get deeper visibility into what's failing, run afdocs against your docs: npx afdocs check https://platform.openai.com/docs --fixes --verbose - **--fixes**: Adds "Fix:" lines to the output for each warn/fail check with actionable remediation steps - **-v, --verbose**: Shows per-page details (specific URLs, character counts, error codes) for checks with issues — useful for per-URL visibility into what's failing
CHECK RESULTS
How your docs scored
markdown-content-parity1 of 7 pages have substantive content differences between markdown and HTML (avg 6% missing)Learn more
llms-txt-coverageNo sitemap found; cannot assess llms.txt coverage without a sitemap as ground truthLearn more
content-negotiationContent negotiation partially supported: 7 correct type, 0 wrong type, 3 HTML onlyLearn more
page-size-html3 of 10 sampled pages convert to 50K–100K chars (max 644K HTML → 77K markdown (92% boilerplate))Learn more
auth-alternative-accessAlternative access detected (public-llms-txt, public-markdown, partial-public-access) for site with 3 auth-gated pagesLearn more
llms-txt-existsllms.txt found but only reachable via cross-host redirect (agents may not follow it)Learn more
llms-txt-validllms.txt follows the proposed structure (H1, blockquote, heading-delimited link sections)Learn more
llms-txt-directive-htmlllms.txt directive found in HTML of all 7 sampled pages, near the top of content; 3 failed to fetchLearn more
llms-txt-directive-mdllms.txt directive found in markdown of all 7 sampled pages, near the top of content; 3 had no markdown versionLearn more