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 agentmods add skills/rafaelcg/stripekit/publicnpx skills add rafaelcg/stripekit --skill publicgit clone --depth 1 https://github.com/rafaelcg/stripekitWrote 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/rafaelcg/stripekit/public)<a href="https://agentmods.dev/skills/rafaelcg/stripekit/public"><img src="https://agentmods.dev/badge/skills/rafaelcg/stripekit/public.svg" alt="Measured on agentmods" 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 | $0.00077 | $0.00975 |
| Opus 5 | $0.00039 | $0.00487 |
| Sonnet 5 | $0.00015 | $0.00195 |
| Haiku 4.5 | $0.00008 | $0.00097 |
Grade A, and why
stripekit 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 4d 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.
This is a copy
100% identical to stripekit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Using stripekit
stripekit is a CLI that (1) reconciles a declarative stripe.config.ts into the user's own Stripe account and (2) scaffolds correct billing code into a Next.js App Router app. It's plain Stripe underneath — no hosted service, no runtime dependency.
Install-free: every command runs via npx stripekit@latest <command>. Always check npm for the latest version.
Prerequisites
- Node.js 20+.
- A Stripe test secret key (
sk_test_…) available asSTRIPE_SECRET_KEYin the environment or.env.local. Never enter real keys on the user's behalf — ask them to add it.
Full setup in a Next.js app
npx stripekit@latest init— detects the framework + auth library, writesstripe.config.ts, and scaffoldslib/stripe/*(client, sync, customer helpers, storage adapter) andapp/api/stripe/*(webhook, checkout, portal). Flags:--adapter kv|drizzle,--auth clerk|authjs|better-auth|none,--yes.- Edit
stripe.config.tsto define products, prices, and features. npx stripekit plan— preview what will change on the Stripe account (read-only).npx stripekit push— create/update products, prices, webhook endpoint, and portal; writesSTRIPE_WEBHOOK_SECRETandSTRIPE_PORTAL_CONFIGURATION_IDback to.env.local.npx stripekit dev— forward Stripe webhooks to localhost during development (wrapsstripe listen).npx stripekit check— verify keys, config, drift, and webhook/portal wiring.
Any stack (catalog only)
Running init in a non-Next.js project sets up only stripe.config.ts. Use plan / push / pull to manage the catalog from any stack.
Config shape
import { defineConfig } from 'stripekit'
export default defineConfig({
products: {
pro: {
name: 'Pro',
prices: {
monthly: { amount: 2000, currency: 'usd', interval: 'month' }, // amount in cents
yearly: { amount: 19200, currency: 'usd', interval: 'year' },
},
features: { seats: 5, projects: 'unlimited' },
},
},
portal: { cancellations: true, planSwitching: true },
webhooks: { path: '/api/stripe/webhook' },
})
What ships with it
4 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.
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.
- 4d ago First seen · 72 lines · 77 tokens per session scan A c61ee88e3f79
stripekit is a skill published in the GitHub repository rafaelcg/stripekit (2 stars, last pushed 27d ago), licensed MIT. It adds 77 tokens to every session and 975 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to stripekit, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
Stripe Payments
Automate Stripe payment processing, subscription management, invoicing, and financial reporting.
tiun-sdk
Use when integrating or debugging the tiun SDK (@tiun/sdk), tiun's JavaScript library for authentication, subscription billing, one-time purchases, and time-based paywalls. Triggers on imports of @tiun/sdk, calls like tiun.init, tiun.checkout, tiun.login, tiun.start, or questions about tiun products, entitlements…
Billing Manager
Manage billing operations including invoice generation, payment tracking, and subscription lifecycle.
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.
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…
stripe-integration
Build secure payment flows with Stripe — Payment Intents, subscription billing, webhook handling, and European SCA compliance for card payments.