Docs / Level 2 / 18

Serve clean text versions to AI agents

Check 18Level 2 · Technical groundworkMedium impactPrompt only

An agent that asks for markdown wants clean text. Sending HTML wastes tokens and loses structure.

What the scanner checks

Markdown for agents (Accept: text/markdown)

Pass rule

A request with `Accept: text/markdown` gets markdown back, with a `Vary: Accept` header.

How to fix it

Prompt

Serve a markdown version when Accept: text/markdown.

Copy this prompt into your developer tools, a coding assistant, or the assistant your store platform provides. On WordPress and Shopify, BoostLoop can apply some fixes for you:

SiteHow it gets fixed
WordPress (plugin)Auto-fix
Shopify (app)Detect only
Any other sitePrompt only. Plain sites get no auto-fix.

Auto-fix charges 10 karma and is charged once per item. If the fix cannot be applied, the karma is refunded.

After the fix

Re-scan the site. This check should read pass. A partial result means part of the requirement is still missing; open the diagnostics screen to see the evidence the scanner recorded.