metafields-metaobjects

metafields-metaobjects is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 83 tokens per session (4,545 once invoked), scanned B, original, MIT.

A guide to Shopify metafields and metaobjects, which store custom information on shop records or in reusable multi-field records.

In plain words
What is it for?
It supports defining, naming, creating, querying, and displaying custom data for products, orders, customers, themes, FAQs, reviews, guides, and other records.
Why use it?
It helps developers choose the right way to add data that Shopify’s standard fields do not provide.

Skill for Claude Code

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

Part of the shopify-app-builder plugin — 32 skills, 9 commands, 5 agents shipped together

Good fit It supports defining, naming, creating, querying, and displaying custom data for products, orders, customers, themes, FAQs, reviews, guides, and other records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/metafields-metaobjects
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 khadinakbarlabs/shopify-app-builder --skill metafields-metaobjects
Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 32 skills, 9 commands, 5 agents.

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 metafields-metaobjects

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/metafields-metaobjects.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/metafields-metaobjects)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/metafields-metaobjects"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/metafields-metaobjects.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,545 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00083 $0.04545
Opus 5 $0.00042 $0.02273
Sonnet 5 $0.00017 $0.00909
Haiku 4.5 $0.00008 $0.00455

Measured 7d ago against content hash 054c403a36bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

metafields-metaobjects scanned grade B with 1 finding 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 7d 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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

const response = await fetch('https://myshop.myshopify.com/api/2026-01/graphql.json', { method: 'POST',
skills/metafields-metaobjects/SKILL.md · 793 lines

How it starts

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

Shopify Metafields and Metaobjects Guide

Metafields vs Metaobjects: When to Use Each

Metafields

Purpose: Store custom key-value data on existing resources (products, orders, customers, etc.)

Use Metafields When:

  • Adding custom attributes to existing resources
  • Simple key-value relationships
  • Data is tightly coupled to the resource
  • Needed in themes (Liquid access)
  • Examples: size chart URL, custom color, warranty period, gift message

Characteristics:

  • Attached to existing resource types
  • Simple string or typed values
  • Queryable via GraphQL
  • Accessible in Liquid templates
  • Max 2,500 metafields per resource
  • Namespace + key = unique identifier
  • Supports display in admin UI via definitions

Metaobjects

Purpose: Define custom data types/records independent of resources

Use Metaobjects When:

  • Creating independent data structures
  • Multi-field records needed
  • Reusable data types across shop
  • Complex relationships
  • Data referenced by multiple resources
  • Examples: FAQs, reviews, testimonials, size guides, lookbooks, staff profiles

Characteristics:

  • Independent data type (like custom table)
  • Multiple fields with defined types
  • Queryable via GraphQL
  • Can be referenced by products/collections via metafield
  • Organized in admin UI
  • Supports indexing and search
  • Better for data that stands alone

Comparison Table:

Feature Metafield Metaobject
Attached to resources Yes No (standalone)
Multi-field support No (single value) Yes
Admin UI form Via definition Native editor
Liquid access Direct Via reference metafield
Relationship support One-way (to resource) One-way (reference metafield)
Reusability Per resource type Across shop
Use case Quick attributes Structured data

Metafield Resource Types

The following resources support metafields:

  1. Product - 2,500 max metafields per product
  2. Product Variant - 2,500 max metafields
  3. Order - Custom order data
  4. Customer - Customer profiles
  5. Collection - Collection attributes
  6. Draft Order - Pre-order metadata
  7. Shop - Store-wide settings
  8. Location - Warehouse/store details
  9. Company - B2B company info
  10. Company Location - B2B location data
  11. Market - Market-specific metadata
  12. File - Asset metadata

Read the full file on GitHub · 793 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. 7d ago First seen · 793 lines · 83 tokens per session scan B 054c403a36bf

Subscribe to this mod's changes

metafields-metaobjects is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 28d ago), licensed MIT. It adds 83 tokens to every session and 4,545 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (sends data to an external url). 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

ebay-search

Search eBay listings - find items, auctions, deals, and compare prices.

gooseworks-ai/goose-skills · 19 tokens

ulw-execute

Executes a written Prometheus work plan with Boulder state, evidence ledger, worktree discipline, and parallel subagents. Use when the user says ulw-execute or asks to run a .omo/plans plan.

code-yeongyu/oh-my-openagent · 49 tokens

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

review-work

Post-implementation gate review: run manual QA on the real surface yourself, then launch ONE gate reviewer (never a panel) to audit goal, constraints, code quality, security, missed context, and QA evidence. Use before a PR handoff or when the user explicitly asks to review completed work.

code-yeongyu/oh-my-openagent · 63 tokens

lcx-report-bug

Create a high-signal bug issue or PR in the repo that owns the defect. Use this whenever the user asks to report, file, open, or triage a LazyCodex, lazycodex-ai, omo-codex, Codex plugin, or upstream Codex CLI bug, especially when they need source-backed root cause, reproduction steps, fix guidance, and GitHub routing.

code-yeongyu/oh-my-openagent · 85 tokens

remove-deadcode

Remove unused code from this project with ultrawork mode, LSP-verified safety, atomic commits. Triggers: remove dead code, dead code, cleanup, remove unused.

code-yeongyu/oh-my-openagent · 41 tokens