# Churn Analysis

> Analyzes Stripe subscription churn — cancellations, ended subs, voluntary vs involuntary signals, and period-over-period trends. Use when the user mentions "churn", "cancellations", "subs leaving", "retention", or "why are we losing subscribers". Pair with past-due-dunning for payment-driven churn.

- **Type:** Skill
- **Install:** `agentstack add skill-appeeky-stripe-skills-churn-analysis`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [appeeky](https://agentstack.voostack.com/s/appeeky)
- **Installs:** 0
- **Category:** [Finance & Payments](https://agentstack.voostack.com/c/finance-and-payments)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [appeeky](https://github.com/appeeky)
- **Source:** https://github.com/appeeky/stripe-skills/tree/main/skills/churn-analysis
- **Website:** https://www.appeeky.com/

## Install

```sh
agentstack add skill-appeeky-stripe-skills-churn-analysis
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Churn Analysis

## Stripe MCP Setup

Requires **Stripe MCP** connected via OAuth or restricted key. Docs: https://docs.stripe.com/mcp

1. `GetMcpTools` with `server: "user-Stripe"` (or `plugin-stripe-stripe`) before any call
2. Prefer `stripe_api_search` → `stripe_api_details` → `stripe_api_read` for list/retrieve
3. **Always paginate** — `limit: 100`, follow `has_more` with `starting_after`
4. Amounts are in **cents** unless noted
5. Never expose secret keys in output

## Workflow

1. **Snapshot** active + past_due counts (today) via `GetSubscriptions`
2. **Canceled in period** — list subscriptions with `status: canceled` created or canceled in window
   - Use `search_stripe_resources`: `subscriptions:status:"canceled"` (note 100 cap — supplement with API list + filter)
3. **Classify churn**

| Type | Signal |
|------|--------|
| Voluntary | `cancellation_details.reason`, user canceled, feedback |
| Involuntary | Was `past_due` → `canceled`, `invoice.payment_failed` |
| Payment method | Debit/prepaid + failed charges |

4. Retrieve sample canceled subs: `GetSubscriptionsSubscriptionExposedId` with expand `cancellation_details`

## Churn Rate (approximate)

```
Monthly churn % ≈ canceled_in_30d / (active_start + new_in_30d) × 100
```

Benchmark:  40% of churn.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [appeeky](https://github.com/appeeky)
- **Source:** [appeeky/stripe-skills](https://github.com/appeeky/stripe-skills)
- **License:** MIT
- **Homepage:** https://www.appeeky.com/

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-appeeky-stripe-skills-churn-analysis
- Seller: https://agentstack.voostack.com/s/appeeky
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
