PHPackages                             mage2kishan/module-llms-txt - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mage2kishan/module-llms-txt

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

mage2kishan/module-llms-txt
===========================

Panth LLMs.txt — AI Indexing Engine for Magento 2. Serves structured /llms.txt, /llms-full.txt and /llms.json with a dynamic multi-URL sitemap engine, weighted ranking, auto-generated summaries, product-type and use-case grouping, and cron-based cache warm-up. Built for ChatGPT, Claude, Perplexity, Gemini and future LLM crawlers.

1.4.0(1mo ago)237↓66.7%1proprietaryPHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Apr 22Pushed 2mo agoCompare

[ Source](https://github.com/mage2sk/module-llms-txt)[ Packagist](https://packagist.org/packages/mage2kishan/module-llms-txt)[ Docs](https://kishansavaliya.com)[ RSS](/packages/mage2kishan-module-llms-txt/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (14)Versions (18)Used By (0)

Magento 2 LLMs.txt Extension: AI-Readable Store Index for ChatGPT, Claude, Perplexity, Gemini (Hyva + Luma)
===========================================================================================================

[](#magento-2-llmstxt-extension-ai-readable-store-index-for-chatgpt-claude-perplexity-gemini-hyva--luma)

 [![Panth LLMs.txt for Magento 2  -  Make your store AI-readable. One file so ChatGPT, Claude, Perplexity and Gemini understand your catalog. Built by Kishan Savaliya, Panth Infotech  -  Upwork Top Rated Plus.](docs/screenshots/hero-linkedin.png)](docs/screenshots/hero-linkedin.png)

[![Magento 2.4.4 - 2.4.8](https://camo.githubusercontent.com/079c832211eed4f9451ebe264e3865f825b0f9f31b041cbf03676c6e254535d4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d322e342e342532302d2d253230322e342e382d6f72616e67653f6c6f676f3d6d6167656e746f266c6f676f436f6c6f723d7768697465)](https://magento.com)[![PHP 8.1 - 8.4](https://camo.githubusercontent.com/56b3cce18841623e2cbed2ebf09b06be1be8807e99e6e054a89d304ab4790b8e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532302d2d253230382e342d626c75653f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://php.net)[![Hyva + Luma](https://camo.githubusercontent.com/d4d6a05401973034a5aae392f030440eefa40afc9191ffb06ed897af5d25adb1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5468656d65732d487976612532302532422532304c756d612d313462386136)](https://www.hyva.io)[![Live Demo & Details](https://camo.githubusercontent.com/ed005aa9ab3d403e0bc09e250e5a44c1e36097f945522e8eca931fad441f8995/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c69766525323044656d6f25323025323625323044657461696c732d6d6167656e746f2d2d322d2d6c6c6d732d2d7478742d3044393438383f7374796c653d666c6174)](https://kishansavaliya.com/magento-2-llms-txt.html)[![Packagist](https://camo.githubusercontent.com/2ef4c1b38119841a1b4e131871820f7b768f9bf6cc14f31755e5800ebbcdf34a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5061636b61676973742d6d616765326b697368616e2532466d6f64756c652d2d6c6c6d732d2d7478742d6f72616e67653f6c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/mage2kishan/module-llms-txt)[![Upwork Top Rated Plus](https://camo.githubusercontent.com/6f72584179420c41ed90432fd2579a4ed36199d4229e8181d20f353c1c4ee4eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5570776f726b2d546f702532305261746564253230506c75732d3134613830303f6c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/freelancers/~016dd1767321100e21)[![Website](https://camo.githubusercontent.com/f1ae86d28e2b505aee60f240d3e5508e390b0a8dc7a9b7ecf1b450fad862053f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f576562736974652d6b697368616e736176616c6979612e636f6d2d304439343838)](https://kishansavaliya.com)

> **Let every AI assistant read your store the way you want it described.** Panth LLMs.txt generates and serves `/llms.txt`, `/llms-full.txt`, and `/llms.json` straight from your Magento catalog. No cron, no extra files to maintain. Cache auto-invalidates on every admin save.

**Product page:** [kishansavaliya.com/magento-2-llms-txt.html](https://kishansavaliya.com/magento-2-llms-txt.html)

---

Quick Answer
------------

[](#quick-answer)

**What is Panth LLMs.txt?** It is a Magento 2 extension that publishes a structured Markdown index of your store at `/llms.txt`, following the [llmstxt.org](https://llmstxt.org/) standard. AI assistants like ChatGPT, Claude, Perplexity, and Gemini read this file to understand your catalog, categories, policies, and products.

**What does it add to my store?**

- A **`/llms.txt`** endpoint with a hierarchical category tree, store overview, priority URLs, collections, CMS key pages, and three curated product sections (Featured, Best Sellers, Recent Arrivals).
- A **`/llms-full.txt`** endpoint that appends the full text of your Shipping, Returns, FAQ, and About Us pages so AI assistants can quote your policies verbatim.
- A **`/llms.json`** endpoint with the same data in a stable JSON schema for programmatic consumers.
- A **sitemap engine** that reads your XML sitemaps, scores every URL by type and priority, and surfaces the highest-scored pages.
- **Use-case buckets** so you can group category IDs under shopper intents like "Daily Wear" or "Bridal".

**Which themes are supported?** Both **Hyva** and **Luma**. The file is served from a backend controller with no theme dependency.

**What does it need?** Magento 2.4.4 to 2.4.8, PHP 8.1 to 8.4, and the free `mage2kishan/module-core` package.

---

Need Custom Magento 2 Development?
----------------------------------

[](#need-custom-magento-2-development)

> **Get a free quote for your project in 24 hours** for custom modules, Hyva themes, performance work, M1 to M2 migrations, and Adobe Commerce Cloud.

 [ ![Get a Free Quote](https://camo.githubusercontent.com/eac8c45d21cff8b139ddc392325f3bd6c8266a6f3d7b23f15131c958f3d3c8d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476574253230612532304672656525323051756f74652532302545322538362539322d5265706c7925323077697468696e2532303234253230686f7572732d4443323632363f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/get-quote)

### Kishan Savaliya

[](#kishan-savaliya)

**Top Rated Plus on Upwork**

[![Hire on Upwork](https://camo.githubusercontent.com/b69353d3c6e192f4d03cc36bb8883612004e32f54dd2dbcc1e700dd791acd875/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f486972652532306f6e2532305570776f726b2d546f702532305261746564253230506c75732d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/freelancers/~016dd1767321100e21)

100% Job Success • 10+ Years Magento Experience Adobe Certified • Hyva Specialist

### Panth Infotech Agency

[](#panth-infotech-agency)

**Magento Development Team**

[![Visit Agency](https://camo.githubusercontent.com/bbf04bdd2aff502082508568ec42ace3a7475c98756f596e2013056c89726ed6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56697369742532304167656e63792d50616e7468253230496e666f746563682d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465)](https://www.upwork.com/agencies/1881421506131960778/)

Custom Modules • Theme Design • Migrations Performance • SEO • Adobe Commerce Cloud

**Visit our website:** [kishansavaliya.com](https://kishansavaliya.com) | **Get a quote:** [kishansavaliya.com/get-quote](https://kishansavaliya.com/get-quote)

---

Table of Contents
-----------------

[](#table-of-contents)

- [Who Is It For](#who-is-it-for)
- [Key Features](#key-features)
- [Screenshots](#screenshots)
- [Example Output](#example-output)
- [Compatibility](#compatibility)
- [Installation](#installation)
- [Configuration](#configuration)
- [How It Works](#how-it-works)
- [FAQ](#faq)
- [Support](#support)
- [About Panth Infotech](#about-panth-infotech)
- [Quick Links](#quick-links)

---

Who Is It For
-------------

[](#who-is-it-for)

- **Merchants who want AI referral traffic** from ChatGPT, Perplexity, Gemini, and Claude when shoppers ask about products in your niche.
- **Stores with policy-heavy customer service** (shipping, returns, FAQ) that want AI assistants to quote the correct wording instead of guessing.
- **Multi-store merchants** who need per-store index files with the right URLs, currency, and locale for each brand.
- **Hyva and Luma stores** that want a standards-compliant `/llms.txt` without writing or maintaining it by hand.
- **SEO-focused teams** who are preparing their store for the shift toward AI-powered search and zero-click answers.

---

Key Features
------------

[](#key-features)

### Three Output Formats

[](#three-output-formats)

- **`/llms.txt`** - compact, token-efficient Markdown (5 to 10 KB): store overview block, company info, priority URLs, collections, CMS key pages, hierarchical category tree, and three curated product sections.
- **`/llms-full.txt`** - same as above plus the full text of your Shipping, Returns, FAQ, and About Us pages inline, so AI assistants quote your policies exactly.
- **`/llms.json`** - the same data in a stable machine-readable JSON schema (`panth.llms_txt/v1`) for programmatic consumers.

### Curated Product Sections

[](#curated-product-sections)

- **Featured Products** - merchant-flagged via a configurable yes/no EAV attribute (default `is_featured`). Section is silently skipped if the attribute does not exist.
- **Best Sellers** - read from Magento's `sales_bestsellers_aggregated_yearly` table, no extra queries at render time.
- **Recent Arrivals** - sorted by `created_at DESC`.
- Each product line includes name, URL, price, SKU, category, and an optional one-line short description. The description resolver falls back through `short_description`, `meta_description`, first sentence of `description`, and an auto-generated `Name + Category` fallback.

### Hierarchical Category Tree

[](#hierarchical-category-tree)

- Nested Markdown list so AI assistants see the real parent-child relationships, not a flat list of duplicate names.
- Configurable depth (1 to 5 levels).

### Sitemap Engine

[](#sitemap-engine)

- Reads one or more XML sitemaps (plain `` or `` with one nesting level).
- Absolute or relative sitemap URLs, with comment lines (`#`) supported.
- Auto-detects `{baseUrl}sitemap.xml` when the list is empty.
- Scores every parsed URL by type (homepage, category, product, CMS, etc.) and priority.
- Renders the top-scored rows under a `## Sitemap Highlights` section with a configurable cap.
- Separate TTL and per-request timeout settings.

### Weighting and Ranking

[](#weighting-and-ranking)

- Combines sitemap priority, admin-pinned URLs, and built-in type weights into a single 0.0 to 1.0 score per entry.
- Type weights are editable per store view (`category=0.75`, `product=0.55`, etc.).
- Pinned URLs override every other signal, including wildcard path trees (`/sale/*=1.0`).
- Minimum score threshold drops low-value URLs automatically.

### Use-Case Buckets (Shopper Intent)

[](#use-case-buckets-shopper-intent)

- Admin defines shopper intent groups with a label, one or more category IDs, and an optional summary line.
- Rendered under `## Use Cases` so AI assistants can match a shopper question ("looking for bridal wear") to the right category set.

### Product Types Section

[](#product-types-section)

- Optional metadata block listing counts per Magento product type (simple, configurable, bundle, etc.).
- Lets AI assistants understand whether your store carries configurable products or mainly simple SKUs.

### Optional Integrations

[](#optional-integrations)

- **Panth Testimonials** - adds approved testimonial pages if `Panth_Testimonials` is installed.
- **Panth FAQ** - adds FAQ categories and items if `Panth_Faq` is installed.
- **Panth Dynamic Forms** - adds page-type dynamic forms if `Panth_DynamicForms` is installed.
- Each integration is conditional: if the source module is absent, the section renders nothing silently.

### Built-In Caching

[](#built-in-caching)

- Dedicated cache type `panth_llms_txt` visible in System &gt; Cache Management.
- Tag-invalidated on any admin save of a category, product, CMS page, or store config.
- Optional nightly cron at 02:30 (`Cache Warm-up` group) pre-warms all enabled stores.
- Cold render: around 200 ms on a 2,000-SKU catalog. Warm: around 50 ms.

### Multi-Store and Multi-Language

[](#multi-store-and-multi-language)

- Full store emulation wraps every render: URLs, prices, and locales resolve in the target store's context.
- Per-store summary, limits, priority URLs, collections, exclusions, and product caps.
- Per-store cache entries invalidate independently.

### SEO-Friendly HTTP Headers

[](#seo-friendly-http-headers)

- `Content-Type: text/plain; charset=utf-8`
- `X-Robots-Tag: noindex` - keeps the raw file out of Google search results.
- `Content-Disposition: inline; filename="llms.txt"`
- `Cache-Control: public, max-age=3600` - CDN-friendly.

### Zero Maintenance

[](#zero-maintenance)

- No database tables, no cron required (optional warm-up cron available), no external API calls.
- Cache auto-invalidates on merchant edits.
- URL rewrites installed once via a data patch (idempotent on re-run).

---

Screenshots
-----------

[](#screenshots)

### Admin Configuration - Stores &gt; Configuration &gt; Panth Extensions &gt; LLMs.txt

[](#admin-configuration-----stores--configuration--panth-extensions--llmstxt)

[![Panth LLMs.txt admin configuration  -  multiple fieldsets including General, Sitemap Engine, Weighting and Ranking, Content Limits, Curated Products, Use Cases, llms-full.txt, llms.json, Cache Warm-up](docs/screenshots/admin-config.png)](docs/screenshots/admin-config.png)

*Admin config groups: General, Sitemap Engine, Weighting and Ranking, Content Limits, Curated Products, Product Types, Use Cases, llms-full.txt, llms.json, Cache Warm-up, Optional Integrations. Every setting is store-view scoped.*

### `/llms-full.txt` - Default Store View (Hyva)

[](#llms-fulltxt-----default-store-view-hyva)

[![Panth LLMs.txt rendered on Hyva  -  store overview, category tree, featured products, policy bodies](docs/screenshots/llms-full-hyva.png)](docs/screenshots/llms-full-hyva.png)

### `/llms-full.txt` - Luma Store View

[](#llms-fulltxt-----luma-store-view)

[![Panth LLMs.txt rendered on Luma  -  per-store URL rewriting, per-store locale and currency](docs/screenshots/llms-full-luma.png)](docs/screenshots/llms-full-luma.png)

*Same renderer, different store view. Store emulation ensures every URL resolves in the correct store context.*

---

Example Output
--------------

[](#example-output)

A typical `/llms.txt` from a Magento sample-data catalog:

```
# Your Store Name

> Short one-line store summary goes here.

## Store Overview

- URL: https://yourstore.com/
- Type: E-commerce catalog (Magento 2)
- Store View: Default Store View
- Currency: USD
- Language: en_US
- Generated: 2026-04-23 12:00:00 UTC

## Company

- Email: hello@yourstore.com
- Phone: +1-555-0000

## Priority URLs

- [Sale](https://yourstore.com/sale.html)
- [New Arrivals](https://yourstore.com/what-is-new.html)

## Collections

- [Eco Friendly](https://yourstore.com/collections/eco-friendly.html)

## Key Pages

- [About us](https://yourstore.com/about-us): Our story and mission
- [Shipping Policy](https://yourstore.com/shipping-policy)
- [Returns & Refunds](https://yourstore.com/returns)

## Category Tree

- [Women's Fashion & Clothing](https://yourstore.com/women.html)
  - [Tops](https://yourstore.com/women/tops-women.html)
    - [Jackets](https://yourstore.com/women/tops-women/jackets-women.html)
  - [Bottoms](https://yourstore.com/women/bottoms-women.html)
- [Men](https://yourstore.com/men.html)
  - [Tops](https://yourstore.com/men/tops-men.html)

## Featured Products

- [Push It Messenger Bag](https://yourstore.com/push-it-messenger-bag.html)  -  $45.00  -  SKU 24-WB04  -  Bags
  Slim, durable messenger bag for daily commutes.

## Best Sellers

- [Ina Compression Short](https://yourstore.com/ina-compression-short.html)  -  $49.00  -  SKU WSH11  -  Shorts
  Compression running short with exceptional support.

## Recent Arrivals

- [Sample Product](https://yourstore.com/sample.html)  -  $99.99  -  SKU sample-001  -  Bags
  New arrival sample product.

## Sitemaps

- https://yourstore.com/sitemap.xml
- https://yourstore.com/robots.txt
- https://yourstore.com/llms-full.txt
```

`/llms-full.txt` adds full policy bodies inline. `/llms.json` provides the same data as structured JSON.

---

Compatibility
-------------

[](#compatibility)

RequirementVersions SupportedMagento Open Source2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8Adobe Commerce2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8Adobe Commerce Cloud2.4.4 to 2.4.8PHP8.1.x, 8.2.x, 8.3.x, 8.4.xMySQL8.0+MariaDB10.4+Hyva Theme1.0+ (native support)Luma ThemeNative supportRequired Dependency`mage2kishan/module-core` (free)---

Installation
------------

[](#installation)

### Composer Installation (Recommended)

[](#composer-installation-recommended)

```
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 setup:static-content:deploy -f
bin/magento cache:flush
```

### Manual Installation via ZIP

[](#manual-installation-via-zip)

1. Download the latest release from [Packagist](https://packagist.org/packages/mage2kishan/module-llms-txt) or from the [product page](https://kishansavaliya.com/magento-2-llms-txt.html).
2. Extract it to `app/code/Panth/LlmsTxt/` in your Magento install.
3. Make sure `Panth_Core` is installed too (required dependency).
4. Run the commands above starting from `bin/magento module:enable`.

### Verify Installation

[](#verify-installation)

```
bin/magento module:status Panth_LlmsTxt
# Expected: Module is enabled

curl https://yourstore.com/llms.txt | head -20
# Expected: Markdown body starting with "# Your Store Name"
```

---

Configuration
-------------

[](#configuration)

Navigate to **Admin &gt; Stores &gt; Configuration &gt; Panth Extensions &gt; LLMs.txt**. Settings are grouped into these fieldsets:

### General (group: `llms_txt`)

[](#general-group-llms_txt)

SettingDefaultDescriptionEnable llms.txtYesMaster toggle. When off, `/llms.txt` returns 404.Site Summary(auto)One-line summary under the H1. Auto-generates from store metadata when blank. Falls back to `design/head/default_description`.Priority URLs(empty)One URL per line, format `LabelCollections (Category IDs)(empty)Comma-separated category IDs for curated landing pages. Rendered under `## Collections`.### Sitemap Engine (group: `sitemap`)

[](#sitemap-engine-group-sitemap)

SettingDefaultDescriptionSitemap URLs(empty)One sitemap URL per line. Absolute or relative. Lines starting with `#` are comments. Empty list uses `/sitemap.xml`.Auto-detect Default SitemapYesFall back to `{baseUrl}sitemap.xml` when the URL list is empty.Render "Sitemap Highlights" SectionYesList the highest-scored sitemap rows under their own section.Max Rendered Sitemap Rows50Hard cap on rows under `## Sitemap Highlights`.Max Parsed Sitemap Entries5000Upper bound on entries loaded across all sitemaps.Per-request Timeout (seconds)8Per-sitemap connect and read timeout.Sitemap Cache TTL (seconds)3600How long parsed sitemap data stays cached.### Weighting and Ranking (group: `weighting`)

[](#weighting-and-ranking-group-weighting)

SettingDefaultDescriptionType Weights(built-in defaults)`code=weight` per line. Codes: `homepage`, `category`, `collection`, `product`, `cms`, `sitemap`, `external`.Pinned URLs(empty)`url_or_prefix=score` per line. Wildcard: `/sale/*=1.0` pins the entire path tree.Minimum Score0.20Entries below this are dropped.Max Entries Per Section200Per-section hard cap applied after sorting.### Content Limits (group: `limits`)

[](#content-limits-group-limits)

SettingDefaultDescriptionMax Category Tree Depth3How many levels of the taxonomy to render (1 to 5).Max CMS Pages10Cap on `## Key Pages`.Exclude CMS Identifiers(empty)Extra identifiers to skip (appended to built-in exclusions).### Curated Products (group: `products`)

[](#curated-products-group-products)

SettingDefaultDescriptionFeatured Attribute Code`is_featured`Yes/No EAV attribute used to flag featured products. Section silently skipped if the attribute does not exist.Max Featured Products6Cap on `## Featured Products`. Set 0 to disable.Show Best SellersYesRender `## Best Sellers` from Magento's bestseller aggregate.Max Best Sellers10Cap on `## Best Sellers`.Show Recent ArrivalsYesRender `## Recent Arrivals` sorted by `created_at DESC`.Max Recent Arrivals10Cap on `## Recent Arrivals`.Include Short DescriptionsYesOne-line description under each product. Resolver: `short_description` then `meta_description` then first sentence of `description` then auto-generated fallback.### Product Types Section (group: `product_types`)

[](#product-types-section-group-product_types)

SettingDefaultDescriptionRender "Product Types"NoInclude a metadata block with counts per Magento product type.### Use Cases (group: `use_cases`)

[](#use-cases-group-use_cases)

SettingDefaultDescriptionUse-case Buckets(empty)`Label### llms-full.txt (group: `full`)

[](#llms-fulltxt-group-full)

SettingDefaultDescriptionEnable llms-full.txtNoMaster toggle for the expanded variant.Shipping Policy CMS Identifier(empty)Example: `shipping-policy`. Full page body embedded in `/llms-full.txt`.Returns Policy CMS Identifier(empty)Example: `returns-policy`.About Us CMS Identifier(empty)Example: `about-us`.FAQ CMS Identifier(empty)Example: `faq`.### llms.json (group: `json`)

[](#llmsjson-group-json)

SettingDefaultDescriptionEnable /llms.jsonNoServes the same data as a structured JSON document at `/llms.json` (schema: `panth.llms_txt/v1`).### Cache Warm-up (group: `cron`)

[](#cache-warm-up-group-cron)

SettingDefaultDescriptionPre-warm Caches via CronNoWhen on, a nightly cron at 02:30 regenerates `/llms.txt`, `/llms-full.txt`, and `/llms.json` for every enabled store.### Optional Integrations (group: `optional`)

[](#optional-integrations-group-optional)

SettingDefaultDescriptionInclude TestimonialsNoAdds testimonial pages from `Panth_Testimonials` if that module is installed.Include FAQsNoAdds FAQ items from `Panth_Faq` if that module is installed.Include Dynamic FormsNoAdds page-type forms from `Panth_DynamicForms` if that module is installed.---

How It Works
------------

[](#how-it-works)

The module is pull-based. There is no cron that writes files to disk (the optional warm-up cron is for pre-heating the cache only).

1. A crawler hits `https://yourstore.com/llms.txt`.
2. The `Index.php` controller receives the request.
3. The Builder checks the `panth_llms_txt` cache.
    - **Cache hit:** returns the cached Markdown body immediately (around 50 ms).
    - **Cache miss:** composes fresh output from Magento's store, catalog, CMS, and sitemap APIs, caches it, then returns (around 200 ms).
4. The controller adds the correct HTTP headers and streams the response.

The same pattern applies to `Full.php` (for `/llms-full.txt`) and `Json.php` (for `/llms.json`).

### When does the output refresh?

[](#when-does-the-output-refresh)

EventResultAdmin saves any categoryCache invalidated via `Category::CACHE_TAG`Admin saves any productCache invalidated via `Product::CACHE_TAG`Admin saves any CMS pageCache invalidated via `Page::CACHE_TAG`Admin saves store configurationCache invalidated via `config_scopes`Admin clicks Flush Magento CacheFull flush`bin/magento cache:clean panth_llms_txt`This module's cache only1-hour TTL lapsePassive regeneration on the next request**Practical refresh time:** within seconds of any admin edit. The next request after a save regenerates. Worst case on an idle store: stale by at most 1 hour.

### Nginx note for HEAD requests

[](#nginx-note-for-head-requests)

Some LLM crawlers and SEO auditors probe with `HEAD` before `GET`. The direct routes (`/panth_llms/llms/index`, `/panth_llms/llms/full`, `/panth_llms/llms/json`) answer `HEAD` with 200. For the friendly `/llms.txt` path through Magento's URL rewrite layer, add the bundled nginx snippet:

```
include /path/to/vendor/mage2kishan/module-llms-txt/etc/nginx.conf.sample;
```

Place it inside your `server { ... }` block before the catch-all `location /` block, then reload nginx.

---

FAQ
---

[](#faq)

### Is llms.txt an official standard?

[](#is-llmstxt-an-official-standard)

It is an emerging community standard proposed at [llmstxt.org](https://llmstxt.org/). Anthropic, Perplexity, Vercel, Stripe, and Cloudflare all publish one. Not an IETF RFC yet, but widely adopted by major AI platforms.

### Does this replace my XML sitemap?

[](#does-this-replace-my-xml-sitemap)

No. Keep your XML sitemap for Google and Bing. `/llms.txt` is for AI crawlers that want a curated summary rather than a full crawlable list.

### Will Google index my `/llms.txt` as a search result?

[](#will-google-index-my-llmstxt-as-a-search-result)

No. The controller sends `X-Robots-Tag: noindex`. Crawlers still read the file for signals.

### Does it run a cron job?

[](#does-it-run-a-cron-job)

The module is pull-based by default. There is an optional nightly warm-up cron at 02:30 you can enable under the Cache Warm-up group. The base functionality works with no cron at all.

### Does it work with Hyva?

[](#does-it-work-with-hyva)

Yes. The file is served at the backend layer, outside the theme pipeline. Identical behavior on Hyva and Luma.

### Is Panth\_Core required?

[](#is-panth_core-required)

Yes. `mage2kishan/module-core` is a required dependency pulled in automatically by Composer.

### Will this slow down my store?

[](#will-this-slow-down-my-store)

No. Output is cached with a 1-hour TTL plus tag invalidation. LLM crawlers hit this infrequently compared to FPC. Your storefront pages are not affected.

### How do I flag products as featured?

[](#how-do-i-flag-products-as-featured)

Create a yes/no EAV attribute called `is_featured` from Stores &gt; Attributes &gt; Product, or enter a different attribute code in the admin config. Flip the flag on the products you want shown.

### What does the sitemap engine add beyond the category tree?

[](#what-does-the-sitemap-engine-add-beyond-the-category-tree)

It reads your actual sitemap XML files, scores every URL by type and admin-defined weights, and surfaces the highest-ranked pages in a dedicated `## Sitemap Highlights` section. This gives AI assistants a priority-ordered view of your catalog beyond just the category structure.

### What are use-case buckets?

[](#what-are-use-case-buckets)

They let you group categories under shopper intents. For example `Bridal | 41 | Hand-embroidered bridal wear` maps a natural-language intent to the right category IDs. AI assistants can then answer "where do I find bridal wear at your store?" with an accurate link.

### Can I add custom sections?

[](#can-i-add-custom-sections)

Yes. The architecture is section-based. Each `## Heading` block is a class implementing `SectionInterface`. Add a custom section in a child module and wire it via `di.xml` without touching existing code.

### Does it support multi-language stores?

[](#does-it-support-multi-language-stores)

Yes. Each store view gets its own cache entry, URLs, summary, and all store-scope config values. Store emulation ensures prices and locale are correct per store.

### What about GDPR and privacy?

[](#what-about-gdpr-and-privacy)

Only data already public on your store is published: product names, category names, CMS page titles, and company info from Store Information. No customer data, no order details.

---

Support
-------

[](#support)

ChannelContactProduct Page[kishansavaliya.com/magento-2-llms-txt.html](https://kishansavaliya.com/magento-2-llms-txt.html)EmailWebsite[kishansavaliya.com](https://kishansavaliya.com)WhatsApp+91 84012 70422GitHub Issues[github.com/mage2sk/module-llms-txt/issues](https://github.com/mage2sk/module-llms-txt/issues)Upwork (Top Rated Plus)[Hire Kishan Savaliya](https://www.upwork.com/freelancers/~016dd1767321100e21)Upwork Agency[Panth Infotech](https://www.upwork.com/agencies/1881421506131960778/)Response time: 1-2 business days.

### Need Custom Magento Development?

[](#need-custom-magento-development)

Looking for **custom Magento module development**, **Hyva theme work**, **store migrations**, or **performance tuning**? Get a free quote in 24 hours:

 [ ![Get a Free Quote](https://camo.githubusercontent.com/0d9512dc4f89ef40179e9f650fd0786b6bc846d289ab2cb04a223a43f2833eeb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f254630253946253932254143253230476574253230612532304672656525323051756f74652d6b697368616e736176616c6979612e636f6d2532466765742d2d71756f74652d4443323632363f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/get-quote)

 [ ![Hire on Upwork](https://camo.githubusercontent.com/fad56e8be7896e39593f090cd2ed32e6bf86b4b6e75974cf292aee99d45f5077/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f486972652532304b697368616e2d546f702532305261746564253230506c75732d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465) ](https://www.upwork.com/freelancers/~016dd1767321100e21) [ ![Visit Agency](https://camo.githubusercontent.com/fdf45a9d937d72b896f5e2557337d47efebc0e06b7ad4d4c162c0a64375a62fa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56697369742d50616e7468253230496e666f746563682532304167656e63792d3134613830303f7374796c653d666f722d7468652d6261646765266c6f676f3d7570776f726b266c6f676f436f6c6f723d7768697465) ](https://www.upwork.com/agencies/1881421506131960778/) [ ![View Product Page](https://camo.githubusercontent.com/88088d69459a06e8e01504f0c93964dc000ae7074efab37a27d565c2b1a73696/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5669657725323050726f64756374253230506167652d6d6167656e746f2d2d322d2d6c6c6d732d2d7478742d3044393438383f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/magento-2-llms-txt.html)

---

About Panth Infotech
--------------------

[](#about-panth-infotech)

Built and maintained by **Kishan Savaliya** ([kishansavaliya.com](https://kishansavaliya.com)), a **Top Rated Plus** Magento developer on Upwork with 10+ years of eCommerce experience.

**Panth Infotech** is a Magento 2 development agency that builds high quality, security focused extensions and themes for both Hyva and Luma storefronts. The extension suite covers AI SEO, classical SEO, performance, checkout, product presentation, customer engagement, and store management, with each module built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.

Browse the full extension catalog on our [Magento extensions page](https://kishansavaliya.com/magento-extensions.html) or on [Packagist](https://packagist.org/packages/mage2kishan/).

---

Quick Links
-----------

[](#quick-links)

ResourceLink**Product Page**[magento-2-llms-txt.html](https://kishansavaliya.com/magento-2-llms-txt.html)**Packagist**[mage2kishan/module-llms-txt](https://packagist.org/packages/mage2kishan/module-llms-txt)**GitHub**[mage2sk/module-llms-txt](https://github.com/mage2sk/module-llms-txt)**Website**[kishansavaliya.com](https://kishansavaliya.com)**Free Quote**[kishansavaliya.com/get-quote](https://kishansavaliya.com/get-quote)**Upwork (Top Rated Plus)**[Hire Kishan Savaliya](https://www.upwork.com/freelancers/~016dd1767321100e21)**Upwork Agency**[Panth Infotech](https://www.upwork.com/agencies/1881421506131960778/)**Email****WhatsApp**+91 84012 70422---

 **Ready to make your store readable by every AI assistant?**
 [ ![See LLMs.txt](https://camo.githubusercontent.com/f1e7ed3212c7fa26d18f3ef75f9947e1d84581a76c924650eb4cb7885dc0a0ef/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2546302539462539412538302532305365652532304c4c4d732e7478742532302545322538362539322d50726f647563742532305061676525323025323625323044657461696c732d4443323632363f7374796c653d666f722d7468652d6261646765) ](https://kishansavaliya.com/magento-2-llms-txt.html)

---

**SEO Keywords:** magento 2 llms.txt, magento 2 ai seo, magento 2 chatgpt indexing, magento 2 claude seo, magento 2 perplexity seo, magento 2 gemini seo, magento 2 ai crawler, magento 2 llms-full.txt, magento 2 llms json, magento 2 ai site map, llmstxt.org magento, magento 2 hierarchical category tree ai, magento 2 featured products llm, magento 2 bestsellers ai, magento 2 recent products ai seo, magento 2 ai content optimization, hyva llms.txt, hyva ai seo, luma llms.txt, luma ai seo, magento 2 markdown sitemap, magento 2 content for llm, magento 2 generative ai seo, magento 2 openai search, magento 2 bing copilot, magento 2 microsoft copilot seo, magento 2 ai shopping, magento 2 conversational commerce, magento 2 ai assistant seo, magento 2 ai policy page, magento 2 shipping policy ai, magento 2 returns policy ai, magento 2 sitemap engine, magento 2 url scoring, magento 2 use case buckets, magento 2 shopper intent seo, magento 2.4.8 llms.txt, magento 2 php 8.4 llms.txt, mage2kishan llms.txt, panth infotech llms.txt, kishan savaliya magento, hire magento developer upwork, top rated plus magento freelancer, custom magento development, adobe commerce llms.txt, magento 2 ai-powered seo

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance89

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Recently: every ~9 days

Total

17

Last Release

36d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/343e344aa298f189db888b32d62f9202d31ced1a5ea23411850a63dc4a30299c?d=identicon)[kishansavaliya](/maintainers/kishansavaliya)

---

Top Contributors

[![KishanSavaliya](https://avatars.githubusercontent.com/u/16853223?v=4)](https://github.com/KishanSavaliya "KishanSavaliya (16 commits)")

---

Tags

aiseoclaudemagento2ChatGptmagento2 modulellms-txtpanth

### Embed Badge

![Health badge](/badges/mage2kishan-module-llms-txt/health.svg)

```
[![Health](https://phpackages.com/badges/mage2kishan-module-llms-txt/health.svg)](https://phpackages.com/packages/mage2kishan-module-llms-txt)
```

###  Alternatives

[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[angeo/module-llms-txt

Magento 2 module for AI Engine Optimization (AEO). Generates spec-compliant llms.txt and llms-full.txt per llmstxt.org standard, plus streaming JSONL for vector indexing. Multi-store, multi-website, CLI, cron, async admin UI, Page Builder-aware sanitization, customer-group pricing, atomic writes, ETag/Cache-Control, .md mirrors.

111.1k](/packages/angeo-module-llms-txt)[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
