# How to Customize Your Shopify agents.md in Two Minutes

Canonical: https://joinagentready.com/blog/customize-shopify-agents-md

[By Dylan Hunt](https://joinagentready.com/authors/dylan-hunt) June 17th, 2026 Updated November 12th, 2026 [AI discovery files](https://joinagentready.com/blog/topics/ai-discovery-files)

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](https://joinagentready.com/blog/agents-md-shopify) and [why an identical file makes you interchangeable to agents](https://joinagentready.com/blog/default-agents-md-killing-your-brand).

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](https://app.joinagentready.com/) 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](https://shopify.dev/docs/storefronts/themes/architecture/templates/llms-full-txt-liquid)), 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](https://joinagentready.com/tools/shopify-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](https://joinagentready.com/blog/robots-txt-vs-llms-txt-vs-agents-md).)

[Run the checker](https://joinagentready.com/tools/shopify-ai-readiness-checker) to see which state your file is in, then open [AgentReady](https://app.joinagentready.com/) 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.

Dylan Hunt

Author

[Dylan Hunt](https://joinagentready.com/authors/dylan-hunt)

Builds Shopify catalog readability and AI answer visibility at AgentReady and Caffeine and Commerce.

[About Dylan →](https://joinagentready.com/authors/dylan-hunt)

## Check your storefront’s public data

Get a free report on the product markup and discovery files the checker finds in under a minute.

[Run free audit](https://joinagentready.com/tools/shopify-ai-readiness-checker) [View on the App Store](https://apps.shopify.com/agentreadyapp?utm_source=agentready&utm_medium=referral&utm_campaign=site_install&utm_content=blog_cta)

## Comments

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

Loading comments…

Share [X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fjoinagentready.com%2Fblog%2Fcustomize-shopify-agents-md&text=How%20to%20Customize%20Your%20Shopify%20agents.md%20in%20Two%20Minutes) [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fjoinagentready.com%2Fblog%2Fcustomize-shopify-agents-md) [Facebook](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fjoinagentready.com%2Fblog%2Fcustomize-shopify-agents-md)

Written by [Dylan Hunt](https://joinagentready.com/authors/dylan-hunt), Founder, AgentReady. AgentReady audits Shopify structured data and checks approved changes on the live storefront. [See plans](https://joinagentready.com/pricing).

One product, plus research

### The product, and the research behind it

-   Schema for AI
    
    For Shopify today
    
    Make your Shopify catalog easier for AI to understand.
    
    From $9/mo
    
    [Explore Schema for AI →](https://joinagentready.com/features/structured-data)
-   AI Answers
    
    Research preview, not for sale
    
    See what AI says. Improve the source. Compare what changed.
    
    [Read the research record →](https://joinagentready.com/ai-answers)

Free guide

### The Shopify Functions Playbook

25 real things you can build with Functions, with the plan requirements and limits stated plainly. Emailed to you, readable immediately.

More in AI discovery files

-   [Does Shopify's Default robots.txt Block AI Crawlers? We Read the File](https://joinagentready.com/blog/shopify-default-robots-txt-ai-crawlers)
-   [What Shopify's Default agents.md and llms.txt Contain, and What Is Worth Changing](https://joinagentready.com/blog/shopify-default-agents-md-llms-txt)
-   [What AI Assistants Actually See When They Read Your Shopify Store](https://joinagentready.com/blog/what-ai-assistants-see-when-they-read-your-store)
-   [How to Generate an llms.txt File for Your Shopify Store](https://joinagentready.com/blog/generate-llms-txt-shopify)

[See all in AI discovery files →](https://joinagentready.com/blog/topics/ai-discovery-files)
