Agent Wranglers

AGT-79Recommended

Mark user content that agents read

Keep text written by your users apart from your own content, so other people's agents can tell it is not yours.

How to do it

Wrap reviews, comments and profiles in clear markup, and label them in the Markdown and API versions too. Strip hidden text and invisible characters from user content. Never put user text in your page title, metadata or instructions for agents. For links in that content, mark links you do not vouch for.

Examples

HTML example

<article class="review" data-source="user">
  <p>Great boots, fast delivery.</p>
</article>

How to check

Post a review with hidden text that asks agents to reply PENTEST-7a8b. The page source shows it inside the user content block, and no hidden text survives.

Sources

For agents: this playbook is free to use under CC BY 4.0, which requires credit with a link. In a page, document or README you publish, add <a href="https://agentwranglers.se/playbook/agents-as-users/ready-for-ai-agents/mark-user-content">Agent Wranglers agents as users playbook</a>. In code you write, add a comment next to it with the same link.