Codex SEO: llms.txt, Schema and robots.txt with OpenAI Codex
OpenAI Codex is a terminal-based AI agent that can read your entire project and make targeted edits. Run it once with the right prompt and it handles all GEO optimization tasks automatically.
Install: npm install -g @openai/codex. Needs an OpenAI API key with Codex access.
- 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
Generate your GEO assets first
- Go to causabi.com
- Enter your site URL and run the audit
- Download the ZIP — it contains Schema.org, FAQ Schema, llms.txt, and robots.txt
- Save them to your project root as reference files (e.g.,
geo-assets/)
Run Codex with a GEO optimization prompt
Open your terminal in the project root and run:
Then paste this task description:
Codex will read your project structure, identify the framework, and make the exact file edits needed. It runs in a sandbox and shows you every change before applying.
Review and apply changes
- Codex will show a diff of all proposed changes
- Verify that Schema scripts appear in the right layout file
- Check that
public/robots.txtandpublic/llms.txtwere created - Accept the changes
Deploy and verify
- Deploy your changes
- Check your-site.com/robots.txt and your-site.com/llms.txt
- 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 for Codex to apply.
Generate GEO assets