Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

stripe-pulseStripe pulse 命令行

Agent Skill

stripe-pulse 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

214

周安装

9

GitHub Stars

41

下载量

75
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:stripe-pulse(Stripe pulse 命令行)
来源仓库:https://github.com/progrmoiz/stripe-pulse
仓库路径:skills/stripe-pulse
安装命令:
npx skills add https://github.com/progrmoiz/stripe-pulse --skill stripe-pulse
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/progrmoiz/stripe-pulse --skill stripe-pulse

简介

stripe-pulse 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适用于需要围绕仓库状态、代码变更或协作事项进行整理的场景。
  • 可在 Codex、Claude、Cursor、Gemini CLI 中调用,通过命令行工具集成。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

stripe-pulse — Stripe SaaS Metrics CLI

Get MRR, ARR, churn, LTV, NRR, quick ratio, MRR movements, reactivations — directly from Stripe subscriptions.

Install: npm install -g stripe-pulse Quick check: stripe-pulse mrr --json Everything at once: stripe-pulse dashboard --json

When to Use

  • User asks about MRR, revenue, churn, customers, or any SaaS metric
  • User asks about returning customers, reactivations, or win-backs
  • Updating pulse.md or state files that track MRR
  • Running freshness guards that check Stripe data
  • User wants to export metrics (CSV, markdown, JSON)
  • User says "check stripe", "what's our MRR", "how's churn looking", "any reactivations"
  • Comparing metrics across profiles/accounts

Quick Start

# First time: authenticate
stripe-pulse login

# Check MRR
stripe-pulse mrr --json
# → { "mrr": 392, "arr": 4704, "currency": "usd", "activeSubscriptions": 18, "breakdown": [...] }

# Full dashboard (most efficient — one call, all metrics)
stripe-pulse dashboard --json
# → { "mrr": ..., "churn": ..., "reactivatedCustomers": ..., "reactivations": [...], ... }

Authentication

Three-tier auth chain (highest priority wins):

  1. --api-key <key> flag on any command
  2. STRIPE_API_KEY environment variable
  3. Credentials file at ~/.config/stripe-pulse/credentials.json

Multi-account: stripe-pulse mrr --profile activecalculator --json

Supports full keys (sk_live_*, sk_test_*) and restricted keys (rk_live_*, rk_test_*).

Commands

Single Metrics

CommandReturnsKey Fields
mrr --jsonMRR + breakdownmrr, arr, activeSubscriptions, breakdown[]
arr --jsonAnnual run ratearr, mrr
customers --jsonCount by statusactiveSubscribers, trialingCustomers, pastDueCustomers
arpu --jsonAvg revenue/userarpu
ltv --jsonLifetime valueltv, avgLifespanMonths, monthlyChurnRate
plans --jsonRevenue by plan[{productName, mrr, subscriptionCount, interval}]
trials --jsonTrial conversionconversionRate, trialsStarted, trialsConverted

Period Metrics (default: last 30 days)

CommandReturnsKey Fields
churn --jsonCustomer churn %customerChurnRate, customersLost, reactivatedCustomers
revenue-churn --jsonRevenue churn %revenueChurnRate, mrrLost
nrr --jsonNet revenue retentionnrr, expansionMrr, churnedMrr
quick-ratio --jsonGrowth efficiencyquickRatio, reactivationMrr (>4 excellent, >1 healthy)
movements --jsonMRR waterfallnewMrr, expansionMrr, contractionMrr, churnedMrr, reactivationMrr, netNewMrr, reactivations[]

Period flags: --from 2026-01-01 --to 2026-01-31

Customer Lists

CommandReturnsKey Fields
new-customers --jsonNew in periodcount, reactivatedCount, reactivations[], customers[].email, .mrr
churned --jsonChurned in periodcount, customers[].email, .canceledAt
active --jsonAll active (by MRR desc)count, customers[].email, .mrr

Dashboard (All-in-One)

stripe-pulse dashboard --json

Returns every metric in one call: mrr, arr, activeSubscribers, arpu, customerChurnRate, revenueChurnRate, ltv, nrr, quickRatio, reactivatedCustomers, reactivations[], trialConversionRate, mrrByPlan[], currency, dataAsOf.

This is the most efficient call. Use it when you need multiple metrics — one API batch instead of many.

Auth & Diagnostics

CommandPurpose
loginSave Stripe API key (interactive)
login --key sk_xxx --profile nameNon-interactive login
logoutRemove credentials
switch <profile>Switch active profile
whoami --jsonShow profile, masked key, mode
doctor --jsonDiagnostic checks (version, node, API key, connection)

Global Flags

FlagEffect
--jsonForce JSON output
--profile <name>Use specific Stripe account
--api-key <key>Override API key for this request
--from <date>Period start (YYYY-MM-DD)
--to <date>Period end (YYYY-MM-DD)
--format csvCSV output (for export)
--format markdownMarkdown table (for docs/updates)
--verboseExtended output (reactivation details, extra context)
--chartASCII chart (MRR trend, plan bars)
--quietSuppress stderr, implies --json

Auto-JSON: When stdout is piped (non-TTY), JSON is automatic. No --json needed.

Reactivation Tracking

When a customer cancels and later resubscribes, Stripe creates a new subscription ID. stripe-pulse detects this by matching customer IDs across canceled and new subscriptions.

Classification rules:

  • Matches at the customer ID level (industry standard — same as Baremetrics, ChartMogul, ProfitWell)
  • Only paid reactivations count — free-tier returns are excluded (mrrCents > 0)
  • 24h minimum gap — cancel/resub within 24 hours is treated as a plan switch, not reactivation
  • One per customer — if a customer creates multiple new subs, only the most recent counts
  • Churn still counts — reactivation is a separate positive MRR movement, not a reversal

Quick Ratio formula: (New + Expansion + Reactivation) / (Churn + Contraction)

Where reactivation data appears:

CommandFields
dashboard --jsonreactivatedCustomers, reactivations[]
movements --jsonreactivationMrr, reactivations[]
churn --jsonreactivatedCustomers (netted from customersLost for same-period)
new-customers --jsonreactivatedCount, reactivations[] (filtered from customer list)
quick-ratio --jsonreactivationMrr (in numerator)

Reactivation detail object:

{
  "customerId": "cus_abc",
  "previousSubscriptionId": "sub_old",
  "newSubscriptionId": "sub_new",
  "canceledAt": "2026-01-15",
  "reactivatedAt": "2026-03-01",
  "mrrCents": 2900
}

Output Formats

# JSON (for parsing)
stripe-pulse mrr --json

# CSV (for spreadsheets)
stripe-pulse active --format csv > customers.csv

# Markdown (for investor updates)
stripe-pulse dashboard --format markdown

# Chart (MRR trend + movements waterfall)
stripe-pulse mrr --chart

Exit Codes

CodeMeaning
0Success
1API error (Stripe call failed)
2Auth error (no key, invalid key)
3Validation error (bad date, bad option)

Gotchas

  • Always use --json when parsing output. Human output has ANSI colors that break parsing. Piped stdout auto-switches to JSON.
  • dashboard --json is more efficient than individual commands. One parallel batch vs many sequential calls. Use it when you need 2+ metrics.
  • customers counts unique customers, mrr counts subscriptions. A customer with 2 subscriptions = 1 customer but 2 in activeSubscriptions.
  • Historical MRR (--chart) is approximate. Reconstructed from subscription timestamps using current pricing. Doesn't reflect past price changes.
  • Period defaults to last 30 days. Always pass --from/--to for specific periods.
  • Restricted keys work but show less info. Product names may show as price IDs if product read permission is missing.
  • Benchmark strings only appear in human output. JSON has raw numbers only — no "⚠ High" or "✓ Good" strings.
  • MRR breakdown is coupon-aware. Forever-duration discounts are distributed proportionally across plan items.
  • new-customers totalMrr vs movements newMrr can differ. new-customers counts all subs created in period (including already-canceled). movements only counts currently active ones.
  • Designed for early-stage SaaS (up to ~10,000 subscriptions). Under 500 subs: 2-3 seconds. 2,000+ subs: 15-30 seconds. No caching between commands.

Common Patterns

Get a single number

stripe-pulse mrr --json | jq .mrr
# → 392

Check if churn is concerning

stripe-pulse churn --json | jq '.customerChurnRate > 10'
# → true/false

Get churned customer emails

stripe-pulse churned --json | jq -r '.customers[].email'

Check for reactivations

stripe-pulse movements --json | jq '.reactivations'
# → [{ customerId, previousSubscriptionId, newSubscriptionId, canceledAt, reactivatedAt, mrrCents }]

stripe-pulse dashboard --json | jq '.reactivatedCustomers'
# → 2

Compare two accounts

stripe-pulse mrr --profile activecalculator --json | jq .mrr
stripe-pulse mrr --profile teamai --json | jq .mrr

Diagnose connection issues

stripe-pulse doctor --json | jq '.checks[] | select(.status == "fail")'

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35%
按下载量换算26

Claude

29.2%
按下载量换算22

Cursor

19.08%
按下载量换算14

Gemini CLI

8.56%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills