# Publish llms.txt and agents.md with Paperclip

> Check llms.txt and agents.md status from a Paperclip routine, and generate or roll back either file in a supervised task, since both publish to your live theme.

Managing llms.txt and agents.md from Paperclip means letting an agent read StoreSEO's status for both files on a schedule and keeping generation, version switches and resets for a task you start, because each of those publishes or removes a live file.

## How do you set up Paperclip for this?

### 1. Add StoreSEO to the agent Paperclip runs

Run this on the machine that hosts the agent, as the same OS user the Paperclip heartbeat runs as, from the agent's working directory. It is the claude_local adapter path, and user scope makes StoreSEO available to every Claude Code agent that user runs.

```bash
claude mcp add --transport http --scope user storeseo https://mcp.storeseo.com/mcp
```

### 2. Sign in once, then let Paperclip run headless

Start claude interactively as that same user, run /mcp, choose storeseo and finish the browser sign-in: pick your Shopify store and approve. Claude Code keeps the credentials, so later Paperclip runs need no browser. Check with claude mcp get storeseo.

```text
/mcp
```

### 3. Or connect with an access token (optional)

If the host has no browser, generate a token in StoreSEO under Settings, AI Toolkit and add the server with the token as a header instead of signing in. Keep the token in a Paperclip secret rather than in a file you commit.

```bash
claude mcp add --transport http --scope user storeseo https://mcp.storeseo.com/mcp \
  --header "Authorization: Bearer YOUR_TOKEN"
```

### 4. Or connect it as a Paperclip connector (optional)

On the Connectors page choose Connect your own MCP server and paste the URL. Paperclip walks you through the sign-in and lists StoreSEO's tools so you can set each one to Allowed, Ask first or Off. It shows as an Unverified server, which describes Paperclip's review, not the connection.

```text
https://mcp.storeseo.com/mcp
```

Then ask: "Check whether my llms.txt is current and which version is live, and whether agents.md is custom or Shopify's default. Report on this ticket and change nothing."

## How does this work in Paperclip?

These two files are a good example of reads and writes that look similar and are not. A status check is cheap and safe: the agent calls storeseo_get_llms_txt_status and storeseo_get_agents_md_status and reports whether llms.txt is current, which version serves, whether a rebuild is due, and whether the store serves a custom agents.md or Shopify's default. That fits a Paperclip routine well, since it fires on a cron schedule, creates a task, wakes the agent and leaves the answer as a comment you read on Monday.

Generation is different. storeseo_generate_llms_txt writes a template into your live theme and uploads a copy to Shopify Files in the same run, then takes a minute or two, so the agent polls storeseo_get_llms_txt_status until generation is finished. storeseo_generate_agents_md publishes live at once, replaces Shopify's default and spends credit. Deleting an llms.txt version and resetting agents.md cannot be undone. For those, write a task that names the exact action, assign it to an agent, and have it ask in a comment before the call. Switching versions with storeseo_activate_llms_txt_version is milder, and storeseo_list_llms_txt_versions shows which of the latest ten is active.

Polling suits a heartbeat-driven agent badly if the wake interval is long, so ask it to poll within one run and report when generation ends. Also ask it to state the public /llms.txt and /agents.md URLs in its final comment, so a reviewer can open the live file and check it against the report instead of trusting the summary.

### Example session (illustrative)

**You:** Ticket: is llms.txt current? If it is stale, tell me what regenerating does.
→ `storeseo_get_llms_txt_status` (read-only)
→ `storeseo_get_agents_md_status` (read-only)
**Agent:** llms.txt is stale and a rebuild is due. agents.md is Shopify's default. Regenerating writes a template into your live theme and uploads a copy to Shopify Files in the same run. Regenerate llms.txt now?
**You:** Yes, regenerate llms.txt. Leave agents.md alone.
→ `storeseo_generate_llms_txt` (needs approval)
→ `storeseo_get_llms_txt_status` (read-only)

## What StoreSEO does: llms.txt and agents.md

llms.txt is a curated map of your store for AI crawlers, and agents.md tells AI shopping agents who you are and how to buy. StoreSEO generates both from your store data and publishes them to your live theme; the agent checks status, generates, switches llms.txt versions and resets agents.md to Shopify's default.

Tools: `storeseo_get_llms_txt_status`, `storeseo_generate_llms_txt`, `storeseo_list_llms_txt_versions`, `storeseo_activate_llms_txt_version`, `storeseo_delete_llms_txt_version`, `storeseo_get_agents_md_status`, `storeseo_generate_agents_md`, `storeseo_reset_agents_md`

Requires: agents.md generation spends AI Content Optimizer credit and needs at least one published product.

1. **Check what is live.** The agent reads the llms.txt status (settings, latest version, whether a rebuild is due, public URL) and the agents.md status (custom file or Shopify's default, public URL).
2. **Warn before publishing.** Generating llms.txt writes a template to your live theme and uploads a copy to Shopify Files in the same run, with no separate publish step. Generating agents.md publishes it live at once and spends credit. The agent says so and waits for your yes.
3. **Generate and wait.** llms.txt generation takes a minute or two; the agent polls the status until it finishes. agents.md returns the published text and its URL straight away.
4. **Manage versions.** StoreSEO keeps the latest ten llms.txt versions. The live file serves the active version, which is not always the newest, and any version can be made active again.
5. **Roll back.** Deleting a version is permanent. Resetting agents.md drops the custom file so Shopify's default serves again, and there is no history to restore it from.

## llms.txt and agents.md reference

| Setting or limit | What applies |
|---|---|
| llms.txt | Generated from your products, collections, pages and posts; served at your store's /llms.txt |
| Where it is written | A template in the live theme plus a copy in Shopify Files, in the same run |
| Schedule | llms.txt can regenerate on a saved schedule; settings passed with a run are saved for scheduled runs |
| Versions kept | The latest ten; the live file serves the active one |
| Generation time | About one to two minutes for llms.txt |
| agents.md | AI-written from your brand profile, top products, collections and contact details; served at /agents.md |
| agents.md publish | Live immediately; replaces Shopify's native default |
| agents.md reset | Shopify's default serves again within seconds; the custom text is gone for good |

## Rules Paperclip follows

- The agent tells you that llms.txt generation writes to your live theme before it starts.
- agents.md generation publishes live and spends credit, so the agent says both and waits for your yes.
- Deleting an llms.txt version and resetting agents.md cannot be undone; the agent confirms each one.
- Deleting the active llms.txt version promotes the next newest automatically, so the agent says which version will go live.

**In Paperclip:** llms.txt generation takes one to two minutes and publishes to the live theme in the same run, and a Paperclip agent woken by a routine will not wait for a yes. With the Claude Code adapter's dangerouslySkipPermissions on by default, a scheduled agent could generate, delete a version or reset agents.md. Keep the routine to the two status tools and the version list, and run generation, deletion and reset as tasks you start yourself.

## What can you ask Paperclip to do?

- Check whether my llms.txt is current and which version is live, and whether agents.md is custom or Shopify's default. Report on this ticket and change nothing.
- Generate a new llms.txt with products and collections but not blog posts. Tell me it writes to my live theme and wait for my reply before you start.
- List my llms.txt versions and tell me which one is active. Do not switch or delete anything.
- Is my llms.txt up to date, and which version is live right now?
- Generate a new llms.txt that includes products and collections but not blog posts. Warn me before it goes live.
- Show me my llms.txt versions and switch back to the one from last week.
- Does my store serve a custom agents.md or Shopify's default?
- Write an agents.md for my store and publish it. Tell me what it costs first.
- Reset agents.md to Shopify's default.

## Frequently asked questions

### Can Paperclip keep my llms.txt fresh on a schedule?

StoreSEO can regenerate llms.txt on its own saved schedule, and settings passed in a run are saved for those scheduled runs. A Paperclip routine is better used to check status and report, so you decide when the live file is regenerated.

### What if I do not like a generated agents.md?

Reset it and Shopify's default serves again within seconds, but the custom text is discarded with no history. Ask the agent to paste the generated markdown onto the ticket before you reset, if you might want it back.

### What is the difference between llms.txt and agents.md?

llms.txt is a curated map of your store for AI crawlers and answer engines, served at /llms.txt. agents.md is the file AI shopping agents read to understand your brand and how to shop with you, served at /agents.md. StoreSEO can generate both.

### Does generating llms.txt change my theme?

Yes. The same run writes an llms.txt template into your live theme and uploads a copy to Shopify Files. There is no separate publish step, which is why the agent should warn you before it starts.

### Can I go back to an older llms.txt?

Yes. StoreSEO keeps the latest ten versions, and any of them can be made the active one, which republishes it to your storefront. Deleting a version is permanent.

### Can I undo a generated agents.md?

You can reset it, which makes Shopify's native default serve again within seconds. The custom text is discarded with no history, so keep a copy if you might want it back.

## llms.txt and agents.md with other agents

- [Publish llms.txt and agents.md with Claude](https://storeseo.com/agent/claude/llms-txt-agents-md)
- [Publish llms.txt and agents.md with ChatGPT](https://storeseo.com/agent/chatgpt/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Claude Code](https://storeseo.com/agent/claude-code/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Claude Cowork](https://storeseo.com/agent/claude-cowork/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Cursor](https://storeseo.com/agent/cursor/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Codex](https://storeseo.com/agent/codex/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Gemini CLI](https://storeseo.com/agent/gemini-cli/llms-txt-agents-md)
- [Publish llms.txt and agents.md with GitHub Copilot](https://storeseo.com/agent/github-copilot/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Windsurf](https://storeseo.com/agent/windsurf/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Grok](https://storeseo.com/agent/grok/llms-txt-agents-md)
- [Publish llms.txt and agents.md with ChatGPT dots](https://storeseo.com/agent/chatgpt-dots/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Grok Bot](https://storeseo.com/agent/grok-bot/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Muse](https://storeseo.com/agent/muse/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Manus](https://storeseo.com/agent/manus/llms-txt-agents-md)
- [Publish llms.txt and agents.md with OpenClaw](https://storeseo.com/agent/openclaw/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Hermes Agent](https://storeseo.com/agent/hermes-agent/llms-txt-agents-md)
- [Publish llms.txt and agents.md with NanoClaw](https://storeseo.com/agent/nanoclaw/llms-txt-agents-md)
- [Publish llms.txt and agents.md with OpenCode](https://storeseo.com/agent/opencode/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Zed](https://storeseo.com/agent/zed/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Kiro](https://storeseo.com/agent/kiro/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Antigravity](https://storeseo.com/agent/antigravity/llms-txt-agents-md)
- [Publish llms.txt and agents.md with Kimi Code](https://storeseo.com/agent/kimi/llms-txt-agents-md)

## More Paperclip guides

- [Paperclip and StoreSEO overview](https://storeseo.com/agent/paperclip)
- [Audit your store's SEO with Paperclip](https://storeseo.com/agent/paperclip/seo-audit)
- [Optimize meta tags and content with Paperclip](https://storeseo.com/agent/paperclip/optimize-meta)
- [Optimize images and alt text with Paperclip](https://storeseo.com/agent/paperclip/image-seo)
- [Get products ready for AI search with Paperclip](https://storeseo.com/agent/paperclip/ai-search-readiness)
- [Set up structured data with Paperclip](https://storeseo.com/agent/paperclip/structured-data)
- [Manage sitemaps and indexing with Paperclip](https://storeseo.com/agent/paperclip/sitemaps)
- [Track keyword rankings with Paperclip](https://storeseo.com/agent/paperclip/keyword-tracking)
- [Read Search Console and Analytics with Paperclip](https://storeseo.com/agent/paperclip/google-reports)
- [Write SEO blog post drafts with Paperclip](https://storeseo.com/agent/paperclip/blog-posts)

## Related documentation

- [How to generate llms.txt with StoreSEO](https://storeseo.com/docs/how-to-generate-llms-txt-with-storeseo)
- [Optimize your agentic discovery score](https://storeseo.com/docs/how-to-optimize-agentic-discovery-score-storeseo)
- [Set up your store for AI brand visibility](https://storeseo.com/docs/set-up-your-store-for-ai-brand-visibility)

---

Canonical: https://storeseo.com/agent/paperclip/llms-txt-agents-md
Last updated: October 2026.

Approval: Reads run straight away; StoreSEO tells the agent to preview and wait for your yes before it writes, spends credit or publishes, and your client's tool-approval setting is the hard stop.

Every agent guide: https://storeseo.com/agent · Connect the MCP server: https://storeseo.com/docs/connect-storeseo-mcp-to-your-ai-assistant · Pricing: https://storeseo.com/pricing · Install StoreSEO: https://apps.shopify.com/storeseo
