payments

payments is a skill for Claude Code from MartinOlivero/saas-builder. It costs 110 tokens per session (1,214 once invoked), scanned A, original, MIT.

A workflow for adding payments, subscriptions, billing, and pricing to a SaaS, meaning software sold as an online service. It covers Stripe catalog setup, checkout, customer access, customer accounts, and payment notifications.

In plain words
What is it for?
Use it to add Stripe payments, subscription plans, pricing tiers, checkout, a customer portal, webhooks, and payment-based access to an app.
Why use it?
It helps prevent payment mistakes such as granting access because a customer reached a checkout page, processing the same payment twice, or accepting an unverified notification.

Skill for Claude Code

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

Part of the saas-builder plugin — 18 skills, 1 hook shipped together

Good fit Use it to add Stripe payments, subscription plans, pricing tiers, checkout, a customer portal, webhooks, and payment-based access to an app.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/martinolivero/saas-builder/payments
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 MartinOlivero/saas-builder --skill payments
Clone the repo
git clone --depth 1 https://github.com/MartinOlivero/saas-builder

Made for: Claude Code.

Or install saas-builder, the plugin that ships this one along with the rest of its 18 skills, 1 hook.

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 payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/martinolivero/saas-builder/payments/github.svg)](https://agentmods.dev/skills/martinolivero/saas-builder/payments)
Your own site
<a href="https://agentmods.dev/skills/martinolivero/saas-builder/payments"><img src="https://agentmods.dev/badge/skills/martinolivero/saas-builder/payments/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 payments

Your own site · 80×15
<a href="https://agentmods.dev/skills/martinolivero/saas-builder/payments"><img src="https://agentmods.dev/badge/skills/martinolivero/saas-builder/payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,214 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.00110 $0.01214
Opus 5 $0.00055 $0.00607
Sonnet 5 $0.00022 $0.00243
Haiku 4.5 $0.00011 $0.00121

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

Security

Grade A, and why

payments 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/payments/SKILL.md · 71 lines

How it starts

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

Payments

This skill turns an app into a SaaS that actually collects money — and does it without the classic bugs (fulfilling on the client redirect, double-granting access, unverified webhooks).

Analogy: the checkout redirect is the customer saying "I'll pay." The webhook is the bank confirming the money arrived. You ship the product when the bank confirms, not when the customer promises. Trusting the redirect is shipping on a promise.

The Stripe MCP split (read this first)

A Stripe MCP may be available (mcp__stripe__*). It is control-plane only: it creates products, prices, and payment links, and reads/updates subscriptions and customers. It cannot create Checkout Sessions or process webhooks.

So the architecture is hybrid:

  • Delegate the catalog to the MCP — use it to create products, prices, and one-off payment links (the lowest-effort path for an MVP).
  • Embed the integration code — Checkout Session creation, the webhook handler, and fulfillment must live in your shipped code, because the MCP can't do them.

If no MCP is present, create the catalog by hand in the Stripe dashboard or via the SDK; everything else below is identical.

Backend delegation: if you're on InsForge (see the data-modeling skill), its insforge / insforge-cli skills wire Stripe checkout, subscriptions, the customer portal, and the webhook handler for you — let them own the plumbing. The rules below still hold regardless (fulfill only on the webhook, verify the signature, stay idempotent); InsForge automates the wiring, it doesn't change what "correct" means. On Vercel/Node you write the handler yourself as shown. Never block on a missing skill.

Discovery (max 3 questions, only if unknown)

  1. One-time payments, subscriptions, or both?
  2. Do you want the fastest path (hosted Checkout) or a fully custom in-page card form (Elements)?
  3. What's the backend for the webhook — Vercel functions, a Node server, or a BaaS?

Step 1 — Pick the integration

Read the full file on GitHub · 71 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 · 71 lines · 110 tokens per session scan A 1f2b6c2c427d

Subscribe to this mod's changes

payments is a skill published in the GitHub repository MartinOlivero/saas-builder (2 stars, last pushed 22d ago), licensed MIT. It adds 110 tokens to every session and 1,214 once invoked, about $0.0006 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

skill-cobranca-automatizada-saas-abacatepay

Automatic SaaS billing engine with AbacatePay (PIX + credit card), configurable dunning (regua de cobranca), trial management, invoice portal, email (Resend) and WhatsApp (Evolution API) notifications, admin CRUD, and billing metrics. Covers the full billing lifecycle from provisioning to collection.

IAPro-Community/Orquestrador-Maestro · 77 tokens

monetization

Estrategia e implementacao de monetizacao para produtos digitais - Stripe, subscriptions, pricing experiments, freemium, upgrade flows, churn prevention, revenue optimization e modelos de negocio SaaS.

LiHongwei-cn/lihongwei-cn · 43 tokens

subscription-management

SaaS subscription lifecycle management - billing, upgrades, downgrades, churn prevention, and revenue optimization.

claude-office-skills/skills · 24 tokens

stripe-best-practices

Guide Stripe integration decisions — API choice, Connect, billing, Treasury, key/webhook security. Use when building, modifying, or reviewing any Stripe payment, marketplace, or subscription.

HigorAlves/orc · 42 tokens

saas-payments

SaaS uygulaması için ödeme ve abonelik sistemi kur. Stripe veya Lemon Squeezy ile checkout, webhook, abonelik yönetimi, fiyatlandırma planları ve müşteri portalı yapılandır. Bu skill'i kullanıcı ödeme, abonelik, fiyatlandırma, Stripe, gelir, plan, subscription veya checkout ile ilgili bir şey istediğinde kullan. "Para…

komunite/tezgah · 103 tokens

stack-stripe

Stripe platform knowledge overlay for the ETYB team. Loads when work involves the Stripe ecosystem — Payments, Checkout, Elements, Billing, Subscriptions, Meter API, Customer Portal, Connect, Treasury, Issuing, Identity, Tax, Radar, Terminal, Climate, Atlas, Sigma, Data Pipeline, Capital, Financial Connections, Link…

e-t-y-b/etyb-skills · 223 tokens