CUR · Cursor · ~15 min · Easy
Cursor and llms.txt: Docs, llms-full.txt and Site SEO
Cursor is an AI code editor — you can ask it to add GEO optimization assets to any project in a single prompt. Works with Next.js, React, Vite, or any static site.
What we'll add:
- Organization Schema — AI correctly identifies your business
- FAQ Schema — +41% citation rate in AI responses
- robots.txt — allow GPTBot, ClaudeBot, PerplexityBot
- Specifics and freshness — explicit prices, facts and update dates are what AI actually cites
- llms.txt — a short summary for AI agents; little to no effect on citations
0
Generate your GEO assets first
- Go to causabi.com
- Enter your site URL and run the audit
- Download or copy the generated Schema.org, FAQ Schema, llms.txt, and robots.txt
1
Add Schema.org — paste this prompt in Cursor Chat
Open Cursor, press Cmd+L to open Chat, and paste this prompt. Replace the placeholders with your actual content from Causabi.
Cursor Chat Prompt
Add these JSON-LD scripts to the <head> of every page for GEO optimization.
In the root layout (layout.tsx, _document.tsx, or index.html), add:
<script type="application/ld+json">
[PASTE YOUR ORGANIZATION SCHEMA FROM CAUSABI]
</script>
On the homepage only, also add:
<script type="application/ld+json">
[PASTE YOUR FAQ SCHEMA FROM CAUSABI]
</script>
This helps ChatGPT, Perplexity, and other AI search engines correctly identify and cite this site.
Framework notes
- Next.js App Router: add to
app/layout.tsxinside<head> - Next.js Pages: add to
pages/_document.tsx - Vite/React: add to
index.html <head> - Astro: add to your base layout
.astrofile
2
Update robots.txt
Cursor Chat Prompt
Create or update public/robots.txt with this content to allow AI crawlers:
User-agent: *
Allow: /
User-agent: GPTBot
Allow: /
User-agent: ClaudeBot
Allow: /
User-agent: PerplexityBot
Allow: /
User-agent: Google-Extended
Allow: /
User-agent: Bytespider
Allow: /
3
Add llms.txt
Cursor Chat Prompt
Create public/llms.txt with this content. The llms.txt standard helps AI agents quickly see what this site does:
[PASTE YOUR LLMS.TXT CONTENT FROM CAUSABI]
4
Deploy and verify
- Deploy your changes (push to Vercel, Netlify, etc.)
- Check your-site.com/robots.txt and your-site.com/llms.txt in browser
- Go to causabi.com → run a new audit — score should reach 70+
- Validate Schema: validator.schema.org
Check your own site right here
Enter your domain — we'll show your AI Score and the biggest reason ChatGPT and other AI engines can't see you.
Generate your GEO files for free
Causabi creates Schema.org, FAQ Schema, llms.txt, and robots.txt tailored to your specific site — ready to paste into Cursor.
Generate GEO assets