LLMs.txt Builder creates spec-compliant /llms.txt and /llms-full.txt endpoints (similar to robots.txt) that help AI models and large language models (LLMs) understand your website structure and content. The standard endpoint lists all published content with titles and URLs; the full variant adds post excerpts for richer context.
Key Features
- Two Endpoints:
/llms.txt (titles + URLs) and /llms-full.txt (titles + URLs + excerpts)
- Post and Page Support: Automatically includes pages, posts, categories, and tags
- WooCommerce Support: Automatically includes product pages, categories, and tags
- Custom Post Types: Configurable support for any custom post types
- Custom Taxonomies: Includes all public taxonomies and their terms
- Block Editor Support: Native sidebar panel in the block editor; classic meta box fallback for the classic editor
- Admin Settings Page: Easy configuration with live preview through WordPress admin
- Caching System: LLMs.txt content is cached for 24 hours with automatic invalidation on content changes
- WordPress 7.0 Abilities API: Registers llms.txt as a discoverable ability for AI agents (backward-compatible with older WordPress versions)
What is LLMs.txt?
LLMs.txt is a file format designed to help AI models and large language models understand how to interact with your codebase more effectively. It’s similar in concept to robots.txt for web crawlers, but specifically for AI assistants.
The file provides context and instructions to AI models about your project, helping them:
- Understand your project structure and conventions
- Know which files are important vs. generated/ignored
- Follow your coding standards and patterns
- Understand the purpose and architecture of your codebase
- Provide more relevant and contextual assistance
WooCommerce Integration
When WooCommerce is active, the plugin automatically includes:
- Product Pages: All published products
- Product Categories: All product category pages
- Product Tags: All product tag pages
- Shop Page: The main WooCommerce shop page
Custom Post Types and Taxonomies
The plugin automatically detects and allows configuration for:
- All public post types (excluding attachments)
- All public taxonomies
- Custom post types and taxonomies from other plugins
Caching
The LLMs.txt content is cached for 24 hours by default. This improves performance and reduces server load. The cache is automatically cleared when:
- Plugin settings are updated
- A post with cache clearing enabled is updated
- Manual cache clearing is triggered
Requirements
- WordPress 6.0 or higher
- PHP 7.4 or higher
- WooCommerce 3.0 or higher (for WooCommerce features)
Support
For support, feature requests, or bug reports, please contact the developer.
Credits
Developed for the WordPress community to help AI models better understand website content and structure.
License
This plugin is licensed under the GPL v2 or later.