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.
npx skills add fullstack-phoenix/saas_kit --skill stripe-subscriptiongit clone --depth 1 https://github.com/fullstack-phoenix/saas_kitWrote 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.
[](https://agentmods.dev/skills/fullstack-phoenix/saas_kit/stripe-subscription)<a href="https://agentmods.dev/skills/fullstack-phoenix/saas_kit/stripe-subscription"><img src="https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/stripe-subscription/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.
<a href="https://agentmods.dev/skills/fullstack-phoenix/saas_kit/stripe-subscription"><img src="https://agentmods.dev/badge/skills/fullstack-phoenix/saas_kit/stripe-subscription.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00992 |
| Opus 5.5 | $0.00016 | $0.00397 |
| Sonnet 5.5 | $0.00008 | $0.00198 |
| Haiku 4.5 | $0.00004 | $0.00099 |
Grade A, and why
stripe-subscription 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.
How it starts
The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Stripe Subscription
Adds a MyApp.Billing.StripeSubscription provider that creates Stripe-hosted
Checkout sessions for recurring subscriptions over Req. It only mints checkout
URLs — it does not record subscription state. Treat a redirect to success_url
as "checkout started", not "paid": grant access from verified Stripe webhooks.
When to use
- The app needs recurring (subscription) billing and you want Stripe to host the payment page rather than building a card form.
- You want a thin billing facade (
MyApp.Billing) you can swap providers behind. - Don't reach for this if you need one-time payments only, or if you already have a webhook-backed billing flow — this is a starting point, not a complete system.
Dependencies
- Requires:
authentication(sessions are created from a user's email). - Recommended: None.
Install
mix saaskit.feature.install stripe_subscription
No installer decisions. It generates the provider module and injects billing
config into config/runtime.exs.
What it generates
lib/my_app/billing/stripe_subscription.ex— the provider. Implements theMyApp.Billingbehaviour withcreate_checkout_session/2, POSTs to Stripe's/v1/checkout/sessionsinmode=subscription, and returns{:ok, url}or{:error, reason}.
Configuration
Injected after import Config in config/runtime.exs:
# config/runtime.exs
config :my_app, :billing,
provider: MyApp.Billing.StripeSubscription
config :my_app, MyApp.Billing.StripeSubscription,
secret_key: System.get_env("STRIPE_SECRET_KEY"),
price_id: System.get_env("STRIPE_SUBSCRIPTION_PRICE_ID")
STRIPE_SECRET_KEY— your Stripe API secret. Keep it out of source control.STRIPE_SUBSCRIPTION_PRICE_ID— the ID of a recurring Price created in Stripe. The provider errors with{:missing_configuration, key}if either is blank, so set both before calling checkout.
Tweaking for your app
Create a session and redirect the user to Stripe:
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.
- 2mo ago First seen · 115 lines · 41 tokens per session scan A 61f18577fc21
stripe-subscription 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 992 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.
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…
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.
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).…
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…
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…
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.