Stripe
Was er macht
Dieser Skill sucht Abrechnungsdaten bei Stripe und verwaltet sie, etwa Abos, Umsatz, Kunden, Rechnungen und Erstattungen. Er ist für Gründer und Entwickler gedacht, die über Stripe Zahlungen annehmen.
Wann du ihn nutzt
- ✓Wenn du wissen willst, wie viele Abonnenten du hast oder wie hoch dein monatlich wiederkehrender Umsatz ist.
- ✓Wenn du einen Gutschein, einen Zahlungslink oder eine Erstattung anlegen musst.
- ✓Wenn du einen Kunden, eine Rechnung oder eine Zahlung nachschlagen willst.
Link zum Skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Stripe/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Wie viele aktive Abonnenten haben wir, und wie hoch ist unser monatlich wiederkehrender Umsatz in diesem Monat?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Skill ruft Stripe über die Kontoschlüssel auf, die du eingerichtet hast, und prüft, dass jede Zahl aus dem Konto stammt, das du genannt hast. Er liest jede Seite einer Liste, bevor er zählt, und nimmt ohne deine Freigabe keine Änderung vor.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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
Häufige Fragen
Kann er meine Abrechnung selbstständig ändern?
Nein. Jede Schreibaktion braucht deine ausdrückliche Freigabe, und der Skill meldet das geänderte Objekt.
Was ist, wenn ich mehr als ein Stripe Konto habe?
Jeder Aufruf nennt seinen Kontoschlüssel, sodass die Zahlen aus dem Konto stammen, das du gemeint hast.
Wo werden die Schlüssel aufbewahrt?
Sie werden aus deiner Umgebungsdatei geladen und nie ausgegeben oder in den Skill geschrieben.
Details
Originalbeschreibung des Autors
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
Beliebtheit
- GitHub-Sterne
- 20k
- Platz im Ranking
- #10463
- Lizenz
- MIT
- Aktualisiert
- 28.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
LifeOS
20kHilft deinem Agenten, LifeOS einzurichten, ein persönliches System, das deinen aktuellen Stand über ein Interview und ein Dashboard mit deinem Zielzustand verbindet.
AnnualReports
20kHilft deinem Agenten, Jahresberichte zur Cybersicherheit großer Anbieter zu finden und zu vergleichen, etwa zu Trends bei Datenlecks und Ransomware, mit einer Quelle für jede Zahl.
ApertureOscillation
20kBringt deinem Agenten bei, eine Designfrage im engen und im weiten Rahmen zu prüfen und die Stellen zu benennen, an denen sich beide Antworten widersprechen, bevor gebaut wird.
Aphorisms
20kHilft deinem Agenten, passende Zitate aus einer kuratierten Sammlung zu finden, zuzuordnen und zu verfolgen, und vermeidet Zitate, die kürzlich im Newsletter standen.
Ähnliche Skills
api-connector-builder
280kLässt deinen Agenten neue API-Anbindungen nach dem bestehenden Muster bauen. Nutze es, wenn du eine weitere Integration ergänzen willst, ohne neue Wege einzuführen.
api-design
280kHilft deinem Agenten, REST-APIs nach Best Practices zu entwerfen. Nützlich für die Kommunikation, die Fehlerausgabe und die Organisation von Daten.
backend-patterns
280kHilft deinem Agenten bei Architekturmustern für die Serverseite und bei der Datenbankoptimierung. Nützlich zum Bauen und Prüfen von Server-Code.