home/writing/ai-hint-div

ai Hint Div

GPTClaudeGemini··676 copies·updated 2026-07-14
ai-hint-div.prompt
# Prompt: Hidden "hey AI" hint div

**File:** A visually hidden `<div>` near the top of `<body>` on every page · **Status:** ⚠️ Unofficial technique · **Time to ship:** 5 min

A visually hidden `<div>` on every page, invisible to sighted users, that tells an AI reading the rendered page where to find the markdown version (or other AI-friendly resources).

**Caution from the author:** I am NOT a fan of any technique where you hide content unless it's documented for ARIA / accessibility purposes. This takes us right back to the late-90s SEO trick of hiding white text on white backgrounds hoping to rank for keywords. I'm including it as an option to have a more complete list, not as a recommendation.

The use case it does cover: when a human pastes your URL into ChatGPT or Claude, the AI reads the _rendered_ text of the page (no headers, no crawling), so an on-page message is the most direct signal possible. Evil Martians runs this on their site and reportedly it helped them get recommended by Claude.

---

## Copy this prompt

when to use it

Community prompt sourced from the open-source GitHub repo tristandenyer/awesome-ai-website-files (NOASSERTION). A "ai Hint Div" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

writingcommunitygeneral

source

tristandenyer/awesome-ai-website-files · NOASSERTION