← Blog

llms.txtとは?2026年Shopifyガイド

Shopifyマーチャント向けllms.txt完全ガイド:概要、含める内容、利用するAIエンジン、作成方法を解説。

AlexAlex2026-05-11
llms.txtShopifyAI VisibilityGEOChatGPT

実際の調査結果(2026年 Shopify AI可視性ベンチマーク)でも、ShopifyのUCP機能により92.5%の店舗で/llms.txtが応答した一方、独自の商品カタログや購入ガイドを反映してカスタマイズしていた店舗はわずか9.4%でした。

What is llms.txt?

llms.txt は yourstore.com/llms.txt に置く Markdown ファイルです。商品、コレクション、FAQ、ポリシー、購入ガイドなど、AIが重視すべきページを伝えます。

30秒でわかる要点

  • llms.txt lives at the root of your domain: /llms.txt.
  • It lists key URLs such as products, collections, FAQs, policies, and guides.
  • Each URL includes a short explanation so AI systems can prioritize it.
  • It complements sitemap.xml and robots.txt; it does not replace them.

sitemap.xml says “everything”; llms.txt says “what matters most.”

llms.txt が必要になった理由

Shopping discovery is moving from classic search results to AI answers. ChatGPT, Perplexity, Claude, and Google AI Overviews must decide which stores to cite. They can only do that well when they understand what the store sells, who it serves, and which pages are authoritative.

  • robots.txt controls access but does not explain importance.
  • sitemap.xml lists URLs but not priority or meaning.
  • Shopify themes can bury product signal under navigation, scripts, variants, and recommendations.

llms.txt adds a curated, human-readable layer for AI grounding.

What an llms.txt file looks like

https://yourstore.com/llms.txt

A typical file has a brand H1, a summary blockquote, short context, and H2 sections of important links with descriptions.

# Northwind Coffee Co.

> Single-origin specialty coffee roasted weekly in Portland, Oregon, shipped to home brewers across the U.S.

## Products

- [Yirgacheffe Single Origin](https://northwindcoffee.com/products/yirgacheffe): Bright, floral light roast from Ethiopia, 12oz whole bean.

## Buying Guides

- [How to choose your first specialty coffee](https://northwindcoffee.com/blogs/guide/choosing): For new specialty coffee drinkers.

## Policies

- [Shipping & Returns](https://northwindcoffee.com/policies/shipping): U.S. shipping rates, return window, freshness guarantee.

On Shopify, /llms.txt and /llms-full.txt mirror /agents.md by default. A separate expanded file requires an explicit override.

llms.txt vs sitemap.xml vs robots.txt

File Audience Job
robots.txt Search engines and AI bots Permission: who can access what
sitemap.xml Search engine crawlers Inventory: every URL that exists
llms.txt AI systems and answer engines Priority: which URLs matter and what they are about

Use all three together: robots.txt for permission, sitemap.xml for inventory, and llms.txt for AI priority. See our Shopify robots.txt checklist for AI crawlers.

What goes inside a Shopify llms.txt file

1. Store overview

State the brand, what it sells, who it serves, and why it is different in one to three sentences.

2. Featured products or collections

Do not list every SKU. List best sellers, flagship products, defining collections, and high-value categories. Ten to thirty links is enough for most stores.

3. Buying guides and educational content

Include comparison, sizing, care, ingredient, style, and “how to choose” content because AI engines use it to answer shopping questions.

4. FAQs

FAQ pages are easy for AI systems to quote because they already use a question-and-answer format.

5. Policies

Shipping, returns, sizing, warranty, subscriptions, and international availability are frequent AI shopping questions.

6. About and brand context

Add pages about sustainability, local manufacturing, certifications, founder story, or other differentiators that influence buying decisions.

Avoid every product, admin URLs, pages you do not want surfaced, and empty marketing copy. llms.txt is curation, not completeness.

Shopify のエージェント用ファイルを確認・カスタマイズする

Shopify は各ストアの /agents.md を管理し、/llms.txt と /llms-full.txt は初期状態でその内容を共有します。多くのストアでは標準ファイルで十分です。ファイルを存在させるためだけにアプリやテンプレートを追加する必要はありません。

  1. まずストアの /agents.md と /llms.txt を確認し、不足している情報を特定します。
  2. テーマをバックアップし、Online Store > Themes > Edit code で templates/agents.md.liquid を作成すると、3 つのパスをまとめて変更できます。/llms.txt だけ別の内容が必要な場合に templates/llms.txt.liquid を使用します。
  3. 利用できるオブジェクトは agents と request のみです。shop や collections は使えません。agents のフィールドと手動管理する静的リンクを使い、商品一覧をループしないでください。

公式テンプレート資料: llms.txt.liquid · agents.md.liquid.

対応する Liquid の例

# {{ agents.store_name }}

> Store: {{ agents.store_url }}

## Commerce discovery
- UCP: {{ agents.ucp_discovery_url }}
- MCP: {{ agents.mcp_endpoint_url }}
- Sitemap: {{ agents.sitemap_url }}

この例は Shopify の資料と照合済みですが、開発ストアでは実行していません。保存後にストア名、URL、コマース検出用エンドポイント、追加リンクを確認してください。個人の連絡先は公開しないでください。

AI による利用と効果の時期

すべての AI がこのファイルを読み、商品順位に使うとは限りません。効果が出る時期も保証できません。クロール可能なページ、正確な商品情報、有用なガイドを維持し、流入や引用を観察します。

Google の資料では、インデックス済みでスニペット表示対象のページに AI Overviews や AI Mode 向けの追加技術要件はありません。独自の llms.txt は必須ではありません。 Google Search Central.

よくある質問

Shopify は llms.txt を自動生成しますか?

はい。Shopify が標準ファイルを提供します。具体的な追加要件がある場合のみ置き換え、以後は内容を維持してください。

schema があれば独自の llms.txt も必要ですか?

必ずしも必要ではありません。構造化データとエージェント用ファイルは目的が異なります。要件がなければ標準を使えます。どちらも AI の推薦を保証しません。

llms-full.txt と多言語対応は?

/llms.txt と /llms-full.txt は標準で /agents.md と同じ内容です。言語や Markets のサブフォルダー版はなく、主要ドメインで提供されます。必要な言語ページへのリンクは追加できます。

次の手順

まず標準ファイルを確認し、必要なら無料生成ツールで下書きを作成します。アプリ導入前に現行機能と権限を確認し、テンプレート配備や引用監視を当然の機能とみなさないでください。