kona-theme: Skill for Claude Code

.claude/skills/shopify-liquid-translator/SKILL.md

shopify-liquid-translator is a skill for Claude Code from jonathanmoore/kona-theme. It costs 72 tokens per session (2,841 once invoked), scanned A, original, MIT.

A Shopify theme translation tool converts the store’s English locale files into 30 other languages. It handles both customer-facing text and the text shown to merchants in Shopify’s theme editor.

In plain words
What is it for?
Adding languages, updating translations after English changes, checking for hardcoded text, or generating one language’s files.
Why use it?
It avoids translating locale files by hand and can skip keys that have not changed. It also helps find text that was written directly into the theme instead of using translation keys.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

This is jonathanmoore/kona-theme's own configuration. It tells Claude Code how to work on kona-theme itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kona-theme configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is set -a && source .env && set +a && python3 scripts/translate-locales.py ....

Reuse

Borrowing it

Nothing to install: this file belongs to jonathanmoore/kona-theme. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jonathanmoore/kona-theme/main/.claude/skills/shopify-liquid-translator/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jonathanmoore/kona-theme

Made for: Claude Code.

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 shopify-liquid-translator

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonathanmoore/kona-theme/shopify-liquid-translator/github.svg)](https://agentmods.dev/skills/jonathanmoore/kona-theme/shopify-liquid-translator)
Your own site
<a href="https://agentmods.dev/skills/jonathanmoore/kona-theme/shopify-liquid-translator"><img src="https://agentmods.dev/badge/skills/jonathanmoore/kona-theme/shopify-liquid-translator/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 shopify-liquid-translator

Your own site · 80×15
<a href="https://agentmods.dev/skills/jonathanmoore/kona-theme/shopify-liquid-translator"><img src="https://agentmods.dev/badge/skills/jonathanmoore/kona-theme/shopify-liquid-translator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,841 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.00072 $0.02841
Opus 5 $0.00036 $0.01421
Sonnet 5 $0.00014 $0.00568
Haiku 4.5 $0.00007 $0.00284

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

Security

Grade A, and why

shopify-liquid-translator 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 8d 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.

.claude/skills/shopify-liquid-translator/SKILL.md · 256 lines

How it starts

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

Shopify Liquid Translator

Translates a Shopify theme's English locale files into 30 target languages. Uses a Python script (scripts/translate-locales.py) that calls the Claude API directly with a compact numbered-list format — ~10x more token-efficient than having an LLM write full JSON.

Incremental mode tracks content hashes so unchanged keys are never re-translated.

Source Files

  • theme/locales/en.default.json — Storefront-facing strings (customer sees these)
  • theme/locales/en.default.schema.json — Theme editor strings (merchant sees these in Shopify admin)

Target Languages (30)

Both .json and .schema.json are generated for every language:

bg, cs, da, de, el, es, fi, fr, hr, hu, id, it, ja, ko, lt, nb, nl, pl, pt-BR, pt-PT, ro, ru, sk, sl, sv, th, tr, vi, zh-CN, zh-TW

Prerequisites

The script requires:

  • Python 3 with the anthropic package (pip install anthropic)
  • ANTHROPIC_API_KEY environment variable

If the key isn't set, tell the user:

cp .env.example .env   # add your key
source .env             # load it

Every Bash call that runs the script must load .env with auto-export since shell state doesn't persist between calls:

set -a && source .env && set +a && python3 scripts/translate-locales.py ...

Execution Modes

full — Generate all locale files from scratch

  1. Pre-flight: Suggest running audit first if it hasn't been run recently
  2. Run the script:
    set -a && source .env && set +a && python3 scripts/translate-locales.py full
    
    Or for specific languages:
    set -a && source .env && set +a && python3 scripts/translate-locales.py full fr de ja
    
  3. The script handles concurrency (3 workers), retries, and validation
  4. After completion, a cache file (theme/locales/.translation-cache.json) is saved for future sync runs

sync — Update existing translations after English changes

Only translates new/changed keys. Uses content hashes stored in theme/locales/.translation-cache.json to detect what changed. Typically saves 80-90% of API costs compared to full.

Read the full file on GitHub · 256 lines

Files

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.

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. 8d ago First seen · 256 lines · 72 tokens per session scan A eb1c79dd819c

Subscribe to this mod's changes

shopify-liquid-translator is a skill published in the GitHub repository jonathanmoore/kona-theme (6 stars, last pushed 3mo ago), licensed MIT. It adds 72 tokens to every session and 2,841 once invoked, about $0.0004 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