payments

payments is a skill for Claude Code from fullstack-phoenix/saas_kit. It costs 41 tokens per session (912 once invoked), scanned A, original, MIT.

A billing feature for Elixir applications that adds a common interface for charging users. It currently supports hosted Stripe Subscription checkout for recurring plans, with guidance for one-time purchases and provider configuration.

In plain words
What is it for?
Use it to install paid subscriptions or purchases, configure Stripe keys, and create hosted Checkout links from an application route.
Why use it?
It keeps Stripe-specific billing code behind one interface, so payment logic does not have to be scattered through application controllers and can be changed more easily.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to install paid subscriptions or purchases, configure Stripe keys, and create hosted Checkout links from an application route.

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

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 payments

README.md
[![agentmods](https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/payments/github.svg)](https://agentmods.dev/skills/fullstack-phoenix/saas_kit/payments)
Your own site
<a href="https://agentmods.dev/skills/fullstack-phoenix/saas_kit/payments"><img src="https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/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/fullstack-phoenix/saas_kit/payments"><img src="https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/payments.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 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.00041 $0.00912
Opus 5.5 $0.00016 $0.00365
Sonnet 5.5 $0.00008 $0.00182
Haiku 4.5 $0.00004 $0.00091

Measured 2mo ago against content hash aa75e61eeaa2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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 · 126 lines

How it starts

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

Payments

Installs a small billing facade behind a @callback so the app charges users through one swappable provider implementation. The first available provider is Stripe Subscription checkout: it creates hosted Stripe Checkout sessions over Req, with no extra HTTP client dependency. You call MyApp.Billing.checkout_url/2 from your own checkout route.

When to use

  • The app needs paid plans — subscriptions or one-time purchases — and you want a provider-agnostic seam rather than Stripe calls scattered through controllers.
  • You want hosted Checkout (Stripe redirects, collects card details) instead of building a payment form yourself.
  • Don't reach for this if billing is free, or if you only need a static "contact sales" page with no charge flow.

Dependencies

  • Requires: authentication — billing is keyed to a user.
  • Recommended: None.

Install

mix saaskit.feature.install payments

The installer asks one decision:

  • Which payment provider? (provider) — required. The only current option is stripe_subscription, which installs the Stripe hosted-Checkout subscription implementation behind the facade.
mix saaskit.feature.install payments --decision provider=stripe_subscription

What it generates

  • lib/my_app/billing.ex — the billing facade. Defines the create_checkout_session/2 @callback, the public checkout_url/2 entry point, and a private provider/0 that resolves the configured implementation.

Configuration

The facade resolves its provider from application config:

# config/config.exs
config :my_app, :billing,
  provider: MyApp.Billing.StripeSubscription

Secrets come from the environment, not config files:

  • STRIPE_SECRET_KEY — your Stripe API secret.
  • STRIPE_SUBSCRIPTION_PRICE_ID — the price the subscription Checkout charges.

For production, set both in the deployed environment and switch to your live Stripe keys.

Tweaking for your app

Call the facade from an authenticated checkout action and redirect to the hosted session:

Read the full file on GitHub · 126 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. 2mo ago First seen · 126 lines · 41 tokens per session scan A aa75e61eeaa2

Subscribe to this mod's changes

payments is a skill published in the GitHub repository fullstack-phoenix/saas_kit (2 stars, last pushed 4mo ago), licensed MIT. It adds 41 tokens to every session and 912 once invoked, about $0.0002 per session on Opus 5.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

snaplii-cli

Snaplii for Claude: buy discounted gift cards accepted at over 500,000 locations with vouchers and up to 15% cashback, check the Snaplii Cash balance, pay bills (Canada) and send money to a phone number, through the snaplii MCP tools or the snaplii CLI, spending only the user's prepaid Snaplii Cash (gift cards within…

Snaplii-Inc/agent-to-merchant-payments · 184 tokens

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

stripe

Stripe API integration with managed OAuth. Manage customers, subscriptions, invoices, products, prices, and payments. Use this skill when users want to process payments, manage billing, or handle subscriptions with Stripe. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).…

CraftOS-dev/CraftBot · 79 tokens

ai-slop

Operational rubric that turns "don't make AI slop" into observable properties, severity levels, evidence requirements, and repair actions for interface design. Use as the reference rubric when building or reviewing marketing sites, product interfaces, dashboards, portfolios, or e-commerce pages, especially alongside…

waybarrios/opencode-power-pack · 61 tokens

stripe

Read Stripe account state from a terminal or agent: balance, payment intents, and subscriptions — and perform guarded mutations like canceling a subscription — backed by a bundled stripe-cli script that is read-only first and gates every state-changing command behind a --dry-run/--yes confirmation. Use when an agent…

magnus919/agent-skills · 116 tokens

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.

hanamizuki/solopreneur · 45 tokens