Gregius Optimizer – LLMs

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-fields for 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.

  1. Open any post or page in the Block Editor.
  2. Locate the LLMs panel in the right sidebar.
  3. Click Settings to open the configuration modal.
  4. In the Global Context textarea, edit the text that appears at the top of /llms.txt.
  5. 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.

  1. Open a post or page in the Block Editor.
  2. Open the LLMs modal.
  3. Toggle Include the current document in site’s llms.txt to on.
  4. (Optional) Enter a custom Description. When empty, the fallback chain resolves: custom description → excerpt → first 20 words of content.
  5. The change is saved automatically with the post.

Preview the full llms.txt

  1. Open the LLMs modal.
  2. Scroll to the Preview section at the bottom.
  3. Review the complete /llms.txt as it would appear to an AI agent.
  4. The preview updates automatically as you edit the context text or toggle posts.

Reset to defaults

  1. Open the LLMs modal.
  2. Click Reset to defaults to clear the custom context override.
  3. Reverts to the auto-generated content. Per-post toggles and descriptions are unaffected.

Permissions

ActionRequired capability
View /llms.txtPublic (no authentication)
Edit global LLMs contextmanage_options
Toggle post in Key Documentsedit_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.txt file