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 dragnoir/Shopify-agent-skills --skill liquid-templatinggit clone --depth 1 https://github.com/dragnoir/Shopify-agent-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/dragnoir/shopify-agent-skills/liquid-templating)<a href="https://agentmods.dev/skills/dragnoir/shopify-agent-skills/liquid-templating"><img src="https://agentmods.dev/badge/skills/dragnoir/shopify-agent-skills/liquid-templating/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/dragnoir/shopify-agent-skills/liquid-templating"><img src="https://agentmods.dev/badge/skills/dragnoir/shopify-agent-skills/liquid-templating.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.00058 | $0.03136 |
| Opus 5 | $0.00029 | $0.01568 |
| Sonnet 5 | $0.00012 | $0.00627 |
| Haiku 4.5 | $0.00006 | $0.00314 |
Grade A, and why
liquid-templating 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.
How it starts
The opening of the file, as written. The whole thing — 527 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shopify Liquid Templating
When to use this skill
Use this skill when:
- Writing Liquid template code
- Accessing Shopify data (products, collections, cart, etc.)
- Using Liquid filters to transform output
- Creating conditional logic and loops
- Building dynamic theme content
- Debugging Liquid code issues
- Optimizing Liquid performance
Liquid Basics
Output Tags
Output data using double curly braces:
{{ product.title }}
{{ shop.name }}
{{ 'hello' | upcase }}
Logic Tags
Use logic with {% %} tags:
{% if product.available %}
<p>In Stock</p>
{% else %}
<p>Sold Out</p>
{% endif %}
Whitespace Control
Use - to strip whitespace:
{%- if condition -%}
content
{%- endif -%}
Core Objects
Product Object
{{ product.title }}
{{ product.description }}
{{ product.price | money }}
{{ product.compare_at_price | money }}
{{ product.vendor }}
{{ product.type }}
{{ product.tags | join: ', ' }}
{{ product.available }}
{{ product.url }}
<!-- Featured Image -->
{{ product.featured_image | image_url: width: 500 | image_tag }}
<!-- All Images -->
{% for image in product.images %}
{{ image | image_url: width: 300 | image_tag }}
{% endfor %}
<!-- Variants -->
{% for variant in product.variants %}
{{ variant.title }} - {{ variant.price | money }}
{% endfor %}
<!-- Metafields -->
{{ product.metafields.custom.care_instructions }}
Collection Object
{{ collection.title }}
{{ collection.description }}
{{ collection.products_count }}
{{ collection.url }}
{% for product in collection.products %}
{{ product.title }}
{% endfor %}
<!-- Pagination -->
{% paginate collection.products by 12 %}
{% for product in collection.products %}
{% render 'product-card', product: product %}
{% endfor %}
{{ paginate | default_pagination }}
{% endpaginate %}
Cart Object
{{ cart.item_count }}
{{ cart.total_price | money }}
{{ cart.total_weight | weight_with_unit }}
{% for item in cart.items %}
{{ item.product.title }}
{{ item.variant.title }}
{{ item.quantity }}
{{ item.line_price | money }}
{% endfor %}
<!-- Cart Attributes -->
{{ cart.attributes.gift_message }}
<!-- Cart Note -->
{{ cart.note }}
What ships with it
1 file 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.
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.
- 10d ago First seen · 527 lines · 58 tokens per session scan A 3a8a1a50f2d9
liquid-templating is a skill published in the GitHub repository dragnoir/Shopify-agent-skills (48 stars, last pushed 7mo ago), licensed MIT. It adds 58 tokens to every session and 3,136 once invoked, about $0.0003 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.
Other skills, from other repositories
shopify-expert
Builds and debugs Shopify themes (.liquid files, theme.json, sections), develops custom Shopify apps (shopify.app.toml, OAuth, webhooks), and implements Storefront API integrations for headless storefronts. Use when building or customizing Shopify themes, creating Hydrogen or custom React storefronts, developing…
shopify-theme-optimization
Theme speed and UX optimization — Core Web Vitals, Liquid code, image loading, mobile responsiveness.
commerce-app-admin-ui
Add or modify Adobe Commerce Admin UI extensions on the commerce/backend-ui/2 extension point: custom grid columns, mass actions, order view buttons, and a custom Admin menu entry. Use whenever the user wants to extend the Commerce Admin — add a column to the order, product, or customer grid, add a bulk/mass action to…
shopify
Expert Shopify theme development guidelines for Liquid, Online Store 2.0, CSS, JavaScript, and UX best practices.
shopify-theme-development-guidelines
Expert Shopify theme development with Liquid, Online Store 2.0, and performance best practices.
b2c-page-designer
Define Page Designer page types and component types with regions, attributes, and rendering scripts. Use this skill whenever the user needs to create a new page or component type, configure regions with allowed component constraints, define attributedefinitiongroups, debug why a component does not appear in the…