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 SchemaAI correctly identifies your business
  • FAQ Schema+41% citation rate in AI responses
  • robots.txtallow GPTBot, ClaudeBot, PerplexityBot
  • Specifics and freshnessexplicit prices, facts and update dates are what AI actually cites
  • llms.txta short summary for AI agents; little to no effect on citations
0

Generate your GEO assets first

  1. Go to causabi.com
  2. Enter your site URL and run the audit
  3. 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.tsx inside <head>
  • Next.js Pages: add to pages/_document.tsx
  • Vite/React: add to index.html <head>
  • Astro: add to your base layout .astro file
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

  1. Deploy your changes (push to Vercel, Netlify, etc.)
  2. Check your-site.com/robots.txt and your-site.com/llms.txt in browser
  3. Go to causabi.com → run a new audit — score should reach 70+
  4. 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
Cursor and llms.txt — Docs, llms-full.txt and Site SEO