Stripe
यह क्या करती है
यह स्किल Stripe के बिलिंग डेटा को देखती और संभालती है, जैसे सब्सक्रिप्शन, आय, ग्राहक, इनवॉइस और रिफ़ंड। यह उन संस्थापकों और डेवलपरों के लिए है जो Stripe से भुगतान लेते हैं।
कब इस्तेमाल करें
- ✓जब आप जानना चाहते हों कि आपके सब्सक्राइबर कितने हैं या मासिक आवर्ती आय कितनी है।
- ✓जब आपको कूपन, भुगतान लिंक या रिफ़ंड बनाना हो।
- ✓जब आप किसी ग्राहक, इनवॉइस या भुगतान की जानकारी देखना चाहते हों।
Skill का लिंक
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Stripe/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे कितने सक्रिय सब्सक्राइबर हैं, और इस महीने की मासिक आवर्ती आय कितनी है?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल आपकी सेट की गई खाता कुंजियों से Stripe को कॉल करती है, और जाँचती है कि हर संख्या उसी खाते से आई है जिसका आपने नाम लिया था। गिनने से पहले वह सूची का हर पन्ना पढ़ती है, और आपकी मंज़ूरी के बिना कोई बदलाव नहीं करती।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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 |
Data & Config
Account-specific values — the SDK working directory (STRIPE_SDK_DIR), account aliases and their env var names, product and price IDs, product domains, invoicing practice, and the optional admin-dashboard endpoints — live in LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Stripe/Config.md. First-time setup is in Setup.md. Secrets are env-var names only, values in ~/.claude/.env. The skill body is generic.
When Config.md is missing, or it names no STRIPE_SDK_DIR, stop, say so, and point the user at Setup.md. Never guess an SDK directory, an account, or a product list.
| Account | Env var | Format | Notes |
|---|---|---|---|
| Main (default) | STRIPE_SECRET_KEY |
sk_live_* |
Used when no alias is given |
| Additional | STRIPE_SECRET_KEY_<ALIAS> |
sk_live_* or restricted rk_live_* |
Config.md's Accounts table maps each alias to its env var |
- Test mode: a test-mode key (
sk_test_*) is its own row in the Accounts table, for example aliastestwithSTRIPE_SECRET_KEY_TEST, used as--account test. - SDK:
stripenpm package (v20+), called with the API version Config.md names (the preamble below passes it). - Admin dashboard (optional): if Config.md names an admin dashboard that serves cached Stripe endpoints (its base URL, the endpoint list and what each returns), prefer those for fast overview answers: customer and subscription totals, MRR, products with subscriber counts, monthly revenue, recent payments. Treat the cache as possibly minutes old and say so when freshness matters. With no dashboard configured, answer from the SDK; nothing else in this skill depends on it.
Tool contract
Reads go through the read-only CLI first: bun ~/.claude/LIFEOS/TOOLS/StripeRead.ts promos | coupons | products | prices | subs | customer <email> | balance | get <v1 path> [k=v…] (--account <alias> for an additional account). It is a single plain command with no write path, so it runs wherever a shell command can, including unattended sessions. The inline cd … && bun --env-file … -e script below is arbitrary code, and a harness that asks before running such code will stop on it when nobody is there to approve, so use it only for writes and anything the CLI can't express, such as the computed reports in each intent. Two limits of the CLI, from its code: products and prices return active objects only, and every list stops at 1,000 rows, so a count of exactly 1,000 is a floor and needs `f
अक्सर पूछे जाने वाले सवाल
क्या यह मेरी बिलिंग अपने-आप बदल सकती है?
नहीं। हर लिखने वाले बदलाव के लिए आपकी साफ़ मंज़ूरी चाहिए, और स्किल जिस चीज़ को बदलती है उसकी रिपोर्ट देती है।
अगर मेरे पास एक से ज़्यादा Stripe खाते हों तो?
हर कॉल अपनी खाता कुंजी का नाम देती है, इसलिए संख्याएँ उसी खाते से आती हैं जिसका आपने इरादा किया।
कुंजियाँ कहाँ रखी जाती हैं?
वे आपकी environment फ़ाइल से लोड होती हैं और कभी प्रिंट या स्किल में लिखी नहीं जातीं।
जानकारी
लेखक का मूल विवरण
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.
repo: danielmiessler/LifeOS
लोकप्रियता
- GitHub स्टार
- 20k
- रैंकिंग में स्थान
- #10463
- लाइसेंस
- MIT
- अपडेट की गई
- 28/10/2026
कमेंट
- …
इस repository की और skills
LifeOS
20kआपके एजेंट को LifeOS सेट करने में मदद करती है, एक निजी प्रणाली जो एक इंटरव्यू और डैशबोर्ड से आपकी मौजूदा स्थिति को आपके आदर्श लक्ष्य से जोड़ती है।
AnnualReports
20kआपके एजेंट को प्रमुख विक्रेताओं की साइबर सुरक्षा वार्षिक रिपोर्ट खोजने और तुलना करने में मदद करती है, जैसे उल्लंघन और ransomware के रुझान, हर आँकड़े के स्रोत के साथ।
ApertureOscillation
20kआपके एजेंट को एक डिज़ाइन सवाल को संकीर्ण और व्यापक दायरे में परखना सिखाती है, फिर बनाने से पहले बताना कि दोनों जवाब कहाँ टकराते हैं।
Aphorisms
20kआपके एजेंट को एक चुने हुए संग्रह से श्रेय वाले उद्धरण खोजने, मिलाने और उनका रिकॉर्ड रखने देती है, और हाल में आपके न्यूज़लेटर में इस्तेमाल हुए उद्धरण छोड़ देती है।
मिलती-जुलती skills
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।