Stripe
O que ela faz
Consulta e gerencia dados de cobrança da Stripe, como assinaturas, receita, clientes, faturas e reembolsos. Ela é para fundadores e desenvolvedores que recebem pagamentos pela Stripe.
Quando usar
- ✓Quando você quer saber o número de assinantes ou a receita recorrente mensal.
- ✓Quando você precisa criar um cupom, um link de pagamento ou um reembolso.
- ✓Quando você quer consultar um cliente, uma fatura ou um pagamento.
Link da skill
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Stripe/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Quantos assinantes ativos temos, e qual é nossa receita recorrente mensal neste mês?”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A skill chama a Stripe pelas chaves de conta que você configurou e confere se cada número vem da conta que você indicou. Ela lê todas as páginas de uma lista antes de contar, e não faz nenhuma alteração sem a sua aprovação.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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
Perguntas frequentes
Ela pode alterar minha cobrança sozinha?
Não. Toda gravação exige sua aprovação explícita, e a skill informa qual objeto foi alterado.
E se eu tiver mais de uma conta Stripe?
Cada chamada indica a chave da conta, então os números vêm da conta que você pretendia.
Onde as chaves ficam guardadas?
Elas são carregadas do seu arquivo de ambiente e nunca são exibidas nem gravadas dentro da skill.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 20 mil
- Posição no ranking
- #10463
- Licença
- MIT
- Atualizada em
- 28/10/2026
Comentários
- …
Mais skills deste repositório
LifeOS
20 milAjuda seu agente a configurar o LifeOS, um sistema pessoal que leva do seu estado atual ao estado ideal por meio de uma entrevista e de um painel.
AnnualReports
20 milAjuda seu agente a encontrar e comparar relatórios anuais de cibersegurança de grandes fornecedores, como tendências de vazamentos e ransomware, com uma fonte para cada número.
ApertureOscillation
20 milEnsina seu agente a testar uma questão de design em um escopo restrito e em um escopo amplo, e depois apontar onde as duas respostas se chocam antes de construir.
Aphorisms
20 milPermite que seu agente encontre, compare e acompanhe citações atribuídas a autores de uma coleção selecionada, evitando as usadas recentemente na sua newsletter.
Skills parecidas
api-connector-builder
280 milFaz seu agente construir novas conexões com APIs seguindo o padrão já existente. Use quando precisar adicionar mais uma integração sem criar um novo jeito de fazer.
api-design
280 milAjuda seu agente a projetar APIs REST seguindo as melhores práticas. É útil para definir como as APIs se comunicam, como os erros são mostrados e como organizar os dados.
backend-patterns
280 milAjuda seu agente com padrões de arquitetura do lado do servidor e otimização de banco de dados. É útil para construir ou revisar o código que roda no servidor.