Codex SEO: llms.txt, Schema and robots.txt with OpenAI Codex
OpenAI Codex is an AI agent for the terminal: it reads your project and makes targeted edits. Run it with the prompt below and it adds the files and markup. You review every change yourself.
Install: npm install -g @openai/codex. You need an OpenAI account to sign in; see the Codex documentation for sign-in options.
- Organization Schema — AI can read what your business does
- FAQ Schema — the questions and answers on your page, in a form AI can read
- robots.txt — allow GPTBot, ClaudeBot, PerplexityBot
- Specifics and freshness — prices, facts and update dates on the page itself; markup does not replace them
- llms.txt — a short summary of the site for AI agents; no proven effect on AI answers
Generate your fix files first
- Go to causabi.com
- Enter your site URL and run the check
- After you get the files pack, 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. By default it asks for your approval before making changes.
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 check. An AI score of 70 or more is Good
- Validate Schema: validator.schema.org
Check your own site right here
Enter your domain — we’ll show your AI score and the biggest thing keeping ChatGPT and other AI engines from reading your site.
Updated:
Check your site and preview the files for free
The check and a preview of the files are free. The files pack is $19 once per site (included in paid plans): Schema.org, FAQ Schema, llms.txt, and robots.txt tailored to your specific site, ready for Codex to apply.
Check my site