Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-stripe

БесплатноБез исполняемых скриптовНе проверен

Every Stripe feature, plus a local SQLite mirror with FTS, cross-entity SQL, and analytics no other Stripe tool ships. Trigger phrases: `stripe customer…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Stripe — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the stripe-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install stripe --cli-only
    
  2. Verify: stripe-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/payments/stripe/cmd/stripe-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for stripe-pp-cli when you need to (1) run analytics across customers/subs/invoices that Stripe's dashboard doesn't expose, (2) script payment ops in a CI/agent loop without daemon processes, (3) reconcile payouts and balance transactions, or (4) feed Stripe state into a non-Stripe system (CRM, accounting, outreach automation).

When NOT to Use This CLI (anti-triggers)

Do not use stripe-pp-cli for:

  • Live-mode bulk writes you have not audited. Mutating commands (POST/PUT/PATCH/DELETE) against an sk_live_... key are blocked by default with a clear error; pass --confirm-live (or set STRIPE_CONFIRM_LIVE=1) once you have audited the invocation. Prefer sk_test_... for development regardless.
  • In-person Terminal payments. terminal resource commands are present but Stripe Terminal SDK is not in scope. Use the Terminal iOS/Android SDK.
  • Stripe Issuing card management workflows. issuing commands are REST passthrough only; spending controls, dispute evidence packages not built. Use the Stripe Dashboard.
  • Stripe Tax registration. tax-rates CRUD only; jurisdiction registration not in scope. Use Stripe Tax in Dashboard.
  • Connect platform fan-out across many connected accounts. Single account at a time via Stripe-Account header. Multi-account loops via external script.
  • Local mock-server testing. Use stripe-mock directly via STRIPE_BASE_URL=http://localhost:12111.

Not Yet Wired (deferred to v0.2)

Area Status Workaround
Stripe Issuing (full workflow) endpoint passthrough only Use Stripe Dashboard
Stripe Terminal (in-person SDK) endpoint passthrough only Use Terminal SDK
Stripe Tax registration tax-rates CRUD only Use Stripe Tax in Dashboard
localstripe mock server out of scope Use stripe-mock via STRIPE_BASE_URL
Connect account fan-out single-account at a time External script loops

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Local state that compounds

  • health — Compute a 0-100 health score for one or many customers from local SQLite, factoring in failed-payment count, dispute history, MRR contribution, subscription status, and account age.

    Use this to feed customer-health signals into outreach, dunning, and renewal automation without burning hundreds of API calls per customer.

    stripe-pp-cli health cus_xyz --json --select score,failed_payments,mrr_contribution
    
  • dunning-queue — List invoices in past_due/uncollectible state ranked by days-overdue, with last failure reason and customer email pulled from the local store.

    When deciding which customers to follow up with about failed payments, this beats walking the Stripe dashboard or chaining 4+ API calls per row.

    stripe-pp-cli dunning-queue --json --select invoice,customer_email,days_overdue,last_failure_reason
    
  • sql — Run read-only SQLite queries against the local Stripe mirror. All synced data lives in a generic 'resources' table — query with json_extract(data, '$.field') and filter by resource_type.

    When a one-off question doesn't fit the canned commands, drop into SQL instead of writing a script that hits the API a thousand times.

    stripe-pp-cli sql "SELECT json_extract(data,'$.email') AS email, COUNT(*) AS active_subs FROM resources WHERE resource_type='subscriptions' AND json_extract(data,'$.status')='active' GROUP BY json_extract(data,'$.custome
    
Полный SKILL.md на GitHub

Установить pp-stripe в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-stripe?

Every Stripe feature, plus a local SQLite mirror with FTS, cross-entity SQL, and analytics no other Stripe tool ships. Trigger phrases: `stripe customer health`, `stripe dunning queue`, `stripe health`, `stripe payout reconcile`, `subs about to expire`, `use stripe-pp-cli`, `run stripe-pp-cli`.

Как установить скилл pp-stripe?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-stripe запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-stripe с