lemonsqueezy-tier-setup

lemonsqueezy-tier-setup is a skill for Claude Code, Codex from heysash/lemonsqueezy-mcp. It costs 90 tokens per session (1,308 once invoked), scanned A, original, MIT.

A setup tool for Lemon Squeezy subscription plans that reads your store's existing products and variants. Variants are the separate versions of a plan, such as monthly and yearly billing.

In plain words
What is it for?
Use it to map plans to variant IDs, create environment-variable or pricing configuration, audit an existing store, and check webhook setup before testing events.
Why use it?
Lemon Squeezy requires products and variants to be created in its dashboard, so the tool helps you check that your app's plan configuration matches what actually exists. It also identifies missing or incorrectly connected variants.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to map plans to variant IDs, create environment-variable or pricing configuration, audit an existing store, and check webhook setup before testing events.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup
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 heysash/lemonsqueezy-mcp --skill lemonsqueezy-tier-setup
Clone the repo
git clone --depth 1 https://github.com/heysash/lemonsqueezy-mcp

Made for: Claude Code, Codex.

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 lemonsqueezy-tier-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup/github.svg)](https://agentmods.dev/skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup)
Your own site
<a href="https://agentmods.dev/skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup"><img src="https://agentmods.dev/badge/skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup/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 lemonsqueezy-tier-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup"><img src="https://agentmods.dev/badge/skills/heysash/lemonsqueezy-mcp/lemonsqueezy-tier-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,308 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.00090 $0.01308
Opus 5 $0.00045 $0.00654
Sonnet 5 $0.00018 $0.00262
Haiku 4.5 $0.00009 $0.00131

Measured 10d ago against content hash 98c19afa47d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

lemonsqueezy-tier-setup 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.

skills/lemonsqueezy-tier-setup/SKILL.md · 119 lines

How it starts

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

Skill: lemonsqueezy-tier-setup

Important context (Lemon Squeezy API constraint): The Lemon Squeezy REST API does not allow creating products or variants programmatically. They must be created manually in the Lemon Squeezy dashboard. This skill therefore operates in Discover & Configure mode: it reads what exists, validates it against an expected tier structure, and emits the configuration artefacts your app needs.

When to use

  • You just finished creating your subscription products (e.g. Starter/Pro/ Enterprise) in the Lemon Squeezy dashboard and want the variant IDs mapped into your environment / pricing config.
  • You're auditing an existing store and want to know which variants your app is missing or has wired incorrectly.
  • You want to confirm the webhook subscription is correctly registered before running lemonsqueezy-webhook-test.

Inputs

The user provides — directly or via a manifest — the expected tier layout and how they want the output emitted.

Option A: Inline (conversational)

"I have Starter (Monthly + Yearly), Pro (Monthly + Yearly), Enterprise (Monthly

  • Yearly) in store 12345. Map them to env vars prefixed LEMONSQUEEZY_VARIANT_."

Option B: YAML manifest

storeId: "12345"
currency: USD
webhookUrl: "https://app.example.com/api/webhooks/lemonsqueezy"
envPrefix: "LEMONSQUEEZY_VARIANT_"     # optional, this is the default
tierNames: [starter, pro, enterprise]  # your own names — no fixed taxonomy
outputFormat: env                      # env | table | both  (default: both)
expectedTiers:
  starter:
    productName: "Starter"
    monthlyVariantSlug: "starter-monthly"
    yearlyVariantSlug: "starter-yearly"
  pro:
    productName: "Pro"
    monthlyVariantSlug: "pro-monthly"
    yearlyVariantSlug: "pro-yearly"
  enterprise:
    productName: "Enterprise"
    monthlyVariantSlug: "enterprise-monthly"
    yearlyVariantSlug: "enterprise-yearly"

Workflow

  1. Verify auth — call lemonsqueezy_whoami. Fail loudly if no API key configured.
  2. Confirm store — call lemonsqueezy_list_stores, match against the expected storeId. If not allowed by LEMONSQUEEZY_ALLOWED_STORE_IDS, stop and ask the user to update the allowlist.
  3. Discover products — call lemonsqueezy_list_products filtered by storeId. Match against expectedTiers[*].productName.
  4. Discover variants — for each matched product, call lemonsqueezy_list_variants. Pair them with the expected monthlyVariantSlug / yearlyVariantSlug.
  5. Pull prices — call lemonsqueezy_list_prices for each variant to confirm monthly/yearly billing intervals.
  6. Webhook check — call lemonsqueezy_list_webhooks. If the configured webhookUrl is missing, offer to call lemonsqueezy_create_webhook with the event set your app needs (subscription_*, subscription_payment_*, order_created, …) and a freshly generated 32-char secret.
  7. Emit artefacts (per outputFormat):
    • env: <envPrefix><TIER>_<INTERVAL>=<id> lines you can paste into your .env (e.g. LEMONSQUEEZY_VARIANT_PRO_MONTHLY=300001)
    • table: a summary — tier → variant ID → monthly price → yearly price → status

Read the full file on GitHub · 119 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. 10d ago First seen · 119 lines · 90 tokens per session scan A 98c19afa47d9

Subscribe to this mod's changes

lemonsqueezy-tier-setup is a skill published in the GitHub repository heysash/lemonsqueezy-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 90 tokens to every session and 1,308 once invoked, about $0.0005 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.