Rightshold™ Sign up
Rightshold is live — the trust layer for AI agents.Launched November 23, 2026.Evidence Delivery$99 / 30 days · Offers are open — review the exact terms and the payment options shown on the service page before accepting.No token, everany ‘Rightshold token’ is not ours

Answers · AI crawlers

I keep seeing robots.txt examples with lines like Content-Usage: train-ai=n from the IETF AI Preferences (aipref) drafts, and separately a User-agent: __usage_ai-training group that Google and Anthropic say they will honor. How do I write a Content-Usage rule correctly, what do train-ai, ai-use and search mean, and does any AI crawler actually read Content-Usage yet?

Last updated

TL;DR: Content-Usage comes from the IETF aipref working group's draft-ietf-aipref-attach (latest submitted version -05, August 2026; editor's copy dated November 19, 2026). It adds one line to a robots.txt group: Content-Usage:, an optional path, then a preference such as train-ai=n. The labels come from the companion vocabulary draft: train-ai (using content to change a generative AI model's learned parameters), ai-use (feeding content into a generative AI model when the user didn't provide it directly) and search (finding pages and sending people to them with a link, which doesn't cover generating summaries). Each takes y or n. Anything else, a misspelling or an uppercase key counts as unknown, not as no. The rule only covers paths a crawler may fetch. A disallowed path has no usage preference at all, so Disallow and Content-Usage do different jobs. A crawler that matches a named User-agent group ignores the * group, so repeat the line in every group. Neither draft is a standard yet. The vocabulary draft says its text doesn't reflect working group consensus. __usage_ai-training is a separate idea: a User-agent group name, from a different individual draft, that you Disallow. Google's Google-Extended page (November 24, 2026) says Google intends to support it in early 2027, and Anthropic says that since October 30, 2026 it has begun recognizing a no-AI-training signal based on aipref work, with rules naming ClaudeBot taking priority. Neither page mentions Content-Usage. Writing both costs nothing, but keep Disallow and the named bot groups for anything you must stop today.

What should I check, step by step?

1. Keep Allow and Disallow for what crawlers may fetch. Content-Usage only states how fetched content may be used, and says nothing about paths that are disallowed.

  1. Write one preference per label in lowercase: train-ai=n, ai-use=n or search=y, separated by commas, for example Content-Usage: train-ai=n, search=y.
  2. Use only y or n. A quoted value, a word like no, a key with capitals or a typo makes that preference unknown, not a refusal.
  3. Don't repeat a key on one line: the last value wins, and a malformed duplicate can turn the result unknown.
  4. Add a path when one folder differs, such as Content-Usage: /blog/ train-ai=y. The longest matching path applies, as with Allow and Disallow.
  5. Put the line in every User-agent group, not just *. A crawler that matches its own group never reads the * group.
  6. If you also want the signal Google and Anthropic have named, add a User-agent: __usage_ai-training group with Disallow: /, and keep ClaudeBot, GPTBot and other named groups in sync with it.
  7. Expect a delay: crawlers may cache robots.txt for up to 24 hours, and a change only applies to pages fetched again after the new file was read. Keep dated copies of each robots.txt you publish.

Where does the Content-Usage robots.txt rule come from, and how official is it?

The rule is defined in draft-ietf-aipref-attach, Associating AI Usage Preferences with Content in HTTP, a working group draft of the IETF AI Preferences (aipref) group with editors from Google and Mozilla. The IETF Datatracker lists -05 from August 2026 as the latest submitted version. The working group's editor's copy is dated November 19, 2026 and expires May 23, 2027. It is aimed at the Standards Track and would update RFC 9309, the robots.txt standard, if approved.

What do the aipref labels train-ai, ai-use and search mean?

train-ai is AI Training: using an asset to modify the learned parameters of a generative AI model. Training models used only for non-generative tasks isn't included, even if the model could generate. ai-use is AI Use: using an asset as input to a generative AI model where the asset is not directly provided by the user, which excludes anything already counted as training. The draft notes an open question about whether a user pasting a URL counts as directly providing it.

How do you write Content-Usage lines in robots.txt?

Inside a group, write Content-Usage:, optionally a path starting with /, a space, then the preference, for example Content-Usage: train-ai=n or Content-Usage: /blog/ train-ai=y, search=y. The longest matching path wins, using the same matching as Allow and Disallow, and line order doesn't matter. A # starts a comment. Two rules with the same path and conflicting preferences both apply and the more restrictive one wins, which is the opposite of Allow and Disallow, where a tie allows the fetch.

How is Content-Usage different from the __usage_ai-training group Google and Anthropic named?

__usage_ai-training isn't a Content-Usage line. It is a name you put on a User-agent line, with Disallow: / to say no AI training, and it comes from a separate individual draft rather than the attach draft. Google's Google-Extended page, last updated November 24, 2026, says Google intends to support the shared machine-readable training preference signal (with user-agent: __usage_ai-training) in early 2027.

How do I ask Rightshold about this (free, no key)?

Add the MCP server https://www.rightshold.com/mcp to Claude, Cursor, ChatGPT, Grok or VS Code, then ask: “We published a new robots.txt today with Content-Usage: train-ai=n, search=y in every group and a User-agent: __usage_ai-training group with Disallow: /. Record it with a hash of the exact file, so we can show later what our robots.txt said from today.”

One-click setup

{
  "tool": "record_action",
  "arguments": {
    "action_type": "site.robots_txt_published",
    "outcome": "success",
    "occurred_at": "2026-11-28T17:00:00Z",
    "client_event_id": "robots-txt:www:2026-11-28",
    "summary": "robots.txt for www site: Content-Usage train-ai=n, search=y added to *, GPTBot, ClaudeBot, Google-Extended and Applebot-Extended groups; new __usage_ai-training group Disallow /; /blog/ train-ai=y; Disallow rules unchanged",
    "action_sha256": "<sha256 of the published robots.txt>"
  }
}

Rightshold isn't affiliated with the IETF, Google or Anthropic. Draft content is as stated in draft-ietf-aipref-attach (Datatracker -05; editor's copy November 19, 2026) and draft-ietf-aipref-vocab (Datatracker -08; editor's copy November 19, 2026), read November 28, 2026. Both are Internet-Drafts, not standards, and can change or be abandoned. Company commitments are as stated on Google's Google-Extended page (November 24, 2026) and Anthropic's crawler help article, read November 28, 2026. Not legal advice.

What are the sources?

Related

Not legal advice. JSON · Markdown · All answers

Get a free API key in one call

No card and no email needed. 100 free credits; the license and policy checks stay free without a key.

curl -s -X POST https://www.rightshold.com/v1/accounts/signup -H "Content-Type: application/json" -d '{"accept_terms":true}'
export RIGHTSHOLD_API_KEY=rs_...   # the api_key from the reply (shown once)
curl -s https://www.rightshold.com/v1/licenses/check -H "Authorization: Bearer $RIGHTSHOLD_API_KEY" \
  -H "Content-Type: application/json" -d '{"license":"MIT","intended_use":{"commercial_use":true}}'