# Optimize meta tags and content with NanoClaw

> Ask your NanoClaw agent in a chat message to preview StoreSEO meta titles, descriptions and URL handles for a product, then reply yes to save what you like.

Optimizing meta tags with NanoClaw means asking your self-hosted agent, in a chat message, to have StoreSEO draft a meta title, description, tags and URL handle for one Shopify resource and to save only the parts you answer yes to.

## How do you set up NanoClaw for this?

### 1. Create a StoreSEO access token

In the StoreSEO app open Settings, AI Toolkit and generate a personal access token. Keep it out of chat messages and out of Git.

```text
Settings → AI Toolkit → create a token
```

### 2. Add StoreSEO to your agent's container

Run this on the machine that hosts NanoClaw, using your agent group's ID from ncl groups list. The header goes in as a JSON object. NanoClaw may ask an admin to approve the change.

```bash
ncl groups config add-mcp-server --id <group-id> --name storeseo \
  --url https://mcp.storeseo.com/mcp \
  --headers '{"Authorization":"Bearer YOUR_TOKEN"}'
```

### 3. Restart the agent's container

The new server takes effect after a restart. Then message your agent with its trigger word, @Andy by default, and ask for your store's SEO score.

```bash
ncl groups restart --id <group-id>
```

### 4. Or ask Claude Code to wire it into your fork (optional)

NanoClaw is customized by changing your own copy, and its README says to tell Claude Code what you want. Run this inside your NanoClaw folder if you would rather not type the command yourself.

```text
Add the remote MCP server https://mcp.storeseo.com/mcp to my agent as storeseo, authenticated with this Authorization: Bearer token, then restart the agent.
```

Then ask: "@Andy use StoreSEO to preview new meta for my Soy Candle product and show the old and new title, description and handle before saving anything."

## How does this work in NanoClaw?

The whole exchange happens in one chat thread. You message the agent with its trigger word and name a single product, for instance @Andy improve the meta on my Soy Candle. The agent calls storeseo_get_resource_seo to read the current title and description, then storeseo_preview_resource_optimization. StoreSEO writes the draft on its own servers, so the words come from StoreSEO and not from the model behind NanoClaw. The response carries a draft id and a projected score change, and the agent pastes the old and new text into the chat so you can compare them on your phone.

Reply in plain words. If you say apply the title and description but skip the handle, the agent passes only those fields to storeseo_apply_resource_optimization. A changed URL handle creates a redirect from the old address, which is why the agent should show both addresses before that call. The preview spends AI Content Optimizer credit even if you decline, so name one product at a time. Your yes in the thread is an instruction the agent follows. Whether NanoClaw itself pauses before the tool runs depends on your fork and your admin approval settings, so the chat confirmation may be the only check you have.

Do the previews in the conversation and keep them out of scheduled tasks. A task that previews on a cron schedule would spend credit every run and has no one to approve the result. A better pattern is a report only task that lists the lowest scoring products each week, followed by a chat where you pick one and walk through its meta.

### Example session (illustrative)

**You:** @Andy use StoreSEO to improve the meta on my Soy Candle product.
→ `storeseo_start` (read-only)
→ `storeseo_get_resource_seo` (read-only)
**Agent:** The meta description is empty. A preview spends AI Content Optimizer credit and saves nothing. Should I generate one?
**You:** Yes, go ahead.
→ `storeseo_preview_resource_optimization` (preview)
**Agent:** Illustrative draft: a new title and description, score projected from 31 to 78. Apply the title and description only, and leave the handle alone?
**You:** Yes, apply those two.
→ `storeseo_apply_resource_optimization` (needs approval)

## What StoreSEO does: meta tags and on-page content

StoreSEO generates the content server-side: meta title and description, tags, a keyword-led URL handle, FAQs and an AI snippet. The agent shows you the draft and the projected score change before anything is saved, then applies all of it or only the parts you approve.

Tools: `storeseo_get_resource_seo`, `storeseo_preview_resource_optimization`, `storeseo_apply_resource_optimization`, `storeseo_get_ai_optimization_settings`, `storeseo_update_ai_optimization_settings`

Requires: Generating a preview spends AI Content Optimizer credit; applying a preview is free.

1. **Read the current state.** The agent reads the resource's SEO record so it knows which fields exist, which fail and what the preview will add.
2. **Generate a preview.** StoreSEO writes the meta title, description, tags, URL handle, FAQs and AI snippet and projects the new SEO score, plus the GEO score for products. Nothing is saved yet. Preview spends credit whether or not you apply it.
3. **Show you the draft.** The agent presents the generated text and the score change. When the handle changes it shows the old and new URL and tells you a redirect will be created.
4. **Apply what you approve.** After your yes it applies everything, or only the parts you chose, for example the meta but not the FAQs. Skipped fields stay available from the same draft for an hour.
5. **Report the new score.** The apply call returns the recomputed score and the remaining checklist, so the agent tells you what changed and offers the next most useful fix.

## Meta tags and on-page content reference

| Setting or limit | What applies |
|---|---|
| Generated fields | Meta title, meta description, tags, URL handle, FAQs, AI snippet |
| Resource types | Products, collections, pages and articles (collections have no meta tags or tags axis in auto settings) |
| Who writes the copy | StoreSEO, server-side. The agent never authors meta, FAQs or handles itself |
| Cost | Preview spends AI Content Optimizer credit; apply is free; a new preview spends again |
| Draft lifetime | One hour after the preview |
| URL handle | Applying a new handle changes the live URL and creates a redirect from the old one; a handle already in use is dropped automatically |
| Partial apply | Apply a subset of axes, or skip individual fields such as the handle |
| Auto optimization | Optional settings that generate content for newly synced resources; only future syncs, nothing is backfilled |
| Auto settings plan | Configurable on any plan; switching an auto toggle on needs a paid plan and no active trial |

## Rules NanoClaw follows

- The agent previews first and applies only after you confirm the previewed content.
- When a handle changes, you see the old URL and the new URL before the apply call, because applying creates a redirect.
- A request like optimize my worst five products authorizes the previews; the agent should remind you that previews spend credit even if you do not apply them.
- Turning on auto optimization spends credit on every future sync, so the agent proposes the exact sections and waits for your yes.
- Product title, focus keyword and description body are not written by this job; the description has its own tool in the AI search job.

**In NanoClaw:** On a chat app a yes can be misread. If you send a quick thumbs up or a reply that lands on a different message in a busy Slack or Discord channel, the agent may take it as consent for the wrong draft. Reply in a full sentence that names the product and the fields, such as yes, apply the Soy Candle title and description. If your fork has no tool approval, that sentence is the only brake before the write.

## What can you ask NanoClaw to do?

- @Andy use StoreSEO to preview new meta for my Soy Candle product and show the old and new title, description and handle before saving anything.
- @Andy preview meta for my three lowest-scoring products, one at a time, and wait for my reply after each one.
- @Andy apply only the meta title and description from that draft and skip the URL handle.
- Optimize the meta title and description for my five lowest-scoring products. Show me the previews before you apply anything.
- Preview a new meta title, description and FAQ for the collection Summer Dresses, and keep the current URL handle.
- Apply the meta from that preview but skip the FAQ.
- Which of my pages have no meta description? Draft one for each and wait for my approval.
- What does StoreSEO optimize automatically for new products right now?
- Turn on automatic meta and alt text for new products only. Tell me what that will spend first.

## Frequently asked questions

### Does the model behind NanoClaw write my meta text?

No. StoreSEO generates the meta title, description, tags, handle, FAQs and AI snippet on its own servers. NanoClaw's agent fetches the draft, shows it in the chat and passes along only the fields you approve.

### How do I make NanoClaw ask before it saves meta?

StoreSEO tells the agent to preview first and wait for your yes. That is an instruction, not a lock, so the hard stop is whatever approval behavior you set in your own fork. Test it once with a harmless product before trusting it.

### Does previewing an optimization change my product?

No. A preview generates the content and projects the score without saving anything. It does spend AI Content Optimizer credit, and applying the draft afterwards is free.

### What happens to the old URL when the handle changes?

Applying a new URL handle updates the live URL and StoreSEO creates a redirect from the old one, so existing links keep working. The agent should show you both URLs before it applies the change.

### Can I apply only part of a preview?

Yes. The apply step takes the axes you approved, and individual content fields such as the URL handle can be skipped. Skipped parts stay available from the same draft for one hour.

### Does auto optimization fix my existing products?

No. Auto optimization only acts on resources synced or updated after you turn it on. Existing products are fixed with the preview and apply steps in this job.

### Will StoreSEO change my product title?

No. This job writes the SEO meta title, not the storefront product title. The product title is edited in Shopify admin.

## Meta tags and on-page content with other agents

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

## More NanoClaw guides

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

## Related documentation

- [Add a meta description to Shopify products](https://storeseo.com/docs/add-meta-description-to-shopify-products)
- [How to use the AI Content Optimizer](https://storeseo.com/docs/how-to-use-storeseo-ai-content-optimizer)
- [How to enable auto AI optimization](https://storeseo.com/docs/how-to-enable-auto-ai-optimization)
- [AI Content Optimizer credits](https://storeseo.com/docs/credits-ai-content-optimizer)

---

Canonical: https://storeseo.com/agent/nanoclaw/optimize-meta
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
