lemon-squeezy

lemon-squeezy is a skill for Claude Code, Codex from ashish7802/awesome-api-skills. It costs 0 tokens per session (568 once invoked), scanned A, original, MIT.

A guide to Lemon Squeezy, a service for selling software subscriptions and handling recurring payments and sales-tax requirements.

In plain words
What is it for?
Use it to create and validate desktop-app license keys, sync orders through webhooks, and securely process payment notifications.
Why use it?
It helps connect purchases and subscriptions to your application while reducing the payment and license-management code you must build yourself.

Skill for Claude CodeCodex

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

Good fit Use it to create and validate desktop-app license keys, sync orders through webhooks, and securely process payment notifications.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ashish7802/awesome-api-skills/lemon-squeezy
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 ashish7802/awesome-api-skills --skill lemon-squeezy
Clone the repo
git clone --depth 1 https://github.com/ashish7802/awesome-api-skills

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 lemon-squeezy

README.md
[![agentmods](https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/lemon-squeezy/github.svg)](https://agentmods.dev/skills/ashish7802/awesome-api-skills/lemon-squeezy)
Your own site
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/lemon-squeezy"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/lemon-squeezy/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 lemon-squeezy

Your own site · 80×15
<a href="https://agentmods.dev/skills/ashish7802/awesome-api-skills/lemon-squeezy"><img src="https://agentmods.dev/badge/skills/ashish7802/awesome-api-skills/lemon-squeezy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 568 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.00568
Opus 5 $0.00000 $0.00284
Sonnet 5 $0.00000 $0.00114
Haiku 4.5 $0.00000 $0.00057

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

Security

Grade A, and why

lemon-squeezy 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.

The scan reads SKILL.md. This mod also ships 4 executable files (examples/basic.py, examples/setup.ts, examples/webhook-verify.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/lemon-squeezy/SKILL.md · 59 lines

How it starts

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

Lemon Squeezy API Skill

Quick Start

Lemon Squeezy simplifies global tax compliance and recurring billing. The official @lemonsqueezy/lemonsqueezy.js SDK handles interactions cleanly.

npm install @lemonsqueezy/lemonsqueezy.js

Common Workflows

License Key Management

Lemon Squeezy uniquely offers built-in License Key generation for desktop apps. You can programmatically generate, activate, and validate license keys associated with a purchase.

Production Patterns

Syncing Orders

Use webhooks (order_created, subscription_created) to sync order data. When a user buys your SaaS, parse the custom_data object in the webhook payload (which should contain your internal user_id) to map the purchase.

Error Recovery

Handle rate limit errors (HTTP 429). The API is heavily cached but mutations are strictly limited. Catch generic HTTP errors using try/catch and inspect the error property returned by the SDK.

Security Notes

Webhook signatures in Lemon Squeezy use HMAC SHA256. Verify the X-Signature header against the raw request body using Node's crypto module to prevent spoofed payments.

Performance Considerations

Do not query the Lemon Squeezy API on every page load to check subscription status. Rely entirely on your database, which should be continually updated by incoming webhooks.

Testing Guidance

Lemon Squeezy provides a dedicated Test Mode. Use their test credit cards to simulate successful and failed subscription renewals.

Troubleshooting

If custom_data is missing in webhooks, ensure your frontend checkout URL explicitly appended the ?checkout[custom][user_id]=123 parameter during initialization.

References

Why use this skill

Use this when your agent works with lemon-squeezy — structured patterns beat pasted docs and prevent common hallucinations.

AI pitfalls

  • Inventing webhook event names not in the vendor catalog
  • Using secret keys in client-side or browser code
  • Skipping signature verification on webhook payloads

Read the full file on GitHub · 59 lines

Files

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.

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 · 59 lines · 0 tokens per session scan A aa9a41586f82

Subscribe to this mod's changes

lemon-squeezy is a skill published in the GitHub repository ashish7802/awesome-api-skills (13 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 568 tokens. 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.

Related

Other skills, from other repositories

asc-ppp-pricing

Set territory-specific pricing for subscriptions and in-app purchases using current asc setup, pricing summary, price import, and price schedule commands. Use when adjusting prices by country or implementing localized PPP strategies.

rorkai/app-store-connect-cli-skills · 45 tokens

Braintree Automation

Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions.

openteams-lab/openteams · 25 tokens

Braintree Automation

Braintree Automation: manage payment processing via Stripe-compatible tools for customers, subscriptions, payment methods, and transactions.

ComposioHQ/awesome-claude-skills · 25 tokens

querying-well-data

How to query a Well workspace correctly — discover the schema first, then query the right root. Use whenever the user asks about their invoices, companies, contacts, bank transactions, accounts, or accounting ledger in Well, or before writing any wellqueryrecords call.

WellApp-ai/Well · 58 tokens

ar-aging

Produce an accounts-receivable aging report and surface overdue invoices for a Well workspace. Use when the user asks who owes them money, an AR aging report, overdue invoices, days sales outstanding (DSO), or which customers to chase.

WellApp-ai/Well · 51 tokens

balance-sheet

Build a balance sheet (bilan) from a Well workspace. Use when the user asks for a balance sheet, bilan, assets/liabilities/equity, or financial position at a point in time.

WellApp-ai/Well · 44 tokens