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.
npx skills add finsilabs/awesome-ecommerce-skills --skill shopify-metafieldsgit clone --depth 1 https://github.com/finsilabs/awesome-ecommerce-skillsWrote 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.
[](https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/shopify-metafields)<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/shopify-metafields"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/shopify-metafields/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.
<a href="https://agentmods.dev/skills/finsilabs/awesome-ecommerce-skills/shopify-metafields"><img src="https://agentmods.dev/badge/skills/finsilabs/awesome-ecommerce-skills/shopify-metafields.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00033 | $0.02661 |
| Opus 5.5 | $0.00013 | $0.01064 |
| Sonnet 5.5 | $0.00007 | $0.00532 |
| Haiku 4.5 | $0.00003 | $0.00266 |
Grade A, and why
shopify-metafields 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shopify Metafields
Overview
Metafields let you attach structured custom data to Shopify resources — products, variants, orders, customers, collections, and pages — without building a separate database. Metafield definitions enforce type validation (text, number, date, URL, JSON, file, product reference, etc.) and make metafields available in the Liquid template editor and Storefront API. Metaobjects extend this concept to create reusable, standalone custom data structures.
When to Use This Skill
- When products need additional attributes beyond Shopify's default fields (care instructions, dimensions, certifications)
- When storing per-customer data such as loyalty tier, subscription status, or B2B account number
- When building content-managed sections in a theme using metafield references (FAQs, size guides, feature callouts)
- When attaching order-level custom data from checkout (gift message, delivery instructions)
- When creating reusable structured content entries with Metaobjects (team members, press mentions, specs)
Core Instructions
-
Create metafield definitions via the Admin API
Definitions enforce type and make metafields storefront-accessible:
// Create a metafield definition for product care instructions const response = await adminClient.request(` mutation CreateMetafieldDefinition($definition: MetafieldDefinitionInput!) { metafieldDefinitionCreate(definition: $definition) { createdDefinition { id name namespace key type { name } } userErrors { field message code } } } `, { variables: { definition: { name: "Care Instructions", namespace: "custom", key: "care_instructions", type: "multi_line_text_field", ownerType: "PRODUCT", description: "Washing and care instructions for the product", visibleToStorefrontApi: true, // Optional: pin to product admin UI (use pinnedPosition in API version 2023-10+) pinnedPosition: 1, }, }, });
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- evals/metafield-definitions-and-bulk-write/criteria.json 2.7 KB
- evals/metafield-definitions-and-bulk-write/task.md 6.5 KB
- evals/metaobjects-for-structured-content/criteria.json 3.0 KB
- evals/metaobjects-for-structured-content/task.md 4.0 KB
- evals/storefront-api-metafield-queries/criteria.json 2.8 KB
- evals/storefront-api-metafield-queries/task.md 2.4 KB
- tile.json 231 B
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.
- 2mo ago First seen · 298 lines · 33 tokens per session scan A 21efe677f78a
shopify-metafields is a skill published in the GitHub repository finsilabs/awesome-ecommerce-skills (63 stars, last pushed 15d ago), licensed MIT. It adds 33 tokens to every session and 2,661 once invoked, about $0.0001 per session on Opus 5.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-09-03.
shopify-metafields compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| shopify-metafieldsfinsilabs/awesome-ecommerce-skills | Skill | 63 | 15d ago | MIT | A | 33 | Claude Code, Codex |
| shopify-theme-buildermoVictor99/shopify-theme-builder | Skill | 8 | 3mo ago | MIT | A | 87 | Claude Code, Codex |
| postgres-commit-history-articledigoal/blog | Skill | 8.6k | 2d ago | GPL-2.0 | A | 127 | Codex |
| b2c-custom-objectsSalesforceCommerceCloud/b2c-developer-tooling | Skill | 58 | yesterday | Apache-2.0 | A | 104 | Claude Code |
| b2c-querying-dataSalesforceCommerceCloud/b2c-developer-tooling | Skill | 58 | yesterday | Apache-2.0 | A | 108 | Claude Code |
| rp-mapperwix/skills | Skill | 38 | yesterday | MIT | A | 31 | Claude Code |
| sfcc-cachingtaurgis/sfcc-dev-mcp | Skill | 28 | 5d ago | MIT | A | 46 | Claude Code, Codex |