agentic-commerce-inject-jsonld

agentic-commerce-inject-jsonld is a skill for Claude Code from commerce-agentic/agentic-commerce-skills. It costs 32 tokens per session (1,121 once invoked), scanned A, original, MIT.

A Shopify theme change that adds canonical Product JSON-LD structured data to product pages. JSON-LD is machine-readable product information that helps search tools and shopping agents understand a page.

In plain words
What is it for?
Use it to add product name, brand, SKU, GTIN, images, description, pricing, availability, ratings, reviews, and offers to Shopify product pages through Liquid.
Why use it?
Without structured product data, shopping agents may need to guess details by scraping the page, which can cause them to miss or misread products, prices, or availability.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code; mentions Codex; built for cline.

Part of the agentic-commerce-skills plugin — 8 skills shipped together

Good fit Use it to add product name, brand, SKU, GTIN, images, description, pricing, availability, ratings, reviews, and offers to Shopify product pages through Liquid.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld
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.

Any agent
npx skills add commerce-agentic/agentic-commerce-skills --skill agentic-commerce-inject-jsonld
Clone the repo
git clone --depth 1 https://github.com/commerce-agentic/agentic-commerce-skills

Made for: Claude Code.

Or install agentic-commerce-skills, the plugin that ships this one along with the rest of its 8 skills.

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 agentic-commerce-inject-jsonld

README.md
[![agentmods](https://agentmods.dev/badge/skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld/github.svg)](https://agentmods.dev/skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld)
Your own site
<a href="https://agentmods.dev/skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld"><img src="https://agentmods.dev/badge/skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld/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 agentic-commerce-inject-jsonld

Your own site · 80×15
<a href="https://agentmods.dev/skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld"><img src="https://agentmods.dev/badge/skills/commerce-agentic/agentic-commerce-skills/agentic-commerce-inject-jsonld.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,121 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.00032 $0.01121
Opus 5 $0.00016 $0.00561
Sonnet 5 $0.00006 $0.00224
Haiku 4.5 $0.00003 $0.00112

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

Security

Grade A, and why

agentic-commerce-inject-jsonld 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 9d 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.

skills/catalog-fix/agentic-commerce-inject-jsonld/SKILL.md · 102 lines

How it starts

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

Purpose

JSON-LD structured data is the language AI shopping agents speak fluently. Themes without canonical Product schema force agents to scrape and infer — error-prone, slow, and frequently skipped entirely.

This skill installs a hardened JSON-LD snippet into the merchant's active Shopify theme that emits a complete Product schema on every PDP, covering: name, brand, sku, gtin, image, description, price, availability, aggregateRating, review, and offers. The snippet uses Liquid for server-side rendering — works on all themes, no JavaScript dependency.

Prerequisites

  • Authenticated Shopify CLI session
  • API scopes: read_themes, write_themes

Parameters

Parameter Type Required Default Description
store string yes Store domain
dry_run bool no true Preview the snippet without modifying theme files
theme string no published Theme to modify: published (live theme) or draft
snippet_name string no agentic-commerce-jsonld Filename for the new snippet
auto_include bool no true Auto-include the snippet in templates/product.liquid (set false to manually include)

Workflow Steps

  1. OPERATION: themes — query to find the target theme (published by default)

  2. Check for existing JSON-LD: parse the theme files to detect existing application/ld+json script tags on product pages. If found, log a warning and skip auto-include to avoid duplicate JSON-LD.

  3. Compose the snippet file at snippets/{snippet_name}.liquid:

    {% raw %}<script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Product",
      "name": {{ product.title | json }},
      "image": [
        {% for image in product.images %}
          {{ image | image_url: width: 1200 | json }}{% unless forloop.last %},{% endunless %}
        {% endfor %}
      ],
      "description": {{ product.description | strip_html | json }},
      "sku": {{ product.selected_or_first_available_variant.sku | json }},
      "brand": {
        "@type": "Brand",
        "name": {{ product.vendor | json }}
      },
      "offers": {
        "@type": "Offer",
        "url": {{ shop.url | append: product.url | json }},
        "priceCurrency": {{ cart.currency.iso_code | json }},
        "price": {{ product.selected_or_first_available_variant.price | money_without_currency | json }},
        "availability": {% if product.selected_or_first_available_variant.available %}"https://schema.org/InStock"{% else %}"https://schema.org/OutOfStock"{% endif %}
      }
    }
    </script>{% endraw %}
    

Read the full file on GitHub · 102 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. 9d ago First seen · 102 lines · 32 tokens per session scan A 6cecd382ae2d

Subscribe to this mod's changes

agentic-commerce-inject-jsonld is a skill published in the GitHub repository commerce-agentic/agentic-commerce-skills (2 stars, last pushed 4mo ago), licensed MIT. It adds 32 tokens to every session and 1,121 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-31.

Related

Other skills, from other repositories

amazon-reviews-api-skill

This skill helps users automatically extract Amazon product reviews via the Amazon Reviews API. Agent should proactively apply this skill when users express needs like getting reviews for Amazon product with ASIN B07TS6R1SF, analyzing customer feedback for a specific Amazon item, getting ratings and comments for a…

browser-act/skills · 124 tokens

amazon-competitor-analyzer

Scrapes Amazon product data from ASINs using browseract.com automation API and performs surgical competitive analysis. Compares specifications, pricing, review quality, and visual strategies to identify competitor moats and vulnerabilities.

browser-act/skills · 48 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

food-order

Reorder previous Foodora orders, preview cart contents, and track delivery ETA/status with ordercli. Use when the user wants to reorder food, check delivery status, or browse recent Foodora order history. Never confirm an order without explicit user approval.

Bitterbot-AI/bitterbot-desktop · 53 tokens

product-description-generator

E-commerce product description generator for any platform. Generates optimized titles, bullet points, descriptions, and backend keywords using competitor research + keyword scoring + FABE copywriting. Two modes: (A) Create — generate listing from product specs with optional competitor analysis, (B) Optimize — improve…

nexscope-ai/eCommerce-Skills · 126 tokens

amazon-price-tracker

Amazon price monitoring and competitive pricing intelligence. Real-time price tracking, Buy Box analysis, promotion detection, and dynamic pricing strategy optimization. Use when the user asks about price monitoring, competitor pricing, Buy Box tracking, or pricing strategy.

nexscope-ai/Amazon-Skills · 51 tokens