Skip to content
AgentReady
By Dylan HuntJune 17th, 2026Updated November 12th, 2026AI discovery filesAIShopifyAgents md

How to Customize Your Shopify agents.md in Two Minutes

Shopify generates an agents.md for every store and serves it at yourstore.com/agents.md. The trouble is the default reads almost identically to every other store and points shopping agents at Shopify's own rails on shop.app instead of telling them what makes you worth picking. We covered why that matters in the agents.md pillar and why an identical file makes you interchangeable to agents.

This is the how-to. Two steps, about two minutes.

Why you paste a file instead of clicking install

Worth understanding before you start, because it explains the one paste. Shopify serves /agents.md natively from the root of your domain. An app can't redirect that path, and it can't serve the file through an app proxy. The only supported way to override the generated file is a theme template at templates/agents.md.liquid.

So a customization has to live in your theme. An app could in principle write that file for you, but doing so needs a special theme-write grant Shopify gates carefully, and handing an app blanket access to edit your theme is a permission most merchants would rather not give. The clean alternative is to have the file generated from your live store and paste it in yourself. You stay in control of your theme, and the file is plain Markdown you own outright, not app code.

Step 1: Generate your file in AgentReady

Open AgentReady and go to Settings > Agent instructions (agents.md). It builds a complete, brand-specific agents.md from your live catalog, collections, policies, FAQs, reviews and best-sellers, with the UCP and MCP transaction rails matched to Shopify's. A quality score shows what's covered and what would make the file stronger, so you can fill gaps before you publish.

Click Copy file to put the whole thing on your clipboard.

Step 2: Paste it into your theme (once)

In your Shopify admin, go to Online Store > Themes > Edit code. Under Templates, create the file agents.md.liquid (create it directly under the templates folder with that exact name; the "Add a new template" picker can save it under the wrong name). Paste the generated content in, and Save.

That's the customization done. Back in AgentReady, mark it pasted so the app can track when your store later drifts from what's live.

Keeping it current

Your agents.md is a snapshot of your store at the moment you pasted it. When your catalog, policies, or collections change, AgentReady detects the drift and flags you with what changed, then hands you the updated file to copy and paste over the old one. New flagship products, a revised return policy, a seasonal collection: the app tells you it's time, you paste, you're current again. If nothing's changed, there's nothing to do.

Verify it

Open https://yourstore.com/agents.md in a browser. You should see your brand content, not the generic default. Unless your theme also has its own llms.txt.liquid or llms-full.txt.liquid template, Shopify falls back to agents.md.liquid for /llms.txt and /llms-full.txt as well (the lookup order is in Shopify's template reference), so it is worth opening those two paths too. (Shopify caches the file, so give it a minute after pasting.)

If you'd rather see the state of your file before you start, the free AI-readiness checker fetches your store the way an agent does and reports whether your agents.md is Distinctive, Generic-default, or Missing.

What stays in your theme

The template you pasted is yours. It does not call AgentReady, and it does not depend on data the app has to keep filled, so it serves the same content whether the app is installed or not. If you switch themes, paste it into the new theme.

That cuts both ways when you uninstall. Uninstalling removes AgentReady's theme app embed, and with it the structured data AgentReady published. It does not remove templates/agents.md.liquid, because AgentReady never wrote that file: you did. The last version you pasted keeps serving until you delete it, and once the app is gone nothing flags it when your store changes. To go back to Shopify's generated default, delete the template in Edit code.

The paste is a deliberate trade. An app with permission to write to your theme could update the file for you, but that permission is broad, Shopify grants it to apps only by exception, and most merchants would rather not hand it out. Pasting keeps AgentReady out of your theme code. The cost is that you make the update yourself: you paste the template once, and again when AgentReady flags a change, and the file is only as current as your last paste. (Wondering how agents.md relates to robots.txt and llms.txt? See what each file does.)

Run the checker to see which state your file is in, then open AgentReady and generate yours.

Quick answers

Frequently asked questions

Why can't an app just serve agents.md for me?
Shopify serves /agents.md natively at the bare root of your domain, and an app can't redirect that path or serve it through an app proxy. The only supported override is a theme template at templates/agents.md.liquid. Writing to a merchant's theme requires a special access grant Shopify gates carefully, so AgentReady generates the finished file for you and you paste it in once.
Do I have to edit theme code every time my catalog changes?
Only to paste an updated file, and only when AgentReady flags a change. You paste the template once; when your store drifts from what's live, AgentReady flags it and hands you the refreshed agents.md to paste over the old one. If nothing has changed, there's nothing to do. The file is plain Markdown, so a paste is a copy and a save.
What happens to my agents.md if I uninstall AgentReady?
It stays in your theme and keeps serving exactly as pasted, because it is a template you added yourself. Uninstalling removes AgentReady's theme app embed, but it does not delete files you pasted. To go back to Shopify's generated default, delete templates/agents.md.liquid in the theme code editor. Until you do, the last version you pasted is what agents read, and nothing will flag it as out of date any more.
How do I verify my agents.md is published?
Visit yourstore.com/agents.md in a browser. You should see your brand content instead of the generic Shopify default. Unless your theme has its own llms.txt or llms-full.txt template, Shopify serves the same content at those paths too.
What does customizing agents.md cost?
Shopify serves the file itself for free, and the free AI-readiness checker shows whether yours is Distinctive, Generic-default, or Missing. Generating the brand-specific version from your live store happens in AgentReady, which installs free with a free audit. Current plan prices are on the pricing page. The work it saves is keeping the file describing your brand instead of the generic default.

See where your store stands

See what AI shopping assistants can read on your store.

Run the free AI-Readiness Checker to see, in under a minute, how ChatGPT, Perplexity, and Google read your store today and exactly what is holding it back. Then AgentReady prepares the fixes, starting with Schema.org structured data, and publishes them after you approve. Install free. Paid plans start at $9/mo.

Comments

Every comment here comes from a verified email. Write yours, confirm from your inbox, and it's live.

Loading comments…

Leave a comment

ShareXLinkedInFacebook

Written by Dylan Hunt, Founder, AgentReady. AgentReady measures what AI says about Shopify stores and helps teams improve the answer. See plans.