audit-ecommerce

audit-ecommerce is an agent for Claude Code from XuanRanL/loamwright-SEO-Skill. It costs 35 tokens per session (1,053 once invoked), scanned A, original, Apache-2.0.

A product-page SEO auditor for online shops. It checks structured data about products, prices, offers, ratings, variants, breadcrumbs, images, shipping, and product descriptions.

In plain words
What is it for?
Use it to review ecommerce product pages, validate Product and Offer markup, compare visible prices with structured data, and check product-page completeness.
Why use it?
It helps find missing or inconsistent information that can make product pages harder for search engines and shoppers to understand.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the xuanran-seo-blog-writer plugin — 68 skills, 34 agents, 4 hooks shipped together

Good fit Use it to review ecommerce product pages, validate Product and Offer markup, compare visible prices with structured data, and check product-page completeness.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/xuanranl/loamwright-seo-skill/audit-ecommerce
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/XuanRanL/loamwright-SEO-Skill

Made for: Claude Code.

Or install xuanran-seo-blog-writer, the plugin that ships this one along with the rest of its 68 skills, 34 agents, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for audit-ecommerce

README.md
[![agentmods](https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-ecommerce/github.svg)](https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-ecommerce)
Your own site
<a href="https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-ecommerce"><img src="https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-ecommerce/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for audit-ecommerce

Your own site · 80×15
<a href="https://agentmods.dev/agents/xuanranl/loamwright-seo-skill/audit-ecommerce"><img src="https://agentmods.dev/badge/agents/xuanranl/loamwright-seo-skill/audit-ecommerce.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,053 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00035 $0.01053
Opus 5 $0.00017 $0.00526
Sonnet 5 $0.00007 $0.00211
Haiku 4.5 $0.00003 $0.00105

Measured 10d ago against content hash 1fe8b6c48b8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

audit-ecommerce scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/audit-ecommerce.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Audit E-commerce Agent

Spawn Condition

config.json :: business_type == "ecommerce", OR crawl results contain Product schema or product URL patterns (/product/, /shop/, /p/).

Inputs

  • {audit_dir}/crawl-results.json — product pages with HTML, schema, links
  • {audit_dir}/config.json — domain, product URL patterns, category structure

Read references/audit/schema-types.md before analysis.

Scripts

  • python -m scripts.audit.parse_html {html_path} --url {page_url} --json — the file is positional; output includes a schema array with every JSON-LD block (there are no --extract-* flags, and pricing is not extracted — read visible prices from the HTML yourself)
  • python -m scripts.validate.schema_validator {schema_json_file} --json — deep validation of a JSON-LD payload (or list of payloads) saved to a file; the file argument is positional and there is no --type flag (it detects types itself)

10 Checks

1. Product Schema — Every product page needs Product with: name, image, description, sku, brand.name, offers. CRITICAL if absent; HIGH if offers missing; MEDIUM if recommended fields missing.

2. Offer Schema — Each offers must have: price (numeric, matches visible), priceCurrency (ISO 4217), availability (InStock/OutOfStock/PreOrder/BackOrder/Discontinued), url. HIGH if price or availability missing.

3. AggregateRating — If reviews visible on page: ratingValue + reviewCount must exist in schema and match displayed stars. HIGH if reviews visible but no schema.

4. Variant Handling — Products with size/color variants: parent should use ProductGroup or Product+hasVariant. Each variant needs own Offer+sku. Single canonical URL preferred. MEDIUM if variants create duplicate title/description.

5. Breadcrumbs — Visible trail Home > Category > Subcategory > Product with matching BreadcrumbList schema (ListItem with name + item URL). HIGH if schema absent on product pages.

6. Internal Linking — Category->product links, product->related (3-6), product->category via breadcrumb, cross-sell/upsell sections. Target 5-10 internal links per product page. MEDIUM if avg < 3.

Read the full file on GitHub · 61 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 61 lines · 35 tokens per session scan A 1fe8b6c48b8a

Subscribe to this mod's changes

audit-ecommerce is an agent published in the GitHub repository XuanRanL/loamwright-SEO-Skill (47 stars, last pushed 23d ago), licensed Apache-2.0. It adds 35 tokens to every session and 1,053 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories