Shopify recently introduced native storefront routes for /llms.txt and /agents.md, and they now appear to be automatically generated by Shopify itself.
I noticed that previous proxy/redirect-based approaches for customizing llms.txt no longer work because Shopify serves these routes by default at the platform level.
Has anyone found a supported way to customize or override the content of these generated files?
Same issue. I had a robust LLMS.txt that has now been stripped to a bare bones content and an Ad to sign up on Shopify.
You can add a templates/llms.txt.liquid to your theme to customize just like robost.txt.
Confirming that Jason’s solution works: adding templates/llms.txt.liquid to the theme does override Shopify’s auto-generated content, exactly like robots.txt.liquid does. Thanks @Jason_Richey – that saved us a lot of headache.
For anyone running into this: the previous workaround via URL redirects (Admin → Online Store → Navigation → URL Redirects) silently stopped working once Shopify started serving /llms.txt natively. The redirect entry still exists in the admin but is no longer honored.
One open question: is there an equivalent template hook for /agents.md? Couldn’t find one in the theme docs yet – happy to hear if anyone has tried.
Thanks @Nordalux ,
we have found for llms-full.txt also. it is same as templates/llms-full.txt.liquid
Same question still i’m figuring out for /agents.md
Hey all, I just wrote a LinkedIn article on this topic and thought I’d share here. Always learning and always looking for feedback: please tell me if this article is helpful or not. Thank you.
Here’s the article: Your Shopify Store Just Became an AI Storefront. Your FAQs Are the Front Door.