Overview
Publish an /llms.txt file — a structured text site-map designed for large language models. LLMs parse this file at inference time to understand your site’s content and architecture.
What LLMs see
llms.txt is a proposed standard for exposing website information to AI agents at inference time. The file, served at /llms.txt, contains your site name, description, architecture overview, and links to key pages with descriptions.

Gregius Optimizer generates /llms.txt automatically from your site’s content. Customize the context section and select which pages populate the Key Documents list.
Technical Prerequisites & Blocks
- Gregius Optimizer plugin installed and activated
- Post types must support
custom-fieldsfor per-post toggles
Customize the global context
The context section sits at the top of /llms.txt — it describes your site to AI agents parsing the file.
- Open any post or page in the Block Editor.
- Locate the LLMs panel in the right sidebar.
- Click Settings to open the configuration modal.
- In the Global Context textarea, edit the text that appears at the top of
/llms.txt. - Click Update to save.
Auto-generated context: When no custom context is set, the plugin composes one from your site title, tagline, homepage summary, and default architecture descriptions.
Include a post in Key Documents
The Key Documents section lists important pages with links and descriptions, surfaced to AI agents at inference time.
- Open a post or page in the Block Editor.
- Open the LLMs modal.
- Toggle Include the current document in site’s llms.txt to on.
- (Optional) Enter a custom Description. When empty, the fallback chain resolves: custom description → excerpt → first 20 words of content.
- The change is saved automatically with the post.
Preview the full llms.txt
- Open the LLMs modal.
- Scroll to the Preview section at the bottom.
- Review the complete
/llms.txtas it would appear to an AI agent. - The preview updates automatically as you edit the context text or toggle posts.
Reset to defaults
- Open the LLMs modal.
- Click Reset to defaults to clear the custom context override.
- Reverts to the auto-generated content. Per-post toggles and descriptions are unaffected.
Permissions
| Action | Required capability |
|---|---|
| View /llms.txt | Public (no authentication) |
| Edit global LLMs context | manage_options |
| Toggle post in Key Documents | edit_post (on that post) |
Next Steps
Gregius Optimizer is fully open-source, transparent, and built for modern development workflows.
Available on WordPress.org: Install the plugin directly from the official in the WordPress Plugin Directory.
View on GitHub: You can review, fork, and inspect the entire codebase and core logic over at the repository on GitHub.
Documentation: Read the setup guides and technical documentation below to get started.
- Sitemap – Control which content appears in your XML sitemap
- Robots.txt – Configure crawl directives for search engines and AI bots
- Schema – Add structured data markup to help search engines understand your content
- Social Card – Control how your content appears when shared on social media and in search results.
- LLMs – Optimize your site for AI agents and large language models with an
/llms.txtfile