LLMs.txt Generator for Magento 2
Publish a selected Magento catalogue and content guide at /llms.txt, with optional expanded Markdown and JSON output. Choose important pages, product sections and store-specific limits.
- Free
- Themes listed: Hyvä + Luma
composer require mage2kishan/module-llms-txt
- Package requirementsRead the source documentation
- Developer profileView Upwork profile
- Themes listedHyvä + Luma
- PHP versions listed8.2, 8.3, 8.4
- Installation questionsDiscuss your store setup
What it does for your store
The main features, as listed in the module documentation.
-
Store-scoped documents
Build Markdown and JSON using the target store context.
-
Selected catalogue sections
Choose priority URLs, collections, featured products and content limits.
-
Optional expanded output
Add configured policy CMS content to llms-full.txt when enabled.
-
Tagged output cache
Use the module cache and scheduled warming, then verify public responses.
Installation
Example commands from the Magento root. Follow the package instructions and your staging and deployment process.
- 1Check the releaseMatch Magento, PHP, theme and dependency requirements.
- 2Install on stagingReview Composer changes and follow the package instructions.
- 3Configure and verifyUse the documented settings and test the affected features.
$ composer require mage2kishan/module-llms-txt $ bin/magento setup:upgrade $ bin/magento setup:di:compile $ bin/magento setup:static-content:deploy -f $ bin/magento cache:clean
Listed requirements
These are the details supplied in this listing. Confirm the selected release supports your Magento edition, PHP and storefront.
| Magento versions listed | 2.4.7, 2.4.8 |
|---|---|
| PHP versions listed | 8.2, 8.3, 8.4 |
| Themes listed | Hyvä, Luma |
| Composer package | mage2kishan/module-llms-txt |
Documentation
Product details and setup guidance. Check the package repository for release-specific instructions.
Overview
Give a consuming tool a shorter route through your store's public information. Panth LLMs.txt Generator publishes selected catalogue links, summaries and content sections as Markdown, with optional expanded Markdown and JSON documents. You decide what to include and inspect the resulting files.
What you get
- A compact /llms.txt document plus separately controlled /llms-full.txt and /llms.json endpoints.
- Priority links, collections, product sections and configurable content limits.
- Sitemap inputs, ranked sitemap highlights and JSON entries, and optional Panth-module sections.
- Store-scoped generation, tagged caching and scheduled warming.
Magento 2 LLMs.txt
This is a file-generation tool based on the llms.txt proposal. It does not make an assistant crawl, recommend or cite your store. Google says it ignores llms.txt for search visibility and rankings. Keep crawlable product pages, ordinary navigation and your XML sitemap as part of the store's search work.
Features
Use a short summary and a few priority destinations first. Expand the document with relevant collections, featured or recent products and policy information when those sections help a reader understand the store. The compact Markdown keeps a fixed section order; weights rank its sitemap highlights and entries in the structured JSON index. They do not control search-engine rankings or assistant decisions.
Usage
Request each enabled endpoint through its actual public store URL. Check the title, summary, selected pages and content before linking the document from your site or providing it to a tool.
Served URLs
Endpoint output and its enablement are separate. The release controllers send a noindex header, and disabled endpoints return 404. Web-server or CDN routing can alter the public result, so test the final response.
| URL | Content type | Enablement |
|---|---|---|
| /llms.txt | text/plain; charset=utf-8 | Main compact setting |
| /llms-full.txt | text/plain; charset=utf-8 | Expanded setting |
| /llms.json | application/json; charset=utf-8 | JSON setting |
Caching
The builders use store-specific cache keys and a one-hour lifetime. Relevant Magento tags can invalidate content, but imported or custom changes may need an explicit module-cache clean. Verify the generated body and any intermediary cache after a change.
bin/magento cache:clean panth_llms_txt
Cron
The supplied default-group job runs at 02:30. Check its schedule and execution history, particularly when large sitemap inputs or optional content make generation more expensive.
Best Sellers
The implementation reads the store's yearly bestseller aggregation, with a non-canceled order-item fallback and parent-product mapping. It publishes selected product entries and their ordering, not order records. Without eligible data there may be no section.
HEAD requests
The controllers implement GET and HEAD handling. Check content type, noindex and cache headers using the public endpoint, then use GET to inspect the actual document body.
Templates
The output comes from builders and section providers rather than a storefront theme template. A developer can extend those providers for a different structure, while keeping store context, escaping and output limits intact.
Changelog
See CHANGELOG.md.
Compatibility
Check the release requirements below against your Magento and PHP versions. During staging deployment, test your theme and custom extensions as well as the module itself. Use Adobe's version-specific requirements to check the underlying platform services.
| Release requirement | Declared value / check |
|---|---|
| Package | mage2kishan/module-llms-txt 1.5.7 |
| PHP | ~8.1.0||~8.2.0||~8.3.0||~8.4.0 |
| Panth Core | ^1.0 |
| Magento components | Use the exact Composer constraints in this release |
| Theme / edition | Test the chosen theme and project integrations on staging |
Requirements
Release 1.5.7 declares PHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0, mage2kishan/module-core:^1.0 and the Magento component constraints in its Composer manifest. Resolve those dependencies for the exact release you intend to deploy, then follow the installation and storefront checks below.
Installation
Install the selected release on a staging copy first. The commands identify its Composer package and Magento modules; setup, compilation and static assets must follow your deployment mode and rollback process. Check the resulting storefront or endpoint before production use.
composer require mage2kishan/module-llms-txt
bin/magento module:enable Panth_Core Panth_LlmsTxt
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
bin/magento module:status Panth_LlmsTxt
curl -s "<store-base-url>/llms.txt" | head -20
Configuration
Open Stores > Configuration > Panth Infotech > LLMs.txt and choose the intended scope.
Choose the store view, then review the sections and limits below. Start with a small public document and check every generated URL. Do not publish restricted policy drafts, personal information or content that should remain behind authentication.
General (panth_llms_txt/llms_txt/*)
Set a clear store summary and priority links. When summary is blank, the builder first tries its generated store summary, then the default head description. An empty setting is not a request to translate or fact-check the underlying catalogue.
| Setting | Default | Use |
|---|---|---|
| Enable llms.txt | Yes | Enable the compact endpoint |
| Site Summary | Empty | Supply your own summary or inspect the fallback |
| Priority URLs | Empty | One Label | /path or /path entry per line |
| Collections | Empty | Selected category IDs |
Sitemap Engine (panth_llms_txt/sitemap/*)
Sitemap files are an input to selected output sections. Review their public URL and request budget. Auto-detection can use existing active Panth XML Sitemap profile files, with a conventional sitemap fallback when applicable. It does not generate your XML sitemap.
| Sitemap control | Default | Check |
|---|---|---|
| Auto-detection | Yes | Existing active Panth profile files or applicable conventional fallback |
| Render highlights | Yes | Include selected sitemap entries |
| Rendered rows | 50 | Limit the highlights section |
| Parsed entries | 5000 | Bound fetched entries |
| Request timeout | 8 seconds | Review server connectivity and load |
| Parsed cache TTL | 3600 seconds | Refresh deliberately after changes |
Weighting & Ranking (panth_llms_txt/weighting/*)
Weights and pinned scores affect ranked sitemap highlights and JSON entries. Other compact Markdown sections follow their providers' own order. Keep priority choices small and understandable; a high module score is not evidence that a page is authoritative or highly ranked in Search.
| Output-order control | Default | Meaning |
|---|---|---|
| Type weights | Built-in weights | Relative module entry scores |
| Pinned URLs | Empty | Explicit URL/path/prefix scores |
| Minimum score | 0.20 | Drop lower-scored entries |
| Section entry cap | 200 | Limit ranked sections |
Content Limits (stored under panth_llms_txt/llms_txt/*)
Choose category depth and CMS limits that suit the store. The 1.5.7 default CMS cap is 100. Exclusions and a cap affect generated output, so inspect useful policy and support links after changing them.
| Content control | Default | Meaning |
|---|---|---|
| Category depth | 3 | Limit included taxonomy levels |
| CMS page cap | 100 | Limit selected CMS entries |
| Extra CMS exclusions | Empty | Omit specified identifiers |
Curated Products (stored under panth_llms_txt/llms_txt/*)
Featured products use a configured Yes/No attribute that you provide. Best sellers use available store sales data and recent arrivals use product dates. These are selection rules, not a promise that every product or variant appears.
| Product control | Default | Meaning |
|---|---|---|
| Featured attribute | is_featured | Existing Yes/No attribute; not created by this module |
| Featured limit | 6 | Cap selected featured products |
| Best sellers / limit | Yes / 10 | Use eligible store sales-based selection |
| Recent products / limit | Yes / 10 | Use product creation dates |
| Short descriptions | Yes | Include a concise available product description |
Product Types Section (panth_llms_txt/product_types/*)
This section summarizes supported Magento product types. Check whether that information helps the intended consumer and disable the section if it adds little value to your store guide.
| Product-type control | Default | Meaning |
|---|---|---|
| Enabled | Yes | Include supported product-type summary counts |
Use Cases (Shopper Intent) (panth_llms_txt/use_cases/*)
Group existing category IDs under labels that explain useful shopping tasks. This is merchant-supplied organization; the module does not infer customer intent or create new landing pages for each label.
| Use-case control | Default | Meaning |
|---|---|---|
| Buckets | Empty | Label | category IDs | optional summary |
llms-full.txt (Expanded) (stored under panth_llms_txt/llms_txt/*)
The expanded endpoint is off by default. When enabled, it adds the configured CMS policy bodies to the store guide. Review those pages and the final plain-text result; expanded does not mean an unrestricted dump of the entire catalogue.
| Expanded control | Default | Meaning |
|---|---|---|
| Enable llms-full.txt | No | Separately enable the expanded document |
| Policy CMS identifiers | Empty | Choose shipping, returns, about and FAQ bodies |
llms.json (Machine-readable) (panth_llms_txt/json/*)
JSON output is separately enabled by default. Its ranked entries are another representation of selected store information. Validate the response and consumer expectations rather than assuming that every assistant supports this module's JSON structure.
| JSON control | Default | Meaning |
|---|---|---|
| Enable llms.json | Yes | Publish the module's structured index |
Cache Warm-up (panth_llms_txt/cron/*)
Scheduled warming clears parsed sitemap data and calls the enabled document builders. Those builders can return cached output; the job does not force every document to regenerate. It needs a working Magento cron installation; enabling the setting alone does not prove the job ran.
| Cron control | Default | Meaning |
|---|---|---|
| Warm caches | Yes | Call enabled builders at 02:30; existing document caches can be reused |
Optional Integrations (panth_llms_txt/optional/*)
Optional sections read supported Panth-module data when the expected tables and eligible records are present. Review public testimonial, FAQ and page-type form links before including them. Those links do not grant access to restricted records or certify their content.
| Optional source | Default | Review |
|---|---|---|
| Testimonials | Yes | Eligible supported-module public links/content |
| FAQs | Yes | Eligible store-scoped FAQ entries |
| Dynamic forms | Yes | Supported public page-type forms |
Uninstallation
Check dependent packages and take the relevant configuration/data backup before removing code. Follow a reviewed removal plan. Disabling a module does not prove that its stored settings, records or prior file changes have been removed.
bin/magento module:disable Panth_LlmsTxt
composer remove mage2kishan/module-llms-txt
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
License
This 1.5.7 release declares MIT and includes its licence notice. Keep the required notice with redistribution. Check the terms that apply to the release you use and any separately agreed services.
Developer Notes
The module defines section-provider, sitemap-fetcher and weighted-ranker interfaces. Its builders use store emulation and the dedicated panth_llms_txt cache. An integration must test the compact, expanded and JSON paths it enables; it should not rely on another format having identical fields.
| Module Category | SEO & Indexing |
|---|---|
| Best For | Mid-Market |
FAQ
Is llms.txt an official standard?
It is a published proposal for providing a concise Markdown guide to a website. Publishing a file does not require any assistant to read it. This generator supplies its documented output formats; it does not establish adoption by an AI provider. See the proposal for its current scope.
Does this replace my XML sitemap?
Keep your XML sitemap and ordinary internal links. This module publishes selected catalogue and content information in Markdown and JSON, and can read sitemap URLs as an input. Use the XML Sitemap module when you need to generate search-engine sitemap files.
Will Google index my `/llms.txt` as a search result?
The 1.5.7 controllers send an X-Robots-Tag: noindex response header. Google also says llms.txt is not used to improve its search visibility or rankings. Keep the document accessible to any intended consumers, but assess your actual public pages in Search Console. See Google's guidance.
Does it run a cron job?
Yes. The supplied panth_llms_txt_warm_cache job is scheduled at 02:30 in Magento's default cron group. When its store-scoped setting is enabled, it clears the parsed sitemap cache and calls each enabled Markdown or JSON builder. The builders may reuse cached output; clean the module cache when you need freshly generated documents. Magento cron must be running for that schedule to execute.
Does it work with Hyva?
The documents are controller responses rather than theme pages, and the builders emulate the target store context. Verify the endpoints, store URLs and web-server routing on your Hyva installation. Custom host routing and CDN rules can still affect these endpoints.
Is Panth_Core required?
Release 1.5.7 declares mage2kishan/module-core:^1.0 as a Composer dependency. Resolve that dependency and enable Panth_Core alongside Panth_LlmsTxt. A successful installation still needs endpoint and content checks on your store.
Will this slow down my store?
The builders cache output by store for one hour and support scheduled warming. A cache miss can still load catalogue, CMS and configured sitemap data. Measure generation time and resource use with your catalogue size, optional integrations and cache configuration; there is no fixed overhead or speed guarantee.
How do I flag products as featured?
Create or select a Yes/No product attribute in Admin, assign it to the relevant attribute sets, and set its code in Featured Attribute Code. The default code is is_featured; the module does not create that attribute. Mark the products, choose a section limit, clean the module cache and inspect the output.
How are best sellers calculated?
The source reads quantities from Magento's yearly bestseller aggregation for the store. If no IDs are returned, it falls back to non-canceled order-item quantities, then considers catalogue parent relations. The document contains eligible product entries and aggregate ordering, not customer or order details. Without suitable data the section can be empty.
Can I customize the section structure?
Configuration controls priority URLs, selected collections, section limits, optional integrations and use-case groups. Weighted ranking applies to compact sitemap highlights and JSON entries; other compact sections follow their providers' own order. It does not affect a search engine's ranking. A developer can extend the section providers or builders for a different document structure, then test all enabled formats.
Does it support multi-language stores?
Settings and builders use the selected store context, including that store's URLs and available content. The module does not translate product names, descriptions or policy pages for you. Configure and inspect each store view, particularly where hosts, store codes or CMS identifiers differ.
What about GDPR / privacy?
These are public documents. Review selected CMS bodies, optional testimonial/FAQ links and any other published information before enabling sections. The bestseller selection uses aggregate sales information, but that does not establish legal compliance or permission to publish other content. Keep private, restricted and personal information out of the generated files.
Is it compatible with Varnish / FPC?
The module has its own tagged cache and its controllers send cache headers. Check how your web server, Varnish and CDN handle each endpoint, including disabled responses. After changing content or scope, clean the relevant module cache and confirm the public response; do not assume another cache layer has refreshed.
Questions before you install?
Send me your composer.json and I will check for conflicts first. Free. Installation is +$45, custom work is quoted first.