
Stripe
Runs Stripe billing operations via the Stripe SDK and, when configured, an admin...
Install
npx skills add danielmiessler/LifeOS --skill Stripe -g -a claude-code -y- Repository
- danielmiessler/LifeOS19.7k
- Category
- Marketing
- Updated
- 8d ago
- License
- MIT
- Context cost
- Mediumabout 2,002 tokens
- Runs scripts
- No, instructions only
What it does
Runs Stripe billing operations via the Stripe SDK and, when configured, an admin dashboard's cached endpoints: products, prices, subscriptions, MRR and revenue, customers, payments, refunds, coupons, disputes. USE WHEN Stripe, subscriptions, billing, MRR, revenue, customers, invoices, refund, coupon, payment link, charges, subscriber count, earnings. NOT FOR newsletter-platform subscribers billed outside Stripe.
Stripe Billing Operations
Contents: Ideal State · Intent Routing · Data & Config · Tool contract · Gotchas · Examples
Answers and acts on Stripe billing questions: promotion codes and coupons, products and prices, subscriptions and subscriber counts, MRR and revenue, customers, payments, invoices, refunds and payment links, across one main account and any number of additional ones. With more than one Stripe account, using the wrong key returns wrong numbers silently, so every call names the account's key.
Ideal State
- Every figure comes from the account the user meant, through that account's env var, with keys loaded from
~/.claude/.envand never printed or hardcoded; a missing Config.md orSTRIPE_SDK_DIRstops the run with a pointer toSetup.mdinstead of a guess. - Counts and revenue cover every page of the list they come from, and historical views keep canceled and churned subscriptions and attribute every row to a product.
- No write reaches Stripe without the user's explicit approval, and every write reports the resulting object back.
Intent Routing
| Intent | Trigger | File |
|---|---|---|
| ListProducts | "products", "what products", "list products" | Intents/ListProducts.md |
| Subscriptions | "subscriptions", "subscribers", "how many subscribers" | Intents/Subscriptions.md |
| Revenue | "revenue", "MRR", "how much", "earnings", "income" | Intents/Revenue.md |
| Customers | "customers", "customer list", "who subscribes" | Intents/Customers.md |
| Payments | "payments", "recent payments", "charges" | Intents/Payments.md |
| Manage | "promotion codes", "promo code", "find a coupon", "create product", "create price", "change the price", "cancel", "refund", "coupon", "invoice", "payment link" | Intents/Manage.md |
| File | Read when |
|---|---|
Setup.md | first-time setup: Config.md, STRIPE_SDK_DIR, the per-account key env vars, and the check that it works |
