Stripe
Что он делает
Ищет и ведёт данные биллинга Stripe: подписки, выручку, клиентов, счета и возвраты. Он нужен основателям и разработчикам, которые принимают платежи через Stripe.
Когда использовать
- ✓Когда вы хотите узнать число подписчиков или ежемесячную повторяющуюся выручку.
- ✓Когда нужно создать купон, платёжную ссылку или возврат.
- ✓Когда вы хотите найти клиента, счёт или платёж.
Ссылка на скилл
https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Stripe/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Сколько у нас активных подписчиков и какова наша ежемесячная повторяющаяся выручка в этом месяце?”
5 новых скиллов в неделю. 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?
Каждый вызов называет свой ключ аккаунта, поэтому цифры берутся из нужного вам аккаунта.
Где хранятся ключи?
Они загружаются из файла окружения и никогда не выводятся и не записываются в скилл.
Подробности
Оригинальное описание автора
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
Комментарии
- …
Другие скиллы из этого репозитория
LifeOS
20kПомогает вашему агенту настроить LifeOS, личную систему, которая через интервью и панель сопоставляет ваше текущее состояние с желаемым.
AnnualReports
20kПомогает вашему агенту находить и сравнивать ежегодные отчёты по кибербезопасности, с источником для каждой цифры.
ApertureOscillation
20kУчит вашего агента проверять один вопрос по проекту в узком и широком масштабе, а затем называть места, где два ответа расходятся, до начала сборки.
Aphorisms
20kПомогает вашему агенту находить, подбирать и вести учёт цитат с указанием автора из подборки, не повторяя недавно использованные.
Похожие скиллы
api-connector-builder
280kАгент создаёт новые подключения к API по существующему шаблону. Используйте, когда нужна ещё одна интеграция без нового способа делать то же самое.
api-design
280kПомогает агенту проектировать REST API по лучшим практикам: как API общаются, как показываются ошибки и как организовать данные.
backend-patterns
280kПомогает агенту с архитектурными паттернами серверной части и оптимизацией баз данных. Полезен при создании и проверке серверного кода.